Version Control · Developer Tools

Bitbucket Server MCP Server logo

Bitbucket Server MCP Server

garc33/bitbucket-server-mcp-server

MCP (Model Context Protocol) server for Bitbucket Server Pull Request management. This server provides tools and resources to interact with the Bitbucket Server API through the MCP protocol.

Install

npx -y @smithery/cli install @garc33/bitbucket-server-mcp-server --client claude

Client configuration

{
  "mcpServers": {
    "bitbucket": {
      "command": "node",
      "args": [
        "/path/to/bitbucket-server/build/index.js"
      ],
      "env": {
        "BITBUCKET_URL": "<BITBUCKET_URL>",
        "BITBUCKET_TOKEN": "<BITBUCKET_TOKEN>",
        "BITBUCKET_USERNAME": "<BITBUCKET_USERNAME>",
        "BITBUCKET_PASSWORD": "<BITBUCKET_PASSWORD>",
        "BITBUCKET_DEFAULT_PROJECT": "<BITBUCKET_DEFAULT_PROJECT>"
      }
    }
  }
}

Environment variables

BITBUCKET_URLBITBUCKET_TOKENBITBUCKET_USERNAMEBITBUCKET_PASSWORDBITBUCKET_DEFAULT_PROJECT
GitHub stars
8
Author
@garc33
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

Features

  • Custom HTTP Headers: Add custom headers to all requests via BITBUCKET_CUSTOM_HEADERS environment variable (useful for Zero Trust tokens or proxies)

  • PR Discovery: List and filter pull requests by state, author, or direction using list_pull_requests (fixes #14)

  • Branch Management: List branches with default branch detection using list_branches, delete merged branches with delete_branch

  • Commit History: Browse commit history with branch and author filtering using list_commits

  • PR Approval: Approve and unapprove pull requests with approve_pull_request and unapprove_pull_request

  • Advanced Search: Search code and files across repositories with project/repository filtering using the search tool

  • File Operations: Read file contents and browse repository directories with get_file_content and browse_repository

  • Comment Management: Extract and filter PR comments with get_comments tool

  • Project Discovery: List all accessible Bitbucket projects with list_projects

  • Repository Browsing: Explore repositories across projects with list_repositories

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control