{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.adarshba/bitbucket-mcp",
  "slug": "io.github.adarshba.bitbucket-mcp",
  "title": "Bitbucket MCP",
  "summary": "Bitbucket MCP for Data Center: PR review with multi-line comments, plus Code Mode over the REST API.",
  "version": "0.2.0",
  "serverKey": "bitbucket-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.adarshba.bitbucket-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.adarshba.bitbucket-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:32:40.44994117Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@adarsh.ba/bitbucket-mcp@0.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add bitbucket-mcp -e 'BITBUCKET_BASE_URL=<BITBUCKET_BASE_URL>' -e 'BITBUCKET_TOKEN=<BITBUCKET_TOKEN>' -- npx -y @adarsh.ba/bitbucket-mcp@0.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"bitbucket-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@adarsh.ba/bitbucket-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BITBUCKET_BASE_URL\": \"<BITBUCKET_BASE_URL>\",\n        \"BITBUCKET_TOKEN\": \"<BITBUCKET_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"bitbucket-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@adarsh.ba/bitbucket-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BITBUCKET_BASE_URL\": \"<BITBUCKET_BASE_URL>\",\n        \"BITBUCKET_TOKEN\": \"<BITBUCKET_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"BITBUCKET_BASE_URL\",\n      \"id\": \"bitbucket-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"BITBUCKET_TOKEN\",\n      \"id\": \"bitbucket-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"bitbucket-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@adarsh.ba/bitbucket-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BITBUCKET_BASE_URL\": \"${input:bitbucket-base-url}\",\n        \"BITBUCKET_TOKEN\": \"${input:bitbucket-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.bitbucket-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@adarsh.ba/bitbucket-mcp@0.2.0\"]\nenv = { \"BITBUCKET_BASE_URL\" = \"<BITBUCKET_BASE_URL>\", \"BITBUCKET_TOKEN\" = \"<BITBUCKET_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "BITBUCKET_BASE_URL",
      "required": true,
      "secret": false,
      "description": "Bitbucket Data Center base URL, e.g. https://bitbucket.example.com",
      "help": "Bitbucket Data Center base URL, e.g. https://bitbucket.example.com",
      "placeholder": "<BITBUCKET_BASE_URL>"
    },
    {
      "name": "BITBUCKET_TOKEN",
      "required": true,
      "secret": true,
      "description": "HTTP access token (sent as Bearer)",
      "help": "HTTP access token (sent as Bearer)",
      "placeholder": "<BITBUCKET_TOKEN>"
    },
    {
      "name": "BITBUCKET_READ_ONLY",
      "required": false,
      "secret": false,
      "description": "true hides and refuses every write",
      "help": "true hides and refuses every write",
      "placeholder": "<BITBUCKET_READ_ONLY>"
    },
    {
      "name": "BITBUCKET_TOOLS",
      "required": false,
      "secret": false,
      "description": "all, curated or code",
      "help": "all, curated or code",
      "placeholder": "<BITBUCKET_TOOLS>"
    }
  ],
  "expectedTools": [
    "get_pull_request",
    "list_pull_requests",
    "get_pull_request_diff",
    "create_pull_request",
    "update_pull_request",
    "merge_pull_request",
    "add_comment",
    "manage_comment",
    "submit_review",
    "search",
    "execute"
  ],
  "agentSteps": [
    "Ask the user for: BITBUCKET_BASE_URL, BITBUCKET_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_pull_request, list_pull_requests, get_pull_request_diff, create_pull_request, update_pull_request, merge_pull_request, add_comment, manage_comment, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:32:40.44994117Z"
}
