a2atlassian 标志

a2atlassian

组织
yoselabs

Give AI agents access to Jira and Confluence. Save credentials once, work from anywhere.

发布者yoselabs
代码仓库a2atlassian
语言Python
复刻数
0
星标数
0
可用工具
10
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    a2atlassian 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 10 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 0 个 Star 和 0 个 Fork。


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 a2atlassian and you're done
  • Pre-configured connections — define projects in .mcp.json with --register, agent works immediately
  • Read-only by default — write access is opt-in per connection
  • Connection scoping — --scope limits 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: full Jira surface (issues, comments, sprints, boards, worklogs, links, versions, fields, watchers, projects) and Confluence core (pages CRUD, search, metadata-only writes).

Quick Start

bash
# 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):

bash
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):

bash
claude mcp add -s user a2atlassian -- uvx --from a2atlassian a2atlassian-mcp

Claude Desktop / Cursor / any MCP client (.mcp.json):

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:

json
{
  "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):

json
{
  "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

bash
# Save a connection (validates by calling /myself)
a2atlassian login -c myproject \
  --url https://mysite.atlassian.net \
  --email user@company.com \
  --token "$ATLASSIAN_TOKEN"

# Same, pulling the token from 1Password via `op`
a2atlassian login -c myproject \
  --url https://mysite.atlassian.net \
  --email user@company.com \
  --token "op://Personal/Atlassian/token"

# Enable writes
a2atlassian login -c myproject \
  --url https://mysite.atlassian.net \
  --email user@company.com \
  --token "$ATLASSIAN_TOKEN" \
  --no-read-only

# List / remove connections
a2atlassian connections
a2atlassian logout -c myproject

Tokens accept three forms: literal value, ${ENV_VAR} reference, or op://vault/item/field (resolved via the 1Password CLI at runtime).

MCP Tools

Connection Management

ToolDescription
loginSave a connection — validates by calling /myself first
logoutRemove a saved connection
list_connectionsList connections (no secrets exposed)

Jira — Read

ToolDescription
jira_get_issueGet issue by key — full fields, status, assignee
jira_searchSearch by JQL with pagination — compact TSV output by default
jira_search_countCount-only JQL — cheap pre-check for "is this going to be huge?"
jira_search_fieldsDiscover custom-field IDs by name
jira_get_field_optionsList allowed values for a select / multi-select field
jira_get_commentsGet all comments for an issue
jira_get_worklogsGet all worklogs for an issue
jira_get_transitionsDiscover available status transitions
jira_get_link_typesList available issue-link types
jira_get_watchersList watchers for an issue
jira_get_projectsList projects accessible to the connection
jira_get_project_metadataFetch creation metadata (issue types, required fields)
jira_get_user_profileResolve an email/accountId to a full user profile
jira_get_boardsList agile boards in a project
jira_get_board_issuesIssues on a board (paginated)
jira_get_sprintsList sprints on a board
jira_get_sprint_issuesIssues in a sprint (paginated)

Jira — Write (requires read-write connection)

ToolDescription
jira_create_issueCreate a new issue
jira_update_issueUpdate fields on an existing issue
jira_delete_issueDelete an issue
jira_transition_issueMove issue to a new status
jira_add_commentAdd comment (wiki markup, API v2)
jira_edit_commentUpdate existing comment
jira_add_worklogLog time on an issue
jira_create_issue_linkLink two issues
jira_remove_issue_linkRemove an issue link
jira_set_watchersReplace the watcher set on an issue
jira_create_sprintCreate a sprint on a board
jira_update_sprintUpdate sprint state / dates
jira_add_issues_to_sprintMove issues into a sprint
jira_create_versionCreate a project version

Confluence — Read

ToolDescription
confluence_get_pageFetch a page by id (body storage, version, space)
confluence_get_page_childrenList direct children of a page (paginated)
confluence_searchCQL search; minimal per-match rows

Confluence — Write (requires read-write connection)

ToolDescription
confluence_upsert_pagesBatch create-or-update with preserve-on-omit body semantics + per-page status + partial-failure shape
confluence_set_page_propertiesMetadata-only write (page_width, emoji, labels) — physically cannot touch body or title

Output Formats

All tools accept a format parameter:

FormatDefault forDescription
toonLists (search, comments)TSV with header — shape once, data many. 30-60% fewer tokens than JSON
jsonSingle 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):

json
{
  "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_connections shows project name, URL, and mode — never tokens
  • Ephemeral mode — --register keeps credentials in memory only, never written to disk

Connection Scoping

Use --scope to limit which saved connections a specific MCP instance can access:

bash
# 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

Featurea2atlassianRovo (official)sooperset/mcp-atlassian
Setuppip installOAuth + DockerDocker + .env + mcp-remote
Tools in context~35 (loaded on demand)~72~72
Connection managementTOML + --register + --scopePer-session OAuth.env file
Multi-projectYes (scoped)NoOne .env per setup
Read-only defaultYes (per-connection)NoNo
Output formatTSV + JSONJSONJSON
Error enrichmentField suggestions, quirk fixesGeneric errorsGeneric errors
Quirk handlingAuto-fix (assignee, parent)Documented workaroundsDocumented workarounds
Rate limitingBuilt-in retryNoNo
CLIYesNoNo
LicenseApache 2.0ProprietaryMIT

Roadmap

Shipped: Jira full surface (v0.3.0) · Confluence core + markdown-to-storage with full CommonMark + GFM fidelity (v0.4.0, v0.5.2) · 1Password op:// token refs (v0.5.1) · metadata-only Confluence writes + preserve-on-omit body semantics (v0.5.2).

Next: confluence_delete_page, Confluence comments + attachments, Confluence integration-test path. Backlog in TODO.md.

Setup by Environment

Local (macOS / Linux)

bash
# 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

bash
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

bash
make bootstrap   # Install deps + pnpm + git hooks
make check       # Lint + test + coverage-diff + security (full gate)
make test        # Tests with coverage
make lint        # agent-harness + jscpd + actionlint (never modifies files)
make fix         # Auto-fix + lint
make similar     # Advisory: report similarly-named functions/classes

Linters: ruff + ty (via agent-harness), yamllint, jscpd (copy-paste detection via pnpm), actionlint (GitHub Actions workflows). Pre-commit hooks run agent-harness fix + lint on every commit. Install pnpm and actionlint via brew install pnpm actionlint.

License

Apache 2.0


安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "a2atlassian": {
      "command": "uvx",
      "args": [
        "--from",
        "a2atlassian",
        "a2atlassian-mcp"
      ],
      "env": {
        "ATLASSIAN_TOKEN": "your-api-token-here"
      }
    }
  }
}

可用工具

  • login

    Save a connection - validates by calling /myself first

  • logout

    Remove a saved connection

  • list_connections

    List connections (no secrets exposed)

  • 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_add_comment

    Add comment (wiki markup, API v2) - requires read-write connection

  • jira_edit_comment

    Update existing comment - requires read-write connection

  • jira_transition_issue

    Move issue to new status - requires read-write connection

将 a2atlassian MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 a2atlassian 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 a2atlassian 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 a2atlassian MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "a2atlassian": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 a2atlassian MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 a2atlassian MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 a2atlassian 帮我完成这项任务吗?
a2atlassian
当然。我已阅读。
以下是我使用 a2atlassian 得到的结果。

常见问题

a2atlassian MCP 服务器有什么用途?

a2atlassian 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 a2atlassian MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 a2atlassian,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 a2atlassian MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 a2atlassian 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 a2atlassian MCP 连接到 TypingMind?

a2atlassian 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

a2atlassian MCP 在 TypingMind 中提供哪些工具?

a2atlassian 提供 10 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 a2atlassian MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 a2atlassian 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