Version Control · Developer Tools

Bitbucket MCP logo

Bitbucket MCP

MatanYemini/bitbucket-mcp

A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs. This MCP server enables AI assistants like Cursor to interact with your Bitbucket repositories, pull requests, and other resources.

Install

npx -y bitbucket-mcp@latest

Client configuration

{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "-y",
        "bitbucket-mcp@latest"
      ],
      "env": {
        "BITBUCKET_URL": "<BITBUCKET_URL>",
        "BITBUCKET_WORKSPACE": "<BITBUCKET_WORKSPACE>",
        "BITBUCKET_USERNAME": "<BITBUCKET_USERNAME>",
        "BITBUCKET_PASSWORD": "<BITBUCKET_PASSWORD>"
      }
    }
  }
}

Environment variables

BITBUCKET_URLBITBUCKET_WORKSPACEBITBUCKET_USERNAMEBITBUCKET_PASSWORD
GitHub stars
4
Category
Version Control, Developer Tools
License
MIT
Updated
Oct 6, 2026

Tools (40)

  • page

    1-based Bitbucket page number to fetch.

  • all

    When true (and page is not provided), the server automatically follows Bitbucket next links until all items are fetched or a safety cap of 1,000 entries is…

  • limit

    Deprecated alias for pagelen kept for backward compatibility.

  • listRepositories

    Lists repositories in a workspace.

  • getRepository

    Gets details for a specific repository.

  • getPullRequests

    Gets pull requests for a repository.

  • createPullRequest

    Creates a new pull request.

  • getPullRequest

    Gets details for a specific pull request.

  • updatePullRequest

    Updates a pull request.

  • getPullRequestActivity

    Gets the activity log for a pull request.

  • approvePullRequest

    Approves a pull request.

  • unapprovePullRequest

    Removes an approval from a pull request.

  • declinePullRequest

    Declines a pull request.

  • mergePullRequest

    Merges a pull request.

  • requestChanges

    Requests changes on a pull request.

  • removeChangeRequest

    Removes a change request from a pull request.

  • createDraftPullRequest

    Creates a new draft pull request.

  • publishDraftPullRequest

    Publishes a draft pull request to make it ready for review.

  • convertTodraft

    Converts a regular pull request to draft status.

  • getPullRequestComments

    Lists comments on a pull request.

  • addPullRequestComment

    Creates a comment on a pull request (general or inline).

  • getPullRequestComment

    Gets a specific comment on a pull request.

  • updatePullRequestComment

    Updates a comment on a pull request.

  • deletePullRequestComment

    Deletes a comment on a pull request.

  • resolveComment

    Resolves a comment thread on a pull request.

  • reopenComment

    Reopens a resolved comment thread on a pull request.

  • getPullRequestDiff

    Gets the diff for a pull request.

  • getPullRequestDiffStat

    Gets the diff statistics for a pull request.

  • getPullRequestPatch

    Gets the patch for a pull request.

  • getPullRequestTasks

    Lists tasks on a pull request.

  • createPullRequestTask

    Creates a task on a pull request.

  • getPullRequestTask

    Gets a specific task on a pull request.

  • updatePullRequestTask

    Updates a task on a pull request.

  • deletePullRequestTask

    Deletes a task on a pull request.

  • getPullRequestCommits

    Lists commits on a pull request.

  • getPullRequestStatuses

    Lists commit statuses for a pull request.

  • listPipelineRuns

    Lists pipeline runs for a repository.

  • getPipelineRun

    Gets details for a specific pipeline run.

  • runPipeline

    Triggers a new pipeline run.

  • stopPipeline

    Stops a running pipeline.

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

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

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