Skip to main content
Glama

MCP Atlassian

PyPI Version PyPI - Downloads PePy - Total Downloads Run Tests License Docs

面向 Atlassian 产品(Confluence 和 Jira)的 Model Context Protocol (MCP) 服务器。同时支持 Cloud 和 Server/Data Center 部署。

https://github.com/user-attachments/assets/35303504-14c6-4ae4-913b-7c25ea511c3e

https://github.com/user-attachments/assets/7fe9c488-ad0c-4876-9b54-120b666bb785

快速开始

1. 获取你的 API 令牌

前往 https://id.atlassian.com/manage-profile/security/api-tokens 创建令牌。

对于 Server/Data Center,请改用个人访问令牌。详细信息请参阅身份验证。

2. 配置你的 IDE

将以下内容添加到你的 Claude Desktop 或 Cursor MCP 配置中:

{
  "mcpServers": {
    "mcp-atlassian": {
      "command": "uvx",
      "args": ["mcp-atlassian"],
      "env": {
        "JIRA_URL": "https://your-company.atlassian.net",
        "JIRA_USERNAME": "your.email@company.com",
        "JIRA_API_TOKEN": "your_api_token",
        "CONFLUENCE_URL": "https://your-company.atlassian.net/wiki",
        "CONFLUENCE_USERNAME": "your.email@company.com",
        "CONFLUENCE_API_TOKEN": "your_api_token"
      }
    }
  }
}

Server/Data Center 用户:使用 JIRA_PERSONAL_TOKEN 代替 JIRA_USERNAME + JIRA_API_TOKEN。详细信息请参阅身份验证。

Autohand Code

使用相同的 uvx 服务器和你的 Atlassian 凭据:

autohand mcp add mcp-atlassian env \
  JIRA_URL=https://your-company.atlassian.net \
  JIRA_USERNAME=your.email@company.com \
  JIRA_API_TOKEN=your_api_token \
  CONFLUENCE_URL=https://your-company.atlassian.net/wiki \
  CONFLUENCE_USERNAME=your.email@company.com \
  CONFLUENCE_API_TOKEN=your_api_token \
  uvx mcp-atlassian

在 add 之后添加 --scope project,以将配置保留在当前项目中。有关当前的安装和 CLI 详细信息,请参阅Autohand Code。

3. 开始使用

你可以让你的 AI 助手:

  • “查找在 PROJ 项目中分配给我的问题”

  • “在 Confluence 中搜索入职文档”

  • “为登录问题创建缺陷单”

  • “将 PROJ-123 的状态更新为 Done”

Related MCP server: MCP Atlassian

文档

完整文档请参阅 mcp-atlassian.soomiles.com。

文档还提供 llms.txt 格式,方便 LLM 直接使用:

主题

描述

安装

uvx、Docker、pip、从源码安装

身份验证

API 令牌、PAT、OAuth 2.0

配置

IDE 配置、环境变量

HTTP 传输

SSE、streamable-http、多用户

工具参考

所有 Jira 与 Confluence 工具

故障排查

常见问题与调试

兼容性

产品

部署

支持情况

Confluence

Cloud

完全支持

Confluence

Server/Data Center

支持 (v6.0+)

Jira

Cloud

完全支持

Jira

Server/Data Center

支持 (v8.14+)

主要工具

Jira

Confluence

jira_search - 使用 JQL 搜索

confluence_search - 使用 CQL 搜索

jira_get_issue - 获取问题详情

confluence_get_page - 获取页面内容

jira_create_issue - 创建问题

confluence_create_page - 创建页面

jira_update_issue - 更新问题

confluence_update_page - 更新页面

jira_transition_issue - 更改状态

confluence_add_comment - 添加评论

共 98 个工具 — 完整列表请参阅工具参考。

安全

切勿共享 API 令牌。请确保 .env 文件的安全。参见 SECURITY.md。

贡献

开发环境设置请参见 CONTRIBUTING.md。

许可证

MIT — 参见 LICENSE。非 Atlassian 官方产品。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers