Agent-to-Atlassian — CLI and MCP server for AI agents to work with Jira & Confluence.
Project description
🏢 a2atlassian
Agent-to-Atlassian
Give AI agents access to Jira and Confluence. Save credentials once, work from anywhere.
Jira + Confluence · read-only by default · pre-configured connections · compact TSV output
Quick Start · MCP Tools · Security · Comparison · Setup
Agent: "What's the status of PROJ-42? Add a comment with the progress update."
↓
a2atlassian → get issue, add comment, transition to In Progress
↓
Agent: "Done — PROJ-42 updated and moved to In Progress."
Why a2atlassian?
Existing Atlassian MCP servers (Rovo, sooperset) require Docker, .env files, and mcp-remote bridges. They dump 72 tools into agent context and have known quirks that silently fail. a2atlassian fixes all of that:
- No Docker —
pip install a2atlassianand you're done - Pre-configured connections — define projects in
.mcp.jsonwith--register, agent works immediately - Read-only by default — write access is opt-in per connection
- Connection scoping —
--scopelimits which projects an agent can see - Compact output — TSV for lists (30-60% fewer tokens), JSON for single entities
- Dynamic tool loading — MCP clients that support deferred tools (e.g., Claude Code) load tools on demand, keeping context lean
- Error enrichment — bad field names get suggestions, JQL typos get corrections, quirks get auto-fixed
- Secrets stay in env —
${ATLASSIAN_TOKEN}in configs, expanded only at runtime
Scope today: a2atlassian ships Jira and Confluence tools. Confluence support shipped in v0.4.0.
Quick Start
# Recommended — installs globally as a CLI tool
uv tool install a2atlassian
# Or with pip
pip install a2atlassian
As an MCP Server (recommended)
Claude Code (with pre-configured connection):
claude mcp add -s user a2atlassian -- uvx --from a2atlassian a2atlassian-mcp \
--register myproject https://mysite.atlassian.net user@company.com '${ATLASSIAN_TOKEN}'
Claude Code (minimal — agent calls login on demand):
claude mcp add -s user a2atlassian -- uvx --from a2atlassian a2atlassian-mcp
Claude Desktop / Cursor / any MCP client (.mcp.json):
{
"mcpServers": {
"a2atlassian": {
"command": "uvx",
"args": [
"--from", "a2atlassian", "a2atlassian-mcp",
"--register", "myproject", "https://mysite.atlassian.net",
"user@company.com", "${ATLASSIAN_TOKEN}"
],
"env": {
"ATLASSIAN_TOKEN": "your-api-token-here"
}
}
}
}
Multiple projects:
{
"args": [
"--from", "a2atlassian", "a2atlassian-mcp",
"--register", "myproject", "https://mysite.atlassian.net", "user@a.com", "${TOKEN_A}",
"--register", "personal", "https://personal.atlassian.net", "user@b.com", "${TOKEN_B}"
]
}
Scoped connections (limit agent to specific saved projects):
{
"args": ["--from", "a2atlassian", "a2atlassian-mcp", "--scope", "myproject"]
}
--register creates ephemeral in-memory connections (process lifetime, no files written). --scope filters which saved connections are visible. Both limit blast radius.
As a CLI
# Save a connection (validates by calling /myself)
a2atlassian login -p myproject \
--url https://mysite.atlassian.net \
--email user@company.com \
--token "$ATLASSIAN_TOKEN"
# Enable writes
a2atlassian login -p myproject \
--url https://mysite.atlassian.net \
--email user@company.com \
--token "$ATLASSIAN_TOKEN" \
--no-read-only
# List / remove connections
a2atlassian connections
a2atlassian logout -p myproject
MCP Tools
Connection Management
| Tool | Description |
|---|---|
login |
Save a connection — validates by calling /myself first |
logout |
Remove a saved connection |
list_connections |
List connections (no secrets exposed) |
Jira — Read
| Tool | Description |
|---|---|
jira_get_issue |
Get issue by key — full fields, status, assignee |
jira_search |
Search by JQL with pagination — compact TSV output by default |
jira_get_comments |
Get all comments for an issue |
jira_get_transitions |
Discover available status transitions |
Jira — Write (requires read-write connection)
| Tool | Description |
|---|---|
jira_add_comment |
Add comment (wiki markup, API v2) |
jira_edit_comment |
Update existing comment |
jira_transition_issue |
Move issue to new status |
Confluence tools
| Tool | Purpose |
|---|---|
| confluence_get_page | Fetch a page by id (body storage, version, space) |
| confluence_get_page_children | List direct children of a page (paginated) |
| confluence_search | CQL search; minimal per-match rows |
| confluence_upsert_pages | Batch create-or-update with per-page status + partial-failure shape |
Output Formats
All tools accept a format parameter:
| Format | Default for | Description |
|---|---|---|
toon |
Lists (search, comments) | TSV with header — shape once, data many. 30-60% fewer tokens than JSON |
json |
Single entities (get_issue) | Standard JSON with metadata envelope |
List responses use a compact TSV-style format (header row + tab-separated values) inspired by TOON. This is the same approach a2db uses — column names appear once, then just values. For a 50-issue search result, this typically saves 40-60% of tokens compared to JSON.
TSV example (search results):
# search (23 results, 50ms, truncated: False)
key summary assignee status
PROJ-142 Fix auth timeout Alice Smith In Progress
PROJ-141 Add search filters Bob Jones To Do
JSON example (single issue):
{
"data": {"key": "PROJ-142", "fields": {"summary": "Fix auth timeout", ...}},
"count": 1,
"truncated": false,
"time_ms": 85
}
Error Enrichment
When something fails, a2atlassian tells the agent what to do:
Field 'asignee' does not exist
Did you mean: assignee?
Connection 'myproject' is read-only.
Run: a2atlassian login -p myproject --read-only false
Quirks handled automatically:
- Assignee requires display name (not
712020:account IDs) — auto-detected with hint - Parent field must be plain string —
{"key": "PROJ-14"}normalized to"PROJ-14"silently - Issue type conversion not supported via API — clear Jira UI instructions provided
Security
Read-Only by Default
Every connection starts read-only. Write tools check the connection flag before executing:
Connection 'myproject' is read-only.
Re-run 'a2atlassian login -p myproject --read-only false' to enable writes.
The human operator controls write access — not the agent.
Credential Storage
Connections saved via login go to ~/.config/a2atlassian/connections/ as TOML files:
- File permissions:
0600(owner read/write only) ${ATLASSIAN_TOKEN}syntax — env var references stored literally, expanded at runtime- No secrets in output —
list_connectionsshows project name, URL, and mode — never tokens - Ephemeral mode —
--registerkeeps credentials in memory only, never written to disk
Connection Scoping
Use --scope to limit which saved connections a specific MCP instance can access:
# Project config — only myproject visible, even if other connections are saved
uvx --from a2atlassian a2atlassian-mcp --scope myproject
Project-level MCP configs (.claude/mcp.json) override global configs — each repo sees only its own connections.
Rate Limiting
Built-in retry with exponential backoff for Atlassian's rate limits (429) and transient server errors (500). Two retries at 1s and 3s intervals before surfacing the error.
Comparison
| Feature | a2atlassian | Rovo (official) | sooperset/mcp-atlassian |
|---|---|---|---|
| Setup | pip install |
OAuth + Docker | Docker + .env + mcp-remote |
| Tools in context | 10 (Phase 1) | ~72 | ~72 |
| Connection management | TOML + --register + --scope |
Per-session OAuth | .env file |
| Multi-project | Yes (scoped) | No | One .env per setup |
| Read-only default | Yes (per-connection) | No | No |
| Output format | TSV + JSON | JSON | JSON |
| Error enrichment | Field suggestions, quirk fixes | Generic errors | Generic errors |
| Quirk handling | Auto-fix (assignee, parent) | Documented workarounds | Documented workarounds |
| Rate limiting | Built-in retry | No | No |
| CLI | Yes | No | No |
| License | Apache 2.0 | Proprietary | MIT |
Roadmap
Phase 1 (current): Jira core — get/search issues, comments (CRUD), transitions. The secondary critical path.
Phase 2: Full Jira surface — sprints, boards, links, projects, fields, worklogs, attachments, watchers.
Phase 3: Confluence — pages, comments, attachments, labels, search.
Setup by Environment
Local (macOS / Linux)
# Recommended
uv tool install a2atlassian
# Or with pip
pip install a2atlassian
# CLI
a2atlassian login -p myproject --url https://mysite.atlassian.net --email me@co.com --token "$TOKEN"
# Or add as MCP server (see Quick Start)
CI / Automation
uv tool install a2atlassian
# Pre-configured — no login needed
uvx --from a2atlassian a2atlassian-mcp --register ci https://mysite.atlassian.net ci-user@co.com "${CI_ATLASSIAN_TOKEN}"
Development
make bootstrap # Install deps + hooks
make check # Lint + test + security (full gate)
make test # Tests with coverage
make lint # Lint only (never modifies files)
make fix # Auto-fix + lint
License
Apache 2.0
🏢 Agent-first Atlassian access since 2025.
Built by Denis Tomilin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a2atlassian-0.5.1.tar.gz.
File metadata
- Download URL: a2atlassian-0.5.1.tar.gz
- Upload date:
- Size: 226.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c2d0de49af033c9fa4b8ce2d3e421cdba77a9742845b017b6052dd3ad77d9a7
|
|
| MD5 |
9f1bb2adee363357610684fccf69a1ea
|
|
| BLAKE2b-256 |
51483d50bf5f7c1c485dd56f0387a9c9d55bd8f03a5225bf324b09189357845d
|
Provenance
The following attestation bundles were made for a2atlassian-0.5.1.tar.gz:
Publisher:
publish.yml on yoselabs/a2atlassian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2atlassian-0.5.1.tar.gz -
Subject digest:
0c2d0de49af033c9fa4b8ce2d3e421cdba77a9742845b017b6052dd3ad77d9a7 - Sigstore transparency entry: 1361075888
- Sigstore integration time:
-
Permalink:
yoselabs/a2atlassian@45ea25c85aaeae91d26a6994c9c186f209a8d2ef -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/yoselabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@45ea25c85aaeae91d26a6994c9c186f209a8d2ef -
Trigger Event:
push
-
Statement type:
File details
Details for the file a2atlassian-0.5.1-py3-none-any.whl.
File metadata
- Download URL: a2atlassian-0.5.1-py3-none-any.whl
- Upload date:
- Size: 54.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49a23843863fbee03b5da3698887c3f0895a987b7a16426a7c9ef5a976cf703f
|
|
| MD5 |
7800415887c601282e0a57147194c4e7
|
|
| BLAKE2b-256 |
e93280472a28fcdc912339b6d9413a2c6b30585e3b5dd3534eeb1cd5183e93e1
|
Provenance
The following attestation bundles were made for a2atlassian-0.5.1-py3-none-any.whl:
Publisher:
publish.yml on yoselabs/a2atlassian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a2atlassian-0.5.1-py3-none-any.whl -
Subject digest:
49a23843863fbee03b5da3698887c3f0895a987b7a16426a7c9ef5a976cf703f - Sigstore transparency entry: 1361075905
- Sigstore integration time:
-
Permalink:
yoselabs/a2atlassian@45ea25c85aaeae91d26a6994c9c186f209a8d2ef -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/yoselabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@45ea25c85aaeae91d26a6994c9c186f209a8d2ef -
Trigger Event:
push
-
Statement type: