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 |
Capabilities
Features and capabilities supported by this server
| 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
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