Skip to main content

At a glance

  • Availability: Experimental (how to enable).
  • Auth: 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. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
BITBUCKET_CLIENT_IDYesBitbucket OAuth Consumer Key Docs.
BITBUCKET_CLIENT_SECRETYesBitbucket OAuth Consumer Secret Docs.

Tools

ToolAccessDescription
List RepositoriesReadGet list of user’s repositories
Get RepositoryReadGet details of a specific repository
List Pull RequestsReadGet pull requests for a repository
Get Pull RequestReadGet details of a specific pull request
Create Pull RequestWriteCreate a new pull request
Add Pull Request CommentWriteAdd a comment to a pull request
List IssuesReadGet issues for a repository

Example prompts

  • Show me my open pull requests on Bitbucket and help me review them. Summarize the changes and any comments.
  • Show me all my Bitbucket repositories with their details and recent activity.
  • Show me the open issues in my repositories and help me prioritize them.