Bitbucket Data Center
MCP server for Bitbucket Data Center to search code and manage pull requests.
Best for Quickly locating specific code implementations across large enterprise repositories.
MCP (Model Context Protocol) server for Bitbucket Data Center. Enables AI assistants to search code, browse files, manage pull requests, and explore repositories through a standardized interface.
Built with FastMCP in Python. Installs via uvx.
What it does
- Lucene-style code searching across all repositories
- Direct file content access and directory browsing
- Comprehensive pull request management including comments and diffs
- Repository and project metadata exploration
- Branch and tag management
Available tools (7)
bitbucket_code_searchSearch code across all repositories using Lucene syntax.bitbucket_browseBrowse directory tree for files and folders at a specific path.bitbucket_get_file_contentRetrieve raw file content with syntax highlighting.bitbucket_list_filesRecursively list all file paths in a repository.bitbucket_get_pull_requestsList pull requests filtered by state, direction, or text.bitbucket_create_pull_requestCreate a new pull request.bitbucket_post_pull_request_commentPost a general or inline comment on a pull request.Setup requirements
Requires 2 environment variables: BITBUCKET_HOST, BITBUCKET_API_TOKEN. Available via uvx.