MCP.so
ログイン

MCP Server for Bitbucket API

@JaviMaligno

MCP Server for Bitbucket API について

MCP server for Bitbucket API operations

基本情報

カテゴリ

バージョン管理

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

JaviMaligno

投稿者

JaviMaligno

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "bitbucket": {
      "command": "mcp-server-bitbucket",
      "env": {
        "BITBUCKET_WORKSPACE": "your-workspace",
        "BITBUCKET_EMAIL": "[email protected]",
        "BITBUCKET_API_TOKEN": "your-token"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server for Bitbucket API?

MCP Server for Bitbucket API is a Model Context Protocol server that provides comprehensive Bitbucket API operations. It works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client, enabling AI assistants to interact with Bitbucket repositories, pull requests, pipelines, and more.

How to use MCP Server for Bitbucket API?

Install the TypeScript version globally with npm install -g mcp-server-bitbucket or run directly with npx mcp-server-bitbucket. For Python, use pipx install mcp-server-bitbucket. Configure required environment variables (BITBUCKET_WORKSPACE, BITBUCKET_EMAIL, BITBUCKET_API_TOKEN) and add the server to your MCP client (e.g., Claude Code CLI or Cursor IDE).

Key features of MCP Server for Bitbucket API

  • 58 tools covering repositories, pull requests, pipelines, and more
  • MCP Prompts for reusable workflows (code review, release notes, etc.)
  • MCP Resources for browsable workspace data
  • Both TypeScript and Python implementations with identical functionality
  • Supports custom pipeline triggers with variables and commit hashes
  • Branch restrictions, webhooks, and permission management

Use cases of MCP Server for Bitbucket API

  • Automate code review by fetching PR diffs and adding comments
  • Trigger CI/CD pipelines and monitor their status from an AI assistant
  • Browse repository files and directories without cloning
  • Manage repository settings, permissions, and branch protection rules
  • Generate release notes by comparing commits between versions

FAQ from MCP Server for Bitbucket API

What is the difference between the TypeScript and Python versions?

Both versions provide identical functionality. The TypeScript version is recommended for Smithery deployments, while the Python version is stable and can be installed via pipx.

What environment variables are required?

You must set BITBUCKET_WORKSPACE (workspace slug), BITBUCKET_EMAIL (account email), and BITBUCKET_API_TOKEN (repository access token). Optional variables include API_TIMEOUT (default 30s) and MAX_RETRIES (default 3).

How do I create a Bitbucket API token?

Go to Repository settings > Access tokens in Bitbucket, click Create Repository Access Token, select permissions (Repository: Read/Write/Admin/Delete, Pull requests: Read/Write, Pipelines: Read/Write), and copy the token immediately.

Which MCP clients are supported?

The server works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Are there any rate limits or retry mechanisms?

The server includes a configurable MAX_RETRIES environment variable (default 3) to handle rate limiting. No specific rate limit values are mentioned in the README.

コメント

「バージョン管理」の他のコンテンツ