Atlassian MCP Server
Enables AI assistants to interact with Atlassian Cloud (Jira, Confluence, Bitbucket) through natural language, providing CRUD operations for issues, pages, pull requests, and more.
README
🔗 Atlassian MCP Server
An MCP (Model Context Protocol) server that gives AI assistants full access to Jira, Confluence, and Bitbucket Cloud APIs -- 86 tools covering deep CRUD across all three products.
What It Does
This server acts as a bridge between any MCP-compatible AI client (Claude Desktop, etc.) and your Atlassian Cloud instance. Instead of switching between browser tabs, you ask your AI assistant to search Confluence, create Jira tickets, review pull requests, and more -- all through natural language.
Key Features
- Confluence (20 tools) -- Search, create, read, update, and delete pages. Manage spaces, child pages, comments (full CRUD), attachments, labels, and version history. Input accepts Markdown (auto-converted to ADF); output is native ADF JSON.
- Jira (49 tools) -- Full issue lifecycle: search, CRUD, comments, transitions, attachments, issue links, worklogs, watchers, subtasks, labels, history, agile boards, sprints (incl. moving issues into a sprint), versions, batch creation (up to 50 issues), dev status, epic linking, and user lookup.
- Bitbucket (17 tools) -- Repository management, branches, commits, pull requests (create/update/list), PR comments with resolve/unresolve, and issue tracking.
- Smart Field Handling -- AI-driven field suggestions during Jira transitions. Analyzes issue context to auto-suggest values for required fields (e.g., DB scripts, test cases), reducing manual input.
- Snapshot Safety Net -- Automatic local snapshots of mutating operations (create/update/delete) with configurable retention, so you can recover from accidental changes.
Prerequisites
- Node.js >= 18
- Atlassian Cloud account(s) with API tokens
- An MCP-compatible client (e.g., Claude Desktop)
Installation
From npm (recommended)
npm install -g @jagadeesh52423/atlassian-mcp-server
Or run without installing:
npx @jagadeesh52423/atlassian-mcp-server
From source
git clone https://github.com/jagadeeshpulamarasetti/atlassian-mcp-server.git
cd atlassian-mcp-server
npm install
npm run build
Configuration
1. Set environment variables
Copy the template and fill in your credentials:
cp .env.example .env
# Confluence
CONFLUENCE_DOMAIN=your-domain.atlassian.net
CONFLUENCE_EMAIL=your-email@example.com
CONFLUENCE_API_TOKEN=your-confluence-api-token
# Jira
JIRA_DOMAIN=your-domain.atlassian.net
JIRA_EMAIL=your-email@example.com
JIRA_API_TOKEN=your-jira-api-token
# Bitbucket
BITBUCKET_WORKSPACE=your-workspace
BITBUCKET_USERNAME=your-username
BITBUCKET_API_TOKEN=your-bitbucket-api-token
You can also set legacy ATLASSIAN_* variables as a fallback for Confluence and Jira. Bitbucket always requires its own credentials.
<details> <summary>Optional: Jira OAuth and Snapshot settings</summary>
# Jira OAuth (advanced auth)
JIRA_CLIENT_ID=your-client-id
JIRA_CLIENT_SECRET=your-client-secret
# Snapshot safety net (defaults shown)
MCP_SNAPSHOTS_ENABLED=true
MCP_SNAPSHOT_DIR=~/.atlassian-mcp-snapshots
MCP_SNAPSHOT_RETENTION_DAYS=30
</details>
2. Get an API token
- Go to Atlassian API Tokens
- Click Create API token, give it a name, and copy the value
- For Bitbucket, create a token under Personal settings > Access tokens with repo, issue, and PR scopes
Usage
Running the server
# Global install
atlassian-mcp-server
# From source
npm start
# Development (auto-reload)
npm run dev
Claude Desktop integration
Add one of the following to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"atlassian": {
"command": "npx",
"args": ["-y", "@jagadeesh52423/atlassian-mcp-server"],
"env": {
"CONFLUENCE_DOMAIN": "your-domain.atlassian.net",
"CONFLUENCE_EMAIL": "your-email@example.com",
"CONFLUENCE_API_TOKEN": "your-token",
"JIRA_DOMAIN": "your-domain.atlassian.net",
"JIRA_EMAIL": "your-email@example.com",
"JIRA_API_TOKEN": "your-token",
"BITBUCKET_WORKSPACE": "your-workspace",
"BITBUCKET_USERNAME": "your-username",
"BITBUCKET_API_TOKEN": "your-token"
}
}
}
}
<details> <summary>Alternative: global install or from-source config</summary>
Global install:
{
"mcpServers": {
"atlassian": {
"command": "atlassian-mcp-server",
"env": { "..." : "same env vars as above" }
}
}
}
From source:
{
"mcpServers": {
"atlassian": {
"command": "node",
"args": ["/path/to/atlassian-mcp-server/dist/index.js"]
}
}
}
</details>
Available Tools
Confluence (20 tools)
| Tool | Description |
|---|---|
confluence_search_pages |
Search pages via CQL text query |
confluence_get_page |
Get a page by ID (returns ADF JSON body) |
confluence_create_page |
Create a page (accepts Markdown) |
confluence_update_page |
Update a page (accepts Markdown) |
confluence_delete_page |
Delete a page |
confluence_get_spaces |
List all spaces |
confluence_get_pages_by_space |
Get pages in a space |
confluence_get_page_children |
Get child pages |
confluence_get_page_history |
Get page version history |
confluence_get_attachments |
List page attachments |
confluence_add_attachment |
Upload an attachment |
confluence_delete_attachment |
Delete an attachment |
confluence_get_comments |
Get footer and/or inline comments (ADF JSON). commentType: footer | inline | all (default all) |
confluence_add_comment |
Add a comment (Markdown) |
confluence_update_comment |
Update a comment (Markdown) |
confluence_delete_comment |
Delete a comment |
confluence_get_labels |
Get page labels |
confluence_add_labels |
Add labels to a page |
confluence_remove_label |
Remove a label |
Jira (49 tools)
| Category | Tools |
|---|---|
| Core | search_issues, get_issue, create_issue, update_issue, delete_issue, get_projects, get_issue_types, get_fields, lookup_user |
| Comments | add_comment, get_comments, update_comment, delete_comment |
| Transitions | get_issue_transitions, transition_issue, transition_issue_interactive (smart field handling) |
| Attachments | get_attachments, add_attachment, delete_attachment |
| Issue Links | get_issue_links, create_issue_link, delete_issue_link, get_link_types |
| Worklogs | get_worklogs, add_worklog, update_worklog, delete_worklog |
| Watchers | get_watchers, add_watcher, remove_watcher |
| Subtasks | get_subtasks, create_subtask |
| Labels | get_labels, add_labels, remove_labels |
| History | get_issue_history |
| Agile | get_agile_boards, get_board_issues, get_sprints, get_sprint_issues, create_sprint, update_sprint, move_issues_to_sprint |
| Versions | get_project_versions, create_version, update_version |
| Batch/Dev | batch_create_issues, get_dev_status |
| Epic | link_to_epic |
All Jira tools are prefixed with jira_.
Bitbucket (17 tools)
| Tool | Description |
|---|---|
bitbucket_get_repositories |
List workspace repositories |
bitbucket_get_repository |
Get repository details |
bitbucket_create_repository |
Create a repository |
bitbucket_get_pull_requests |
List pull requests |
bitbucket_get_pull_request |
Get a PR with diff |
bitbucket_create_pull_request |
Create a pull request |
bitbucket_update_pull_request |
Update a pull request |
bitbucket_get_branches |
List branches |
bitbucket_get_commits |
List commits |
bitbucket_get_issues |
List repository issues |
bitbucket_create_issue |
Create an issue |
bitbucket_get_pr_comments |
Get PR comments |
bitbucket_add_pr_comment |
Add a PR comment |
bitbucket_update_pr_comment |
Update a PR comment |
bitbucket_delete_pr_comment |
Delete a PR comment |
bitbucket_resolve_pr_comment |
Mark a PR comment thread as resolved |
bitbucket_unresolve_pr_comment |
Reopen (unresolve) a PR comment thread |
PR comment resolution (v1.3.0+)
bitbucket_resolve_pr_comment/bitbucket_unresolve_pr_commentuse Bitbucket's dedicated resolution sub-resource (POST/DELETE .../comments/{id}/resolve) and return the refreshed comment.- Top-level comments only -- Bitbucket only allows resolving/unresolving top-level review comments, not replies. Calling these on a reply returns
Comment is not a top-level comment. - Comments returned by
bitbucket_get_pr_comments,bitbucket_resolve_pr_comment, andbitbucket_unresolve_pr_commentnow include aresolvedboolean. When a comment is resolved, the single-comment responses also includeresolvedOn(ISO timestamp) andresolvedBy(display name); these resolution details are not present in the bulk list response.
Confluence Content Format (v1.2.0+)
Confluence pages and comments use ADF (Atlassian Document Format) natively:
- Input --
create_page,update_page,add_comment,update_commentaccept Markdown, which the server converts to ADF using the official@atlaskit/editor-markdown-transformer. - Output --
get_page,get_commentsreturn ADF JSON (an object, not a string). - Comments --
get_commentsreturns both footer (page-level) and inline (text-anchored) comments by default. Use thecommentTypeparam (footer|inline|all, defaultall) to filter. Every comment carries atypefield ("footer"or"inline"). Inline comments additionally includeanchoredText(the highlighted page text the comment is attached to),resolutionStatus(e.g."open","resolved"),markerRef, andwebuiLink. Backwards-compatibility note: callers that previously relied onget_commentsreturning footer comments only will now also receive inline comments under the defaultall; passcommentType: "footer"to restore the old footer-only behaviour. The newtypefield is additive and does not remove any existing field. - Inline images -- Not currently supported via ADF media nodes (requires Atlassian Media API tokens). Use
confluence_add_attachmentinstead.
Project Structure
src/
├── index.ts # Server entry point and tool routing
├── config.ts # Environment variable loading and validation
├── types.ts # TypeScript interfaces
├── constants.ts # Shared constants
├── error-handler.ts # Structured error responses
├── formatters/ # Markdown-to-ADF and ADF-to-text converters
├── clients/ # HTTP clients (one per Atlassian product)
├── services/ # Business logic for each product
│ └── jira/ # Jira sub-modules (agile, comments, transitions, etc.)
├── handlers/ # MCP request handlers
├── tools/ # MCP tool definitions (schemas)
├── registry/ # Tool dispatch registry
└── snapshot/ # Snapshot safety net (auto-backup before mutations)
Security
- Credentials are read from environment variables only; never committed to source control.
- All API calls use HTTPS with Basic Auth (base64-encoded
email:token). - Grant tokens the minimum required permissions.
- Snapshots are stored locally in
~/.atlassian-mcp-snapshotsby default.
License
Links
- npm: @jagadeesh52423/atlassian-mcp-server
- Source: GitHub
- Issues: GitHub Issues
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。