MCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add atlassian-data-center --env BITBUCKET_API_TOKEN='<BITBUCKET_API_TOKEN>' --env CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' --env JIRA_API_TOKEN='<JIRA_API_TOKEN>' -- npx -y @atlassian-dc-mcp/bitbucket~/.codex/config.toml
[mcp_servers.atlassian-data-center]
command = "npx"
args = ["-y", "@atlassian-dc-mcp/bitbucket"]
env = { BITBUCKET_API_TOKEN = "<BITBUCKET_API_TOKEN>", CONFLUENCE_API_TOKEN = "<CONFLUENCE_API_TOKEN>", JIRA_API_TOKEN = "<JIRA_API_TOKEN>" }
# codex mcp add atlassian-data-center --env BITBUCKET_API_TOKEN='<BITBUCKET_API_TOKEN>' --env CONFLUENCE_API_TOKEN='<CONFLUENCE_API_TOKEN>' --env JIRA_API_TOKEN='<JIRA_API_TOKEN>' -- npx -y @atlassian-dc-mcp/bitbucket~/.cursor/mcp.json
{
"mcpServers": {
"atlassian-data-center": {
"command": "npx",
"args": [
"-y",
"@atlassian-dc-mcp/bitbucket"
],
"env": {
"BITBUCKET_API_TOKEN": "<BITBUCKET_API_TOKEN>",
"CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>",
"JIRA_API_TOKEN": "<JIRA_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"atlassian-data-center": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@atlassian-dc-mcp/bitbucket"
],
"env": {
"BITBUCKET_API_TOKEN": "<BITBUCKET_API_TOKEN>",
"CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>",
"JIRA_API_TOKEN": "<JIRA_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"atlassian-data-center": {
"command": "npx",
"args": [
"-y",
"@atlassian-dc-mcp/bitbucket"
],
"env": {
"BITBUCKET_API_TOKEN": "<BITBUCKET_API_TOKEN>",
"CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>",
"JIRA_API_TOKEN": "<JIRA_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"atlassian-data-center": {
"command": "npx",
"args": [
"-y",
"@atlassian-dc-mcp/bitbucket"
],
"env": {
"BITBUCKET_API_TOKEN": "<BITBUCKET_API_TOKEN>",
"CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>",
"JIRA_API_TOKEN": "<JIRA_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"atlassian-data-center": {
"command": "npx",
"args": [
"-y",
"@atlassian-dc-mcp/bitbucket"
],
"env": {
"BITBUCKET_API_TOKEN": "<BITBUCKET_API_TOKEN>",
"CONFLUENCE_API_TOKEN": "<CONFLUENCE_API_TOKEN>",
"JIRA_API_TOKEN": "<JIRA_API_TOKEN>"
}
}
}
}需要的环境变量
BITBUCKET_API_TOKENCONFLUENCE_API_TOKENJIRA_API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。