Bitbucket Server MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_URL | Yes | Bitbucket Server base URL | |
| BITBUCKET_TOKEN | No | Personal access token | |
| BITBUCKET_PASSWORD | No | Password (if not using token) | |
| BITBUCKET_USERNAME | No | Username (if not using token) | |
| BITBUCKET_DEFAULT_PROJECT | No | Default project key | |
| BITBUCKET_DEFAULT_REVIEWERS | No | Comma-separated reviewer usernames |
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 |
|---|---|
| list_repositoriesB | List all repositories in a Bitbucket project |
| list_pull_requestsC | List all pull requests for a repository in a Bitbucket project |
| list_branchesB | List all branches in a repository |
| get_repository_detailsC | Get details of a repository |
| create_pull_requestC | Create a new pull request |
| get_pull_requestB | Get pull request details |
| merge_pull_requestC | Merge a pull request |
| decline_pull_requestC | Decline a pull request |
| add_commentC | Add a comment to a pull request |
| get_diffB | Get pull request diff |
| get_reviewsC | Get pull request reviews |
| add_inline_commentB | Add an inline comment to a file in a pull request |
| suggest_code_changeC | Add a code suggestion comment to a file in a pull request |
| delete_pull_requestC | Delete a pull request by declining it |
| approve_pull_requestB | Approve a pull request |
| unapprove_pull_requestB | Unapprove (reject approval for) a pull request |
| get_repository_archiveB | Download the entire repository as a zip or tar archive |
| get_pull_request_commentsA | Get all comments on a pull request |
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/ManiKsi/bitbucket-server-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server