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"
}
}
}
}This server cannot be installed
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.Last updated3MIT
- Alicense-qualityDmaintenanceA read-only MCP server for the Bitbucket Cloud REST API v2.0 that enables AI assistants to browse workspaces, repositories, and review pull requests.Last updated36ISC
- Alicense-qualityBmaintenanceEnables interaction with Bitbucket Server/Data Center (Stash) for project and repository discovery, pull request management, code review, and code search.Last updated17MIT
- Alicense-qualityAmaintenanceA read-only MCP server that provides secure access to Bitbucket repositories, pull requests, issues, and more.Last updated3063MIT
Related MCP Connectors
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
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