db3-atlassian-mcp

db3-atlassian-mcp

Lightweight MCP server for Jira, Confluence, and Bitbucket — read, create, and update from your AI IDE.

Category
访问服务器

README

db3-atlassian-mcp

Lightweight MCP server for Jira, Confluence, and Bitbucket — read, create, and update from your AI IDE.

Install

Step 1: Get an API Token

Go to https://id.atlassian.com/manage-profile/security/api-tokens and create a new token.

Step 2: Create your .env file

mkdir -p ~/.db3-atlassian-mcp

cat > ~/.db3-atlassian-mcp/.env << EOF
JIRA_BASE_URL=https://yourcompany.atlassian.net
JIRA_USER=you@yourcompany.com
JIRA_API_KEY=your-api-token-here

# Optional: Bitbucket Cloud
BITBUCKET_WORKSPACE=your-workspace
BITBUCKET_USER=you@yourcompany.com
BITBUCKET_API_TOKEN=your-bitbucket-api-token

# Optional: Enable additional Bitbucket tool tiers
# ENABLE_BITBUCKET_PR_TOOLS=true
# ENABLE_BITBUCKET_ADMIN_TOOLS=true
EOF

Step 3: Add to your IDE's MCP config

Tip: If you skip Step 2, you can put your credentials directly in the env block below instead of using a .env file. Either approach works.

Kiro

You can ask Kiro to do this for you: "Add db3-atlassian-mcp to my MCP config using uvx with my Atlassian credentials"

Or manually open ~/.kiro/settings/mcp.json and add inside "mcpServers":

"db3.atlassian-mcp": {
  "command": "uvx",
  "args": ["db3-atlassian-mcp@latest"],
  "disabled": false,
  "autoApprove": [],
  "env": {
    "JIRA_BASE_URL": "https://yourcompany.atlassian.net",
    "JIRA_USER": "you@yourcompany.com",
    "JIRA_API_KEY": "your-api-token-here"
  }
}

The env block is optional if you already created a .env file in Step 2.

VS Code / Cursor / Windsurf

Add to .vscode/mcp.json in your workspace (or global settings):

