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 Server
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.
Latest Blog Posts
- 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