Bitbucket MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_USERNAME | Yes | Your Bitbucket username | |
| BITBUCKET_WORKSPACE | No | Your Bitbucket workspace slug (optional; can also be passed as a tool parameter) | |
| BITBUCKET_APP_PASSWORD | Yes | Your Bitbucket App Password |
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_workspacesA | List all Bitbucket workspaces accessible by the authenticated user. Returns workspace names, slugs, and descriptions. |
| list_repositoriesB | List all repositories in a Bitbucket workspace. Returns repository names, slugs, descriptions, and links. |
| get_repositoryA | Get detailed information about a specific repository including its description, language, size, and URLs. |
| list_branchesA | List all branches in a repository. Returns branch names and latest commit hashes. |
| list_commitsA | List recent commits in a repository, optionally filtered by branch. Returns commit messages, authors, dates, and hashes. |
| get_commitB | Get detailed information about a specific commit including author, message, date, and files changed. |
| browse_directoryA | Browse the contents of a directory in a repository. Returns file and folder names, types, and paths. Use this to explore the repository structure. |
| get_file_contentA | Read the full content of a file in a repository. Returns the raw file content as text. Use this to read source code files. |
| search_codeA | Search for code across a repository using Bitbucket's code search. Returns matching files and snippet previews. |
| get_pull_requestsB | List pull requests in a repository. Returns PR titles, authors, states, and descriptions. |
| get_readmeA | Fetch and read the README file of a repository. Automatically finds README.md, README.txt, or readme.rst. |
| get_commit_diffA | Get the diff/patch of a specific commit showing all changes made. Returns unified diff format. |
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/chzkyy/mcp_bitbucket'
If you have feedback or need assistance with the MCP directory API, please join our Discord server