MCP Bitbucket logo

MCP Bitbucket

by Kallows

A Python implementation of an MCP server for Bitbucket integration. It enables secure, local tool access for AI applications.

View on GitHub

Last updated: N/A

What is MCP Bitbucket?

MCP Bitbucket is a Python-based MCP server that provides a local interface for AI applications to interact with Bitbucket. It allows secure and automated access to Bitbucket functionalities.

How to use MCP Bitbucket?

First, clone the repository. Set the required Bitbucket credentials (username and app password) as environment variables (BITBUCKET_USERNAME and BITBUCKET_APP_PASSWORD). Then, use the provided tools via the MCP interface to perform actions on Bitbucket repositories.

Key features of MCP Bitbucket

  • Create Bitbucket repositories

  • Create and delete branches

  • Read and write files in repositories

  • Create and delete issues

  • Search repositories using query syntax

  • Create pull requests

Use cases of MCP Bitbucket

  • Automated repository creation and management

  • Programmatic file manipulation in Bitbucket

  • AI-driven issue tracking and management

  • Automated pull request generation

  • Integration with CI/CD pipelines

FAQ from MCP Bitbucket

What is MCP?

MCP (Model Context Protocol) enables secure, local tool access for AI applications.

What credentials are required?

You need to set the Bitbucket username and app password as environment variables (BITBUCKET_USERNAME and BITBUCKET_APP_PASSWORD).

What is the default workspace?

The default workspace is 'kallows' if not specified in the tool parameters.

What is the default branch?

The default branch is 'main' or 'master' if not specified in the tool parameters.

What are some example queries for searching repositories?

Examples include 'name ~ "test"' or 'project.key = "PROJ"'.