Labsco
MCP SERVER

AtlaCP

by gemyago

Bitbucket pull requests from an agent — read, create, update, approve, request changes, merge, diff, comment and resolve threads — with a CLI the author says agents should prefer.

Git Hosting & Code Review
Summary
The author tells you when not to use the MCP server.

"The `bbmd` cli should be the superior to MCP when used by AI agents" is in the README, and shipping `bbmd skill` to teach an agent the CLI backs it up — so the MCP path is really for editors and clients that only speak MCP. Multiple accounts is the practical feature: you can let the agent post PR reviews under a bot identity while your own token stays for your own actions.

What it is

Bitbucket tooling that ships two entry points: `bbcp`, an MCP server for editors and clients, and `bbmd`, a direct CLI for humans, scripts and agent workflows. The project states plainly that the CLI is superior to MCP when an AI agent is driving, and provides `bbmd skill` to teach an agent how to use it.

What you get
  • Pull requests read, created and updated — `bitbucket_read_pr`, `bitbucket_create_pr`, `bitbucket_update_pr`
  • Review actions — `bitbucket_approve_pr`, `bitbucket_request_pr_changes`, `bitbucket_merge_pr`
  • Diffs, both raw and summarised — `bitbucket_get_pr_diff`, `bitbucket_get_pr_diffstat`; file content at a specific commit — `bitbucket_get_file_content`
  • Comments added, listed and resolved — `bitbucket_add_pr_comment`, `bitbucket_list_pr_comments`, `bitbucket_resolve_pr_comment`
  • Pull request tasks created, listed and updated — `bitbucket_create_pr_task`, `bitbucket_list_pr_tasks`, `bitbucket_update_pr_task`
  • Multiple named accounts, so an agent can post reviews as a different identity than yours — `bbmd auth add`, `bbmd auth status`, `bbmd auth set-default`
  • A skill file generated for your agent — `bbmd skill` writes to the project-local or global skills folder for Opencode, Claude, Codex or Cursor
Requirements

A Bitbucket API token. Install both binaries with `npx --yes @atlacp/install`, which places `bbmd` and `bbcp` in `~/.atlacp/bin` and updates your shell profile — restart the shell afterwards. Configure an account with `bbmd auth add --name user --default --token-type Bearer|Basic --token-value "<token>"`; an existing `atlassian-accounts.json` can be copied to `~/.atlacp/accounts.json`. The MCP server runs over STDIO with `bbcp stdio`, or HTTP at `http://localhost:8080` and SSE at `/sse` with `bbcp http`. A personal API token needs read scopes for account, repository, pullrequest and more, plus write for issue and pullrequest.

Setup effort

One command plus a key — npx --yes @atlacp/install, then supply credentials