Bitbucket

{/* Generated by scripts/generate-integration-catalog.mjs. Do not edit by hand. */}

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: OAuth 2.0.
  • Connection: A user authorizes the connection in the provider's consent screen.
  • Scopes: repository, pullrequest:write, issue, account.

Credentials

Set these per environment. See Connect an integration.

These variables are required only when you supply your own OAuth app. If a managed app is available, you can connect without setting them. Provider permissions and consent still apply.

VariableRequiredDescription
BITBUCKET_CLIENT_IDYesBitbucket OAuth Consumer Key Docs.
BITBUCKET_CLIENT_SECRETYesBitbucket OAuth Consumer Secret Docs.

Tools

ToolAccessDescription
List Repositories<br /><code className="reference-identifier">bitbucket__list_repositories</code>ReadList repositories
Get Repository<br /><code className="reference-identifier">bitbucket__get_repository</code>ReadGet repository
List Pull Requests<br /><code className="reference-identifier">bitbucket__list_pull_requests</code>ReadList pull requests
Get Pull Request<br /><code className="reference-identifier">bitbucket__get_pull_request</code>ReadGet pull request
Create Pull Request<br /><code className="reference-identifier">bitbucket__create_pull_request</code>WriteCreate pull request
Add Pull Request Comment<br /><code className="reference-identifier">bitbucket__add_pull_request_comment</code>WriteAdd pull request comment
List Issues<br /><code className="reference-identifier">bitbucket__list_issues</code>ReadList issues

Verify the connection

Call a read tool such as bitbucket__list_repositories with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.