bitbucket-mcp-server
Provides read-only access to Bitbucket Server resources including projects, repositories, branches, commits, pull requests, and code search.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bitbucket-mcp-serverShow me my pending pull request reviews."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bitbucket MCP Server (Custom, Read-Only)
A custom MCP server for Bitbucket Server that exposes only read-only operations.
Built with the official @modelcontextprotocol/sdk — no third-party Bitbucket MCP packages.
Tools
Tool | Description |
| Get user profile by username |
| List users with optional filter |
| List visible projects |
| List repos in a project |
| Get repo details |
| Get default branch of a repo |
| List branches |
| List tags |
| Browse files/directories |
| Get raw file content |
| List commits |
| Get commit details |
| Get diff for a commit |
| Get PRs in your review inbox |
| List PRs for a repo |
| Get full PR details |
| Get changed files in a PR |
| Get PR diff (full or per-file) |
| Get structured file diff |
| Get PR activity feed |
| Get PR commits |
| Check PR merge preconditions |
| Get PR tasks/blockers |
| Search code across repos |
Related MCP server: BitBucket-MCP-To-Review-PRs
Setup
npm install
npm run buildEnvironment Variables
Variable | Required | Description |
| Yes | Your Bitbucket Server URL (e.g., |
| Yes | Personal access token with read permissions |
MCP Configuration
Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"bitbucket": {
"command": "node",
"args": ["/absolute/path/to/bitbucket-mcp-server/dist/index.js"],
"env": {
"BITBUCKET_URL": "https://bitbucket.example.com",
"BITBUCKET_TOKEN": "your-token-here"
}
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables retrieval of pull request metadata and diffs from Bitbucket Cloud and Server/Data Center, with optional comment creation.3MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for the Bitbucket Cloud REST API v2.0 that enables AI assistants to browse workspaces, repositories, and review pull requests.92ISC
- AlicenseNot gradedqualityBmaintenanceEnables interaction with Bitbucket Server/Data Center (Stash) for project and repository discovery, pull request management, code review, and code search.12MIT
- AlicenseBqualityBmaintenanceA read-only MCP server that provides secure access to Bitbucket repositories, pull requests, issues, and more.381854MIT
Related MCP Connectors
Read-only access to live ADSBiq aircraft and network state, with community contribution metadata.
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/phpl/bitbucket-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server