{
  "mcpServers": {
    "db3.atlassian-mcp": {
      "command": "uvx",
      "args": ["db3-atlassian-mcp@latest"],
      "env": {
        "JIRA_BASE_URL": "https://yourcompany.atlassian.net",
        "JIRA_USER": "you@yourcompany.com",
        "JIRA_API_KEY": "your-api-token-here"
      }
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "db3.atlassian-mcp": {
      "command": "uvx",
      "args": ["db3-atlassian-mcp@latest"],
      "env": {
        "JIRA_BASE_URL": "https://yourcompany.atlassian.net",
        "JIRA_USER": "you@yourcompany.com",
        "JIRA_API_KEY": "your-api-token-here"
      }
    }
  }
}

Step 4: Restart your IDE

The MCP server will appear in your sidebar as db3.atlassian-mcp.

Once connected, ask Kiro something like "Read Jira ticket PROJECT-123" to verify it's working.

What You Can Do

Jira

  • Fetch any ticket by key
  • Search tickets with JQL
  • View sub-tasks for a parent ticket
  • Create new tickets with optional parent for sub-task linking
  • Update tickets — change fields, transition status, add comments
  • Assign tickets by name or email (no account IDs needed)
  • Attach files to tickets

Confluence

  • Read any page by pasting its URL or page ID
  • Search pages with CQL
  • Browse all pages in a space
  • Create new pages (with optional parent page)
  • Update existing pages with rich formatting

Bitbucket Cloud (core — always on)

  • List and search repositories in a workspace
  • List branches for a repository
  • List and view pull requests

Bitbucket Cloud (opt-in via ENABLE_BITBUCKET_PR_TOOLS)

  • List and view commits
  • View PR diffs, file diffs, and diffstats
  • Create pull requests
  • Add, reply to, update, and delete PR comments
  • Add inline comments on specific diff lines

Bitbucket Cloud (opt-in via ENABLE_BITBUCKET_ADMIN_TOOLS)

  • View build statuses on commits and PRs
  • List pipeline runs
  • Resolve and reopen PR comment threads
  • Create, update, and delete PR tasks
  • Fetch repository metadata
  • List branches and commits
  • Fetch commit details and build statuses
  • List recent Bitbucket Pipelines runs
  • List and inspect pull requests
  • Fetch pull request diffs, diffstats, comments, and activity
  • Fetch pull request build statuses
  • Summarize pull request status with reviewers, approvals, build status results, and changed files
  • Create pull requests
  • Add pull request comments

Configuration

Credentials

The server reads credentials from a .env file. It searches in this order:

  1. ~/.db3-atlassian-mcp/.env (recommended)
  2. .env in the current working directory

You can also pass credentials via your MCP config's env block (see Step 3 above).

Bitbucket Tool Tiers

By default, only core Bitbucket tools are enabled (repos, branches, PRs) to keep the tool count low. Enable additional tiers via environment variables:

Variable Default Tools Added
(core — always on) — list_bitbucket_repos, get_bitbucket_repo, search_bitbucket_repos, list_bitbucket_branches, list_bitbucket_pull_requests, get_bitbucket_pull_request
ENABLE_BITBUCKET_PR_TOOLS false Commits, diffs, diffstats, PR comments, inline comments, replies, activity, status, create PR (+15 tools)
ENABLE_BITBUCKET_ADMIN_TOOLS false Build statuses, pipelines, resolve/reopen comments, PR tasks (+10 tools)

Example with all tiers enabled:

"db3.atlassian-mcp": {
  "command": "uvx",
  "args": ["db3-atlassian-mcp@latest"],
  "env": {
    "JIRA_BASE_URL": "https://yourcompany.atlassian.net",
    "JIRA_USER": "you@yourcompany.com",
    "JIRA_API_KEY": "your-api-token-here",
    "ENABLE_BITBUCKET_PR_TOOLS": "true",
    "ENABLE_BITBUCKET_ADMIN_TOOLS": "true"
  }
}

Bitbucket Cloud

Bitbucket support is optional. Set these values only if you want Bitbucket tools:

BITBUCKET_WORKSPACE=your-workspace
BITBUCKET_USER=you@yourcompany.com
BITBUCKET_API_TOKEN=your-bitbucket-api-token

BITBUCKET_WORKSPACE lets tool calls omit the workspace argument. For bitbucket.org/your-workspace/..., use:

BITBUCKET_WORKSPACE=your-workspace

Use a Bitbucket Cloud API token scoped to the operations you need. Read-only tools need repository and pull request read scopes. Pipeline status tools need pipeline read scope. Creating pull requests or comments needs write access for pull requests.

Alternative: Install from Source

git clone https://github.com/db3net/db3-atlassian-mcp.git
cd db3-atlassian-mcp
bash install.sh

The installer prompts for your credentials, sets up a Python venv, validates the connection, and configures Kiro automatically.

Updating

If using uvx with @latest, it automatically pulls the newest version each time your IDE starts. If installed from source, run the installer again.

Version Pinning

Using @latest is convenient but means updates are applied automatically. For production or security-sensitive environments, pin to a specific version:

"args": ["db3-atlassian-mcp==1.1.0"]

This way you only get updates when you explicitly change the version number. Check PyPI for available versions.

Uninstall

rm -rf ~/.db3-atlassian-mcp

Then remove the "db3.atlassian-mcp" entry from your IDE's MCP config.

Troubleshooting

Server shows "connection failed" or ENOENT

  • Make sure uv is installed: pip install uv or brew install uv
  • Verify uvx is on your PATH: which uvx
  • Check that Python 3.10+ is available: python3 --version

401 Unauthorized

.env file not found

  • Confirm the file exists: cat ~/.db3-atlassian-mcp/.env
  • Make sure all three variables are set: JIRA_BASE_URL, JIRA_USER, JIRA_API_KEY
  • The URL should not have a trailing slash

Tools not showing up

  • Restart your IDE after adding the MCP config
  • Check your IDE's MCP server logs for errors
  • In Kiro: look at the MCP Servers panel in the sidebar and click reconnect

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选