Services / Bitbucket

Connect Bitbucket to Claude and ChatGPT

Pull requests, reviews and pipelines.

  • API key or app password
  • 9 actions, 5 read-only
  • Several accounts at once
Connect Bitbucket Free plan, no card

How to connect

Your workspace, Atlassian email and an API token with Bitbucket scopes. Takes about two minutes.

  1. Open your Atlassian account settings → Security → API tokens and click Create API token with scopes.Open Atlassian API tokens
  2. Pick the Bitbucket app and the scopes read:repository, read:pullrequest, write:pullrequest and read:pipeline.
  3. Create the token and copy it.
  4. In the form, enter the workspace (acme for bitbucket.org/acme/), your Atlassian email and the token.
  • Bitbucket app passwords are no longer issued: use an Atlassian API token.
  • The AI merges only after you confirm.

Try asking

  • Which pull requests are open in the api repository on Bitbucket?
  • Summarize PR #42 and its comments.
  • Why did the last pipeline on main fail?
  • Approve PR #42 and comment “LGTM”.

Several accounts? Connect each one and give it a name, for example Work and Personal.

What the AI can do: 9 actions

Each action can be turned off per account, and changes can wait for your OK.

ActionAccess
Repositories
Repositories of the workspace.
bitbucket_list_repositories
Reads
Pull requests
Pull requests by state.
bitbucket_list_pull_requests
Reads
Get a pull request
Description, reviewers, approvals.
bitbucket_get_pull_request
Reads
Comments
Comments of a PR, inline ones included.
bitbucket_list_comments
Reads
Comment
A comment on a PR.
bitbucket_add_comment
Makes changes
Comment on a line
A comment on a line of a changed file.
bitbucket_add_inline_comment
Makes changes
Approve
Approves a PR as you.
bitbucket_approve
Makes changes
Merge
Merges a PR into its destination.
bitbucket_merge
Risky
Pipelines
Pipeline runs and their results.
bitbucket_list_pipelines
Reads