Bitbucket MCP Server for Claude - Read repositories and source code
All 12 tools have explicit definitions with names, descriptions, and input schemas. Naming follows verb_noun convention (list_, get_, browse_, search_) and is clear. Descriptions are present and adequate (avg ~120 chars), explaining what each tool does. However, output schemas are completely undocumented, LLMs cannot predict what fields to expect from responses. Parameter descriptions are present but generic; many lack format constraints, ranges, or examples of valid values. No error handling guidance visible. No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All tools are read-only (low risk), but composition could be tighter, e.g., list_repositories and get_repository could return consistent field sets to enable chaining.
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 detailed information about a specific commit including author, message, date, and files changed.
Get the diff/patch of a specific commit showing all changes made. Returns unified diff format.
Read the full content of a file in a repository. Returns the raw file content as text. Use this to read source code files.
List pull requests in a repository. Returns PR titles, authors, states, and descriptions.
Fetch and read the README file of a repository. Automatically finds README.md, README.txt, or readme.rst.
Output schemas completely undocumented. LLMs cannot predict response structure, field names, or types. This forces agents to guess what data is available and risks failed downstream tool calls.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All tools are read-only, but lack explicit marking. Agents cannot distinguish safe-to-retry operations from those with side effects.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | 2026-07-28+ | v2 |
Get detailed information about a specific repository including its description, language, size, and URLs.
List all branches in a repository. Returns branch names and latest commit hashes.
List recent commits in a repository, optionally filtered by branch. Returns commit messages, authors, dates, and hashes.
List all repositories in a Bitbucket workspace. Returns repository names, slugs, descriptions, and links.
List all Bitbucket workspaces accessible by the authenticated user. Returns workspace names, slugs, and descriptions.
Search for code across a repository using Bitbucket's code search. Returns matching files and snippet previews.
Parameter descriptions lack format constraints and ranges. E.g., 'branch' parameter has no guidance on valid format; 'query' in search_code has no length limits or syntax rules. LLMs cannot validate inputs before calling.
No pagination guidance. list_workspaces, list_repositories, list_branches, list_commits, get_pull_requests lack limit/offset/page parameters. Large result sets will blow context windows.
No error handling guidance. Tools lack recovery hints (e.g., 'If workspace not found, call list_workspaces() first'). Agents cannot self-correct on failures.