jira-mcp
This MCP server enables interaction with Atlassian products (Jira and Confluence), with additional tools for uploading attachments, embedding images, and commenting with images. It supports both Cloud and Server/Data Center deployments.
README
MCP Atlassian
Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Supports both Cloud and Server/Data Center deployments.
https://github.com/user-attachments/assets/35303504-14c6-4ae4-913b-7c25ea511c3e
<details> <summary>Confluence Demo</summary>
https://github.com/user-attachments/assets/7fe9c488-ad0c-4876-9b54-120b666bb785
</details>
本機修改版連線指南(zh-TW)
這是基於 sooperset/mcp-atlassian 的本機修改版, 額外新增 4 個 Jira 圖片/附件工具(上游沒有):
工具 用途 jira_upload_attachment上傳附件(本機路徑或 base64) jira_embed_image_in_description上傳圖片並嵌入描述內文渲染,支援 append/prepend/marker三種定位(marker 模式可把圖放進表格儲存格)jira_add_comment_with_image新增留言並內嵌圖片 jira_delete_attachment刪除附件(用 attachment id 或 issue+檔名)
A. 第一次連 MCP(從零開始)
1. 取得 Jira API Token
到 https://id.atlassian.com/manage-profile/security/api-tokens 按「Create API token」, 複製產生的 token(只會顯示一次)。
2. 安裝 uv 與專案依賴
# 安裝 uv(已安裝可跳過)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 取得本專案並安裝依賴
git clone <本 repo 位址> ~/jira-mcp # 或放任何路徑
cd ~/jira-mcp
uv sync
3. 設定 Claude Desktop
編輯設定檔(沒有就新建):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-atlassian": {
"command": "uv",
"args": [
"--directory",
"/你的絕對路徑/jira-mcp",
"run",
"mcp-atlassian"
],
"env": {
"JIRA_URL": "https://your-company.atlassian.net",
"JIRA_USERNAME": "your.email@company.com",
"JIRA_API_TOKEN": "你的 API token"
}
}
}
}
注意事項:
--directory後面要填本 repo 的絕對路徑(不能用~)- 若
uv不在系統 PATH,command請填完整路徑(用which uv查,通常是~/.local/bin/uv,要展開成絕對路徑) - token 一律放在設定檔的
env區,不要寫進任何會 commit 的檔案 - 也要用 Confluence 的話,在
env加上CONFLUENCE_URL(https://your-company.atlassian.net/wiki)、CONFLUENCE_USERNAME、CONFLUENCE_API_TOKEN
4. 重啟並驗證
完全結束 Claude Desktop(macOS 按 Cmd+Q,不是只關視窗)再重開。 對 Claude 說「列出我在 Jira 的專案」,有正常回應即連線成功; 說「把某張本機圖片嵌入某張票的描述」可驗證本修改版專屬工具。
B. 從官方發佈版(uvx / Docker)切換到本修改版
如果你原本已經照官方 README 用 uvx mcp-atlassian 或 Docker 跑,
只需要改 command / args 兩個欄位,env 整段保留不動:
{
"mcpServers": {
"mcp-atlassian": {
- "command": "uvx",
- "args": ["mcp-atlassian"],
+ "command": "uv",
+ "args": [
+ "--directory",
+ "/你的絕對路徑/jira-mcp",
+ "run",
+ "mcp-atlassian"
+ ],
"env": {
"JIRA_URL": "https://your-company.atlassian.net",
"JIRA_USERNAME": "your.email@company.com",
"JIRA_API_TOKEN": "your_api_token"
}
}
}
}
Docker 版同理:把整個 command/args 換成上面 uv --directory ... run mcp-atlassian 的形式即可。
差異說明:
uvx mcp-atlassian跑的是 PyPI 上的官方發佈版,沒有本修改版的 4 個圖片/附件工具uv --directory <路徑> run mcp-atlassian跑的是這個資料夾裡的原始碼,改完程式碼後重啟 Claude Desktop 就生效,不需要重新安裝- 想換回官方版,把
command/args改回原樣即可,隨時可逆
改完設定後一樣要完全重啟 Claude Desktop 才會生效。
Quick Start
1. Get Your API Token
Go to https://id.atlassian.com/manage-profile/security/api-tokens and create a token.
For Server/Data Center, use a Personal Access Token instead. See Authentication.
2. Configure Your IDE
Add to your Claude Desktop or Cursor MCP configuration:
{
"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 users: Use
JIRA_PERSONAL_TOKENinstead ofJIRA_USERNAME+JIRA_API_TOKEN. See Authentication for details.
3. Start Using
Ask your AI assistant to:
- "Find issues assigned to me in PROJ project"
- "Search Confluence for onboarding docs"
- "Create a bug ticket for the login issue"
- "Update the status of PROJ-123 to Done"
Documentation
Full documentation is available at mcp-atlassian.soomiles.com.
Documentation is also available in llms.txt format, which LLMs can consume easily:
llms.txt— documentation sitemapllms-full.txt— complete documentation
| Topic | Description |
|---|---|
| Installation | uvx, Docker, pip, from source |
| Authentication | API tokens, PAT, OAuth 2.0 |
| Configuration | IDE setup, environment variables |
| HTTP Transport | SSE, streamable-http, multi-user |
| Tools Reference | All Jira & Confluence tools |
| Troubleshooting | Common issues & debugging |
Compatibility
| Product | Deployment | Support |
|---|---|---|
| Confluence | Cloud | Fully supported |
| Confluence | Server/Data Center | Supported (v6.0+) |
| Jira | Cloud | Fully supported |
| Jira | Server/Data Center | Supported (v8.14+) |
Key Tools
| Jira | Confluence |
|---|---|
jira_search - Search with JQL |
confluence_search - Search with CQL |
jira_get_issue - Get issue details |
confluence_get_page - Get page content |
jira_create_issue - Create issues |
confluence_create_page - Create pages |
jira_update_issue - Update issues |
confluence_update_page - Update pages |
jira_transition_issue - Change status |
confluence_add_comment - Add comments |
72 tools total — See Tools Reference for the complete list.
Security
Never share API tokens. Keep .env files secure. See SECURITY.md.
Contributing
See CONTRIBUTING.md for development setup.
License
MIT - See LICENSE. Not an official Atlassian product.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。