Atlassian MCP Server
Enterprise-grade MCP server providing 102 production-ready tools for Jira, Confluence, and Bitbucket, enabling AI agents to manage issues, pages, repositories, and more via natural language.
README
Atlassian MCP Server
Model Context Protocol (MCP) server for Atlassian tools (Jira, Confluence, and Bitbucket).
Enterprise-grade MCP server providing 102 production-ready tools for Jira, Confluence, and Bitbucket
- ✨ Works with Amazon Q Developer, Claude, Cursor, and more
- 🚀 Deploy locally or to AWS Lambda
- 🔒 Enterprise security built-in
- 🎫 Ticket Support Agent with 6 specialized tools
Quick Links
- 🚀 Quick Start - Get running in 5 minutes
- 📖 Understanding MCP - Learn how MCP works
- 🤖 AI Agent Setup - Connect to Amazon Q, Claude, Cursor, etc.
- ☁️ AWS Deployment - Deploy to Lambda
- 📊 Monitoring - CloudWatch metrics and alerts
- 🏗️ Architecture - System design and components
Quick Start
Local Development:
pip install -r mcp_server/requirements.txt
cp config.template.yaml config.yaml
# Edit config.yaml with your credentials
python mcp_server/main.py
Configuration Examples:
Cloud:
deployment_type: cloud
cloud:
atlassian_base_url: https://yourcompany.atlassian.net
atlassian_username: your-email@company.com
atlassian_api_token: your-token
bitbucket_workspace: your-workspace
bitbucket_api_token: your-token
Data Center:
deployment_type: datacenter
datacenter:
jira_base_url: https://jira.company.com
jira_pat_token: your-token
confluence_base_url: https://wiki.company.com
confluence_pat_token: your-token
bitbucket_base_url: https://git.company.com
bitbucket_pat_token: your-token
bitbucket_project: PROJECT_KEY
AWS Deployment:
cp config.template.yaml config.yaml
# Edit config.yaml with your credentials
python deploy.py
Features
- Jira (31 tools): Issues, comments, transitions, attachments, attachment upload, users, worklogs, labels, issue linking, advanced search, priority management, agile boards, sprints, user permissions
- Confluence (31 tools): Pages, spaces, comments, attachments, search, users, user lookup by userkey, labels, page history, permissions, page copying, user content, recent content, version restore, search by author/label, page hierarchy (move, children, descendants, ancestors), CQL search
- Bitbucket (34 tools): Repositories, pull requests, commits, branches, diffs, file search, reviewers, branch management, PR activity, default reviewers, author filtering, change requests, branch restrictions, build status, webhooks
- Ticket Support Agent (6 tools): Open ticket triage, template validation, assignee suggestions, team workload analysis, expertise JQL construction, troubleshooting doc lookup
- Flexible Credentials: Configure only the services you need
- Dual Platform: Supports both Cloud and Data Center deployments
- AWS Ready: Deploy as Lambda function with API Gateway
Prerequisites
Local Development:
- Python 3.11+
- Atlassian account (Cloud or Data Center)
- API tokens for services you want to use
AWS Deployment (optional):
- AWS CLI configured with credentials
- AWS SAM CLI installed (installation guide)
Generate Tokens:
- Cloud: https://id.atlassian.com/manage-profile/security/api-tokens
- Bitbucket Cloud: https://bitbucket.org/account/settings/app-passwords/
- Data Center: Profile → Personal Access Tokens
Configuration
AWS Deployment
- Copy the template:
cp config.template.yaml config.yaml
- Edit
config.yamlwith your credentials:
For Cloud:
deployment_type: cloud
cloud:
atlassian_base_url: https://yourcompany.atlassian.net
atlassian_username: your-email@company.com
atlassian_api_token: your-token
bitbucket_workspace: your-workspace # optional
bitbucket_api_token: your-token # optional
For Data Center:
deployment_type: datacenter
datacenter:
jira_base_url: https://jira.company.com
jira_pat_token: your-token
confluence_base_url: https://wiki.company.com
confluence_pat_token: your-token
bitbucket_base_url: https://git.company.com
bitbucket_pat_token: your-token
bitbucket_project: PROJECT_KEY
- Deploy:
python deploy.py
Local Development
For local development, use config.yaml (same format as AWS deployment):
cp config.template.yaml config.yaml
# Edit config.yaml with your credentials and optional ticket support agent config
python mcp_server/main.py
Note: The server loads configuration from config.yaml automatically. Environment variables can be used as an alternative if config.yaml is not present, but using config.yaml is the recommended approach for consistency with AWS deployment.
Platform Detection: The server automatically detects whether to use Cloud or Data Center APIs in this order:
DEPLOYMENT_TYPEenvironment variable (cloudordatacenter)deployment_typefield inconfig.yaml- Presence of Data Center credentials (PAT tokens)
- Defaults to Cloud if none of the above
AI Agent Integration
Integrate with popular AI agents and development tools:
Amazon Q Developer:
{
"mcpServers": {
"atlassian-mcp": {
"command": "python",
"args": ["/absolute/path/to/mcp_server/main.py"],
"env": {
"ATLASSIAN_BASE_URL": "https://yourcompany.atlassian.net",
"ATLASSIAN_USERNAME": "your-email@company.com",
"ATLASSIAN_API_TOKEN": "your-token"
}
}
}
}
Also supports: Claude Desktop, Cline (VS Code), Cursor, Continue, Zed Editor
See AGENT_INTEGRATION.md for complete setup instructions.
AWS Deployment
- Configure credentials:
cp config.template.yaml config.yaml
# Edit config.yaml with your Atlassian credentials
- Deploy:
python deploy.py
The script will:
- Build the SAM application
- Deploy to AWS with your credentials
- Display the MCP API URL
See DEPLOYMENT_GUIDE.md for detailed instructions.
Testing
Unit Tests:
pip install -r requirements-dev.txt
pytest tests/unit/
Integration Tests:
Cloud (tests with real credentials):
python tests/cloud/test_all_cloud_tools.py
Data Center (tests with real credentials):
python tests/datacenter/test_all_dc_tools.py
Common/Agent tools (tests with real credentials):
python tests/common/test_all_common_tools.py
Test Features:
- Comprehensive unit test coverage
- Integration tests for core workflows
- Verbose output showing results
Monitoring
CloudWatch integration with:
- Structured JSON logging
- Custom metrics (tool usage, duration)
- Automatic alarms (errors, throttles, slow responses)
- Dashboard for visualization
See MONITORING.md for setup and configuration.
Documentation
- MCP_OVERVIEW.md - Understanding MCP and how this server works
- AGENT_INTEGRATION.md - AI agent integration (Claude, Cursor, Cline, etc.)
- DEPLOYMENT_GUIDE.md - AWS deployment and configuration
- TESTING.md - Comprehensive testing guide
- TICKET_SUPPORT_AGENT.md - Ticket support agent tools
- MONITORING.md - CloudWatch setup and alerts
- ARCHITECTURE.md - System architecture and design
API Documentation
- Jira Cloud
- Confluence Cloud
- Bitbucket Cloud
- Jira Data Center
- Confluence Data Center
- Bitbucket Data Center
Security
- IAM authentication for same-account access
- Rate limiting (100 req/sec, 200 burst)
- Encrypted credentials in Lambda environment variables
- HTTPS-only traffic
- config.yaml gitignored (credentials not in version control)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built on the Model Context Protocol specification
- Integrates with Atlassian Cloud and Data Center APIs
- Designed for Amazon Q Developer and other MCP-compatible AI assistants
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。