Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Bitbottle

MCP server by proggarapsody Verified · npm:@proggarapsody

Bitbottle is a command-line tool and MCP server for Bitbucket Cloud and self-hosted Server or Data Center. It is for developers who manage pull requests, repos and pipelines from a terminal or an AI assistant.

  • Score 80
  • 3 stars
  • 3.6k a week
  • MIT
  • Updated

Install Bitbottle

Built from the published package, never by AI.

claude mcp add bitbottle -- npx -y @proggarapsody/bitbottle

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Bitbottle in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the bitbottle block.

About

Bitbottle is a command-line tool for Bitbucket Cloud and self-hosted Bitbucket Server or Data Center. It covers pull requests, repos, branches, tags, commits, pipelines and raw API access, and uses the same commands for both backends. It is a Go program distributed on npm as @proggarapsody/bitbottle. The project is independent and does not require GitHub CLI.

It includes an mcp command that starts an MCP stdio server for AI assistants. Authentication uses an API token for Cloud or a personal access token for Server or Data Center, and tokens are stored in the OS keyring. Inside a git repo with a Bitbucket remote, the host and project are detected automatically. The npm install also registers an agent skill with detected agent runtimes. It suits developers who work with Bitbucket from the terminal or an AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • merge_prMerges a pull request. Cloud auto-merge with auto=true returns an unavailable error for now.
  • prLists, views, creates, reviews, approves, declines and merges pull requests.
  • pr commentLists, adds, edits, deletes and resolves review comments, including inline ones.
  • pipelineLists, runs and views Bitbucket Cloud pipelines, along with their steps and logs.
  • repoLists, creates, clones and views repositories.
  • branchLists, creates, deletes and compares branches.
  • apiPasses raw REST requests through, with pagination and jq filtering.

What you need

  • Bitbucket Cloud account with an API token, or a Bitbucket Server or Data Center personal access token
  • Node.js 18 or later for the bitbottle skill install command

Try asking

  • List the open pull requests in this repo and who reviewed them.
  • Create a pull request from this branch into main with a title.
  • Show the latest pipeline runs and logs for my Bitbucket Cloud repo.

Good to know

  • Cloud auto-merge is deferred for this release and returns an error.
  • Pipelines, issues, search and several other commands are Cloud only.
  • Branch protection is Server or Data Center only. Cloud returns an unsupported error.
  • Data Center behaviour is marked as not tested live in the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Bitbottle

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Bitbottle: common questions

Does bitbottle work with both Bitbucket Cloud and Server or Data Center?

Yes. The source says both use the same CLI, though some features are specific to one host type and are marked in the command list.

Is bitbottle part of GitHub CLI?

No. It is a standalone Bitbucket CLI with a similar command-line style and does not require gh.

Where are credentials stored?

Tokens are stored in the OS keyring, and host settings are kept in ~/.config/bitbottle/hosts.yml. Tokens are removed from hosts.yml on every save.

How do I install Bitbottle?

In Claude Code run claude mcp add bitbottle -- npx -y @proggarapsody/bitbottle. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Bitbottle the official server?

Bitbottle is published by npm:@proggarapsody from its verified domain in the official MCP Registry.

Is Bitbottle free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Bitbottle safe to use?

It scores 80 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Bitbottle?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Bitbottle work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Bitbottle Install

Add to stack

Loading.