What it is
A Bitbucket client built for coding agents. It greps file contents with real regex on any branch, reads file windows without transferring the whole file, and covers pull requests end to end — comments, tasks, review status, diffs, merge. Bitbucket Server and Data Center are the primary target, with Cloud supported.
Requirements
BITBUCKET_USERNAME plus a credential, and for Server or Data Center a BITBUCKET_BASE_URL. On Server and Data Center that credential is an HTTP access token in BITBUCKET_TOKEN; on Cloud it is an app password in BITBUCKET_APP_PASSWORD and the base URL is omitted. Runs over stdio through npx @nexus2520/bitbucket-mcp-server. Requests are paced client-side to Data Center's per-user limiter — BITBUCKET_RATE_LIMIT_RPS defaults to 5 and the burst to 50 — so set BITBUCKET_RATE_LIMIT_RPS=0 only when your service account holds an admin rate-limit exemption. The grep cache is capped by BITBUCKET_SNAPSHOT_MAX_MB, default 256. BITBUCKET_TOOL_GROUPS exposes only the groups you name, enforced at dispatch. Search, blame, attachments and cross-repo PR listing are Server and Data Center only.
Setup effort
One command plus credentials — npx -y @nexus2520/bitbucket-mcp-server, then supply credentials