Mergehand

AI coding agent for Bitbucket Cloud

Mergehand takes a task from your tracker, delivers it as a pull request in Bitbucket Cloud and reviews incoming pull requests as private draft comments under your own name. You approve the plan and the result.

What Mergehand does with Bitbucket

Pull requests

The agent works on a separate working copy on your runner, and Mergehand opens the pull request in Bitbucket Cloud after you approve the result – as a draft unless you choose otherwise.

Reviews as draft comments

A code review is posted as draft comments under your name. Only you see them until you discard noise, edit what matters and publish them yourself.

CI status

Mergehand follows the statuses on the pull request, from Bitbucket Pipelines or another CI, so failing checks can be fixed with new commits on top.

Automations on Pro

On Pro, automatically prepare private draft reviews for pull requests where you are asked to review, follow up after new commits or replies, fix failing CI pipelines and resolve merge conflicts.

On GitHub and Bitbucket, the merge request is a pull request.

Bitbucket is your code host. For tasks, pair it with Jira, YouTrack, Trello, GitHub Issues or Forgejo Issues – each project has one code host and one tracker.

From ticket to Bitbucket pull request

Every task follows Mergehand's workflow with two explicit human approvals: you approve the plan before any code is written, and you inspect the summary, honest test report, testing guide and full diff before the first push. Mergehand never merges. See every step in our task example.

Connecting Bitbucket

Mergehand works with Bitbucket Cloud only. Instead of pasting a personal token, each member can sign in to Bitbucket. Mergehand then requests and renews the token itself. An Atlassian API token with scopes stays available as a fallback. Tokens are encrypted with AES-256-GCM on the Mergehand server.

What the agent gets

The agent gets only a read-only token. Opening pull requests and posting review drafts is done by the server. The push runs on your runner, in a container without the agent, on the server's instruction; the agent never pushes. Commits carry your own name and email with no trace of the agent.

AI agent

Mergehand works with Claude Code and Gemini CLI on your runner, and each member signs in to either or both with their own account: a Claude subscription or an Anthropic API key, or a Google AI Studio API key (Paid Gemini API tier recommended), Google Cloud Vertex AI or a Google account. You pay your AI provider directly with zero token markup – see pricing.

Questions about Bitbucket and Mergehand

Does Mergehand support Bitbucket Data Center?

No – Mergehand supports Bitbucket Cloud only. If you host Git on your own servers, Mergehand supports your own GitLab and your own Forgejo.

Will teammates see raw AI review comments on their pull requests?

No. Mergehand posts review findings as draft comments visible only to you until you edit and publish them under your own account.

Can we pair Jira Data Center with Bitbucket Cloud?

Yes. Pair Jira Cloud or your own Jira Data Center (or YouTrack, Trello, GitHub Issues or Forgejo Issues) with Bitbucket Cloud in any project.

See all integrations, security and data and how it works.

Mergehand is not made, endorsed or sponsored by Anthropic or Google LLC. Claude and Claude Code are trademarks of Anthropic, PBC. Google and Gemini are trademarks of Google LLC.