drio
Open app

MCP Bitbucket Python 🦊

Source

Bitbucket MCP Server Implementation in Python

Catalog onlyCatalog onlySTDIO

Overview

MCP Bitbucket is a Python implementation of an MCP server designed for seamless integration with Bitbucket, enabling secure local tool access for AI applications.

To use MCP Bitbucket, clone the repository from GitHub and set up your Bitbucket credentials as environment variables. You can then utilize various tools provided by the server to manage your Bitbucket repositories.

  • Create, delete, and manage Bitbucket repositories and branches. - Read, write, and delete files in repositories. - Create and manage issues and pull requests. - Search for repositories using query syntax.
  1. Automating repository management tasks in Bitbucket.
  2. Integrating Bitbucket operations into AI applications.
  3. Streamlining collaboration through issue and pull request management.

Add to your AI client

Use these steps to connect MCP Bitbucket Python 🦊 in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-bitbucket-kallows": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

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

{
  "mcpServers": {
    "mcp-bitbucket-kallows": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-bitbucket-kallows": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-bitbucket-kallows": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-bitbucket-kallows": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-bitbucket-kallows": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-bitbucket-kallows"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP server?

The MCP server facilitates secure local access to Bitbucket tools for AI applications.

How do I install MCP Bitbucket?

You can install it by cloning the repository from GitHub.

Do I need to set up Bitbucket credentials?

Yes, you need to set your Bitbucket username and app password as environment variables.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":919,"uuid":"6aba8cf3-9587-4c9a-9cfb-66e2d24887f4","name":"mcp-bitbucket","title":"MCP Bitbucket Python 🦊","description":"Bitbucket MCP Server Implementation in Python","avatar_url":"https://avatars.githubusercontent.com/u/195258243?v=4","created_at":"2025-01-28T02:18:37.899Z","updated_at":"2025-02-23T07:19:16.102Z","status":"created","author_name":"Kallows","author_avatar_url":"https://avatars.githubusercontent.com/u/195258243?v=4","tags":"mcp-bitbucket,bitbucket-integration,python-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/Kallows/mcp-bitbucket","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]