bitbucket-mcp-server

rafliruslan/bitbucket-mcp-server

3.2

If you are the rightful owner of bitbucket-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that integrates with the Bitbucket API for managing repositories, pull requests, and issues.

The Bitbucket MCP Server is a robust solution designed to facilitate seamless integration with the Bitbucket API, enabling efficient management of repositories, pull requests, and issues. Built with full TypeScript support, this server ensures type safety and reliability. It offers comprehensive error handling and validation mechanisms to enhance user experience and maintain data integrity. The server is equipped with tools to list and retrieve repository details, manage pull requests, and browse issues, making it an essential tool for developers and teams working with Bitbucket. With easy setup and configuration, the server can be quickly deployed and integrated into existing workflows, providing a streamlined approach to Bitbucket management.

Features

  • List and get repository details
  • Manage pull requests (list, get details, create)
  • Browse issues
  • Full TypeScript support
  • Error handling and validation

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "bitbucket": {
      "command": "node",
      "args": ["/path/to/bitbucket-mcp-server/build/index.js"],
      "env": {
        "BITBUCKET_USERNAME": "your-username",
        "BITBUCKET_APP_PASSWORD": "your-app-password"
      }
    }
  }
}

usage with Cursor IDE

{
  "name": "bitbucket",
  "command": "node",
  "args": ["/path/to/bitbucket-mcp-server/build/index.js"],
  "env": {
    "BITBUCKET_USERNAME": "your-username",
    "BITBUCKET_APP_PASSWORD": "your-app-password"
  }
}

Tools

  1. bitbucket_list_repositories

    List repositories in a workspace

  2. bitbucket_get_repository

    Get repository details

  3. bitbucket_list_pull_requests

    List pull requests

  4. bitbucket_get_pull_request

    Get pull request details

  5. bitbucket_create_pull_request

    Create a new pull request

  6. bitbucket_list_issues

    List repository issues