Bitbucket MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_USERNAME | Yes | Your Bitbucket username or email address. | |
| BITBUCKET_WORKSPACE | No | Default Bitbucket workspace slug (optional). | |
| BITBUCKET_APP_PASSWORD | Yes | Your Bitbucket App Password. Requires permissions for Account (Read), Workspace (Read), Repositories (Read/Write), and Pull Requests (Read/Write). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_workspaces | List all available Bitbucket workspaces |
| list_repositories | List all repositories in a workspace |
| get_repository | Get details of a specific repository |
| list_branches | List all branches in a repository |
| get_branch | Get details of a specific branch |
| list_pull_requests | List pull requests in a repository |
| get_pull_request | Get details of a specific pull request |
| create_pull_request | Create a new pull request |
| approve_pull_request | Approve a pull request |
| merge_pull_request | Merge a pull request |
| add_pull_request_comment | Add a comment to a pull request |
| list_commits | List commits in a repository |
| get_commit | Get details of a specific commit |
| get_file_content | Get the content of a file from a repository |
| search_code | Search for code in a workspace |
| compare_branches | Compare two branches |
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/jlromano/bitbucket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server