Bitbucket MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_URL | Yes | Bitbucket base URL, such as https://api.bitbucket.org or https://bitbucket.example.com/bitbucket | |
| BITBUCKET_TOKEN | Yes | API token, app password, or personal access token | |
| BITBUCKET_USERNAME | No | Username paired with the token for basic auth (required if BITBUCKET_AUTH_TYPE is basic) | |
| BITBUCKET_AUTH_TYPE | No | bearer or basic | bearer |
| BITBUCKET_MAX_DIFF_BYTES | No | Maximum UTF-8 byte size returned in rawDiff | 1000000 |
| BITBUCKET_ENABLE_WRITE_TOOLS | No | Set to true to allow tools that modify Bitbucket, currently PR comment creation | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_pull_requestA | Retrieves metadata, description, state/status, author, reviewers, source branch, destination branch, timestamps, and links for a specific Bitbucket pull request. |
| get_pull_request_diffA | Retrieves the raw diff and, when available, a structured list of changed files for a specific Bitbucket pull request. |
| add_pull_request_commentA | Creates a general, file, or inline line comment on a Bitbucket pull request. This is a write operation and requires BITBUCKET_ENABLE_WRITE_TOOLS=true. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/inceon/bitbucket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server