Skip to content
VS Code

Bitbucket MCP for VS Code

io.github.adarshba/bitbucket-mcp

Bitbucket MCP for Data Center: PR review with multi-line comments, plus Code Mode over the REST API.

client:VS Code transport:stdio runtime:npm

Install Bitbucket MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bitbucket-base-url",
      "description": "BITBUCKET_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitbucket-token",
      "description": "BITBUCKET_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitbucket-read-only",
      "description": "BITBUCKET_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bitbucket-tools",
      "description": "BITBUCKET_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "bitbucket-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@adarsh.ba/bitbucket-mcp"
      ],
      "env": {
        "BITBUCKET_BASE_URL": "${input:bitbucket-base-url}",
        "BITBUCKET_TOKEN": "${input:bitbucket-token}",
        "BITBUCKET_READ_ONLY": "${input:bitbucket-read-only}",
        "BITBUCKET_TOOLS": "${input:bitbucket-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Bitbucket MCP in other clients