MCP server for Bitbucket with dual auth (Cloud + Data Center), repos, PRs, branches, and more
Project description
Atlassian MCP Servers
A monorepo of Model Context Protocol (MCP) servers for Atlassian products, built on FastMCP 3.
| Server | Tools | Package |
|---|---|---|
| Jira | 37 | atlassian-jira-mcp |
| Confluence | 41 | atlassian-confluence-mcp |
| Bitbucket | 44 | atlassian-bitbucket-mcp |
Structure
atlassian/
├── jira-mcp-server/ # Issues, boards, sprints, workflows
├── confluence-mcp-server/ # Pages, spaces, blogs, search
└── bitbucket-mcp-server/ # Repos, PRs, branches, builds
Installation
Each server is an independent Python package. Install from the server directory:
cd jira-mcp-server && pip install -e ".[dev]"
cd confluence-mcp-server && pip install -e ".[dev]"
cd bitbucket-mcp-server && pip install -e ".[dev]"
Requires Python 3.10+.
Authentication
All three servers support dual authentication modes, auto-detected from environment variables.
Atlassian Cloud
Uses Basic auth with your email and an API token.
# Jira Cloud
export JIRA_MCP_URL=https://yoursite.atlassian.net
export JIRA_MCP_EMAIL=you@company.com
export JIRA_MCP_TOKEN=your-api-token
# Confluence Cloud
export CONFLUENCE_MCP_URL=https://yoursite.atlassian.net/wiki
export CONFLUENCE_MCP_EMAIL=you@company.com
export CONFLUENCE_MCP_TOKEN=your-api-token
# Bitbucket Cloud
export BITBUCKET_MCP_URL=https://api.bitbucket.org
export BITBUCKET_MCP_EMAIL=you@company.com
export BITBUCKET_MCP_TOKEN=your-app-password
Self-Hosted (Data Center)
Uses Bearer auth with a personal access token.
# Jira Data Center
export JIRA_MCP_URL=https://jira.company.com
export JIRA_MCP_TOKEN=your-personal-access-token
# Confluence Data Center
export CONFLUENCE_MCP_URL=https://confluence.company.com
export CONFLUENCE_MCP_TOKEN=your-personal-access-token
# Bitbucket Data Center
export BITBUCKET_MCP_URL=https://bitbucket.company.com
export BITBUCKET_MCP_TOKEN=your-personal-access-token
Auto-Detection
- If
EMAILis set: Cloud mode (Basic auth) - If only
TOKENis set: Data Center mode (Bearer auth) - Set
AUTH_TYPE=cloudorAUTH_TYPE=patto override
MCP Client Configuration
Add to your .mcp.json (e.g., for Claude Code):
{
"mcpServers": {
"jira": {
"command": "atlassian-jira-mcp",
"env": {
"JIRA_MCP_URL": "https://yoursite.atlassian.net",
"JIRA_MCP_EMAIL": "you@company.com",
"JIRA_MCP_TOKEN": "your-api-token"
}
},
"confluence": {
"command": "atlassian-confluence-mcp",
"env": {
"CONFLUENCE_MCP_URL": "https://yoursite.atlassian.net/wiki",
"CONFLUENCE_MCP_EMAIL": "you@company.com",
"CONFLUENCE_MCP_TOKEN": "your-api-token"
}
},
"bitbucket": {
"command": "atlassian-bitbucket-mcp",
"env": {
"BITBUCKET_MCP_URL": "https://api.bitbucket.org",
"BITBUCKET_MCP_EMAIL": "you@company.com",
"BITBUCKET_MCP_TOKEN": "your-app-password"
}
}
}
}
Development
# Run tests (from any server directory)
pytest
# Lint
ruff check src/ tests/
# Type check
mypy src/
All servers enforce 100% test coverage.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlassian_bitbucket_mcp-1.4.0.tar.gz.
File metadata
- Download URL: atlassian_bitbucket_mcp-1.4.0.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff958279b5216c67f378567913752aa2d9e5e20034b1b3dc68a2eb1a6a93abe
|
|
| MD5 |
1788e8372e45daa0f753d2b93a11e8b8
|
|
| BLAKE2b-256 |
b7ed3749d4b43338d59903758c9608b9bea31eeee164770521290d2fa0eaafcd
|
File details
Details for the file atlassian_bitbucket_mcp-1.4.0-py3-none-any.whl.
File metadata
- Download URL: atlassian_bitbucket_mcp-1.4.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c062aed83429174463b046bc1b5d95abf9258be5a8342e560b350c1049a1a69
|
|
| MD5 |
61797f8fb7f1833abcdcadaf8d9dc03e
|
|
| BLAKE2b-256 |
0c15d3a3954367a18d59dcc4dc37b65d153a596d87328ed0bd8f0443737d820a
|