Integration · Developer tools
Connect Claude & ChatGPT to Bitbucket
Ask your AI which pull requests are waiting, what a change does, or why the last pipeline failed in Bitbucket. It reads repositories, branches, commits, files and diffs, and can open, comment on, approve and merge pull requests. It also reads pipeline runs and step logs, so you can follow up on code and builds from the chat.
Free plan, no credit card. Takes about a minute.
Try asking
“Which pull requests are open in the api repository?”
The AI lists the open pull requests with title, author, source and destination branch.
“Review pull request 57 and point out anything risky.”
It reads the diff and the changed files with lines added and removed, then writes a short review with the parts worth a closer look.
“Why did the last pipeline on main fail?”
It finds the newest pipeline run, lists its steps to see which one failed and reads that step's log.
What your AI can do
Pull requests
List, open and update pull requests, read diffs, files, commits and comments, and comment, approve, request changes, decline or merge.
Code and history
List repositories, projects and branches, read files and folders at any branch or commit, and look up commits.
Pipelines
List pipeline runs, see which step failed and read the step log.
“Open a pull request from feature/login-fix to main and add Sara as reviewer.”
It looks up Sara's account ID among the workspace members and opens the pull request with title, summary and reviewer.
“Approve PR 57 and squash-merge it.”
It approves the pull request as you, then merges it with the squash strategy.
“Show me config/settings.yml on the release branch.”
It reads the file's contents at the head of that branch.
260 tools for Bitbucket
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
approve_commitVisible to othersApprove a commit (commit). Has effects visible outside this system.approve_commit_approveDeletesApprove a commit (commit). Destructive action; may require approval. API summary: Unapprove a commit.approve_pull_requestVisible to othersApprove a pull request as the signed-in user.approve_pullrequest_approveDeletesApprove a pullrequest (pull request id). Destructive action; may require approval. API summary: Unapprove a pull request.comment_on_pull_requestChanges dataAdd a comment to a pull request. Put the text in `content` ({"raw": "..."}); add `inline` with a file path and line to comment on code, or `parent` to reply.create_a_variable_for_a_workspaceChanges dataCreate a new variable. Required: type. API summary: Create a variable for a workspace.create_branchChanges dataCreate a new branch. Search branches first to avoid duplicates. API summary: Create a branch.create_buildChanges dataCreate a new build. Required: type, key or state. API summary: Create a build status for a commit.create_commit_messageChanges dataCreate a new message for a commit. Search messages first to avoid duplicates. API summary: Create comment for a commit.create_environment_changeChanges dataCreate a new change for a environment. API summary: Update an environment.create_environment_variableChanges dataCreate a new variable for a environment. Required: type. API summary: Create a variable for an environment.create_known_hostChanges dataCreate a new known host. Required: type. API summary: Create a known host.create_message_resolveChanges dataCreate a new resolve for a message. API summary: Resolve a comment thread.create_pipeline_stop_pipelineChanges dataCreate a new stop pipeline for a pipeline. API summary: Stop a pipeline.create_project_deploy_keyChanges dataCreate a new deploy key for a project. API summary: Create a project deploy key.create_pull_requestChanges dataOpen a pull request with `title`, `source` branch, optional `destination` branch (defaults to main), `summary` and `reviewers`. Set `type` to 'pullrequest'.create_pullrequest_taskChanges dataCreate a new task for a pullrequest. Required: content. Search tasks first to avoid duplicates. API summary: Create a task on a pull request.create_report_annotationVisible to othersCreate a new annotation for a report. Required: items. Has effects visible outside this system. API summary: Bulk create or update annotations.create_repository_branch_restrictionChanges dataCreate a new branch restriction for a repository. Required: type, kind, branch match kind or pattern. API summary: Create a branch restriction rule.create_repository_commitChanges dataCreate a new commit for a repository. API summary: List commits with include/exclude.create_repository_deploy_keyChanges dataCreate a new deploy key for a repository. API summary: Add a repository deploy key.create_repository_downloadChanges dataCreate a new download for a repository. API summary: Upload a download artifact.create_repository_environmentChanges dataCreate a new environment for a repository. Required: type. API summary: Create an environment.create_repository_forkChanges dataCreate a new fork for a repository. Required: type. Search forks first to avoid duplicates. API summary: Fork a repository.create_repository_hookChanges dataCreate a new hook for a repository. API summary: Create a webhook for a repository.create_repository_pipelineChanges dataCreate a new pipeline for a repository. Required: type. API summary: Run a pipeline.create_repository_srcChanges dataCreate a new src for a repository. API summary: Create a commit by uploading a file.create_runnerChanges dataCreate a new runner. API summary: Create repository runner.create_scheduleChanges dataCreate a new schedule. Required: type, target or cron pattern. API summary: Create a schedule.create_snippetChanges dataCreate a new snippet. Required: type. API summary: Create a snippet.create_snippet_messageChanges dataCreate a new message for a snippet. Required: type. Search messages first to avoid duplicates. API summary: Create a comment on a snippet.create_tagChanges dataCreate a new tag. Required: type. Search tags first to avoid duplicates. API summary: Create a tag.create_user_gpg_keyChanges dataCreate a new gpg key for a user. Required: type. API summary: Add a new GPG key.create_user_ssh_keyChanges dataCreate a new ssh key for a user. API summary: Add a new SSH key.create_variableChanges dataCreate a new variable. Required: type. API summary: Create a variable for a repository.create_workspace_hookChanges dataCreate a new hook for a workspace. API summary: Create a webhook for a workspace.create_workspace_projectChanges dataCreate a new project for a workspace. Required: type. API summary: Create a project in a workspace.create_workspace_runnerChanges dataCreate a new runner. API summary: Create workspace runner.decline_pull_requestVisible to othersDecline (close without merging) a pull request. A declined pull request cannot be reopened.delete_a_previous_revision_of_a_snippetDeletesPermanently delete a snippet by node id. Destructive action; may require approval. API summary: Delete a previous revision of a snippet.delete_a_variable_for_a_workspaceDeletesPermanently delete a variable by variable uuid. Destructive action; may require approval. API summary: Delete a variable for a workspace.delete_addonsMoves moneyPermanently delete a addon. Financial or irreversible action; may require approval. API summary: Delete an app.delete_an_explicit_group_permission_for_a_projectDeletesPermanently delete a project by project slug. Destructive action; may require approval. API summary: Delete an explicit group permission for a project.delete_an_explicit_user_permission_for_a_projectDeletesPermanently delete a user by selected user id. Destructive action; may require approval. API summary: Delete an explicit user permission for a project.delete_branchDeletesPermanently delete a branch by name. Destructive action; may require approval.delete_branch_restrictionDeletesPermanently delete a branch restriction by branch restriction id. Destructive action; may require approval. API summary: Delete a branch restriction rule.delete_cacheDeletesPermanently delete a cache by cache uuid. Destructive action; may require approval.delete_cachesMoves moneyPermanently delete a cache by repo slug. Financial or irreversible action; may require approval. API summary: Delete caches.delete_commit_messageDeletesPermanently delete a message by message id. Destructive action; may require approval. API summary: Delete a commit comment.delete_commit_reportDeletesPermanently delete a report by report id. Destructive action; may require approval.delete_default_reviewerDeletesPermanently delete a default reviewer by target username. Destructive action; may require approval. API summary: Remove a user from the default reviewers.delete_deploy_keyDeletesPermanently delete a deploy key by key id. Destructive action; may require approval. API summary: Delete a repository deploy key.delete_downloadDeletesPermanently delete a download by filename. Destructive action; may require approval. API summary: Delete a download artifact.delete_environmentDeletesPermanently delete a environment by environment uuid. Destructive action; may require approval. API summary: Delete an environment.delete_environment_variableDeletesPermanently delete a variable by variable uuid. Destructive action; may require approval. API summary: Delete a variable for an environment.delete_hookDeletesPermanently delete a hook by uid. Destructive action; may require approval. API summary: Delete a webhook for a repository.delete_key_pairsMoves moneyPermanently delete a key pair by repo slug. Financial or irreversible action; may require approval. API summary: Delete SSH key pair.delete_known_hostDeletesPermanently delete a known host by known host uuid. Destructive action; may require approval.delete_messageDeletesPermanently delete a message by message id. Destructive action; may require approval. API summary: Delete a comment on a snippet.delete_message_resolvesMoves moneyPermanently delete a resolve by comment id. Financial or irreversible action; may require approval. API summary: Reopen a comment thread.delete_projectDeletesPermanently delete a project by project slug. Destructive action; may require approval. API summary: Delete an explicit group permission for a repository.delete_project_default_reviewerDeletesPermanently delete a default reviewer by selected user. Destructive action; may require approval. API summary: Remove the specific user from the project's default reviewers.delete_project_deploy_keyDeletesPermanently delete a deploy key by key id. Destructive action; may require approval. API summary: Delete a deploy key from a project.delete_pullrequest_messageDeletesPermanently delete a message by message id. Destructive action; may require approval. API summary: Delete a comment on a pull request.delete_pullrequest_request_changesMoves moneyPermanently delete a request change by pull request id. Financial or irreversible action; may require approval. API summary: Remove change request for a pull request.delete_pullrequest_taskDeletesPermanently delete a task by task id. Destructive action; may require approval. API summary: Delete a task on a pull request.delete_report_annotationDeletesPermanently delete a annotation by annotation id. Destructive action; may require approval. API summary: Delete an annotation.delete_repositoryDeletesPermanently delete a repository by repo slug. Destructive action; may require approval.delete_runnerDeletesPermanently delete a runner by runner uuid. Destructive action; may require approval. API summary: Delete repository runner.delete_scheduleDeletesPermanently delete a schedule by schedule uuid. Destructive action; may require approval.delete_snippetDeletesPermanently delete a snippet by encoded id. Destructive action; may require approval.delete_snippet_watchesMoves moneyPermanently delete a watch by encoded id. Financial or irreversible action; may require approval. API summary: Stop watching a snippet.delete_tagDeletesPermanently delete a tag by name. Destructive action; may require approval.delete_userDeletesPermanently delete a user by selected user id. Destructive action; may require approval. API summary: Delete an explicit user permission for a repository.delete_user_gpg_keyDeletesPermanently delete a gpg key by fingerprint. Destructive action; may require approval.delete_user_ssh_keyDeletesPermanently delete a ssh key by key id. Destructive action; may require approval.delete_variableDeletesPermanently delete a variable by variable uuid. Destructive action; may require approval. API summary: Delete a variable for a repository.delete_workspace_hookDeletesPermanently delete a hook by uid. Destructive action; may require approval. API summary: Delete a webhook for a workspace.delete_workspace_projectDeletesPermanently delete a project by project key. Destructive action; may require approval. API summary: Delete a project for a workspace.delete_workspace_runnerDeletesPermanently delete a runner by runner uuid. Destructive action; may require approval. API summary: Delete workspace runner.get_a_previous_revision_of_a_snippetGet one snippet by node id. API summary: Get a previous revision of a snippet.get_a_previous_snippet_changeGet one commit by revision. API summary: Get a previous snippet change.get_a_snippetGet one snippet by encoded id. API summary: Get a snippet.get_a_snippet_s_raw_fileGet one document by path. API summary: Get a snippet's raw file.get_a_userGet one user by selected user. API summary: Get a user.get_an_email_address_for_current_userGet one message by email. API summary: Get an email address for current user.get_an_explicit_group_permission_for_a_projectGet one project by project slug. API summary: Get an explicit group permission for a project.get_an_explicit_user_permission_for_a_projectGet one user by selected user id. API summary: Get an explicit user permission for a project.get_branchGet one branch by name. API summary: Get a branch.get_branch_restrictionGet one branch restriction by branch restriction id. API summary: Get a branch restriction rule.get_buildGet one build by build key. API summary: Get a build status for a commit.get_commitGet one commit by hash, with author, date, message and parent commits.get_commit_messageGet one message for a commit by message id. API summary: Get a commit comment.get_commit_reportGet one report for a commit by report id. API summary: Get a report.get_current_userGet the signed-in user's display name, account ID and UUID.get_default_reviewerGet one default reviewer by target username. API summary: Get a default reviewer.get_deploy_keyGet one deploy key by key id. API summary: Get a repository deploy key.get_deploymentGet one deployment by deployment uuid. API summary: Get a deployment.get_diffGet one diff by spec. API summary: Compare two commits.get_diffstatGet one diffstat by spec. API summary: Compare two commit diff stats.get_documentGet one document by path. API summary: Get a snippet's raw file at HEAD.get_downloadGet one download by filename. API summary: Get a download artifact link.get_environmentGet one environment by environment uuid. API summary: Get an environment.get_file_conflictGet one file conflict by spec. API summary: Get file conflicts for a commit spec.get_file_contentsRead a file's contents, or list a folder, at a `commit` hash or branch name and a `path` in the repository.get_filehistoryGet one filehistory by path. API summary: List commits that modified a file.get_hookGet one hook by uid. API summary: Get a webhook for a repository.get_hook_eventGet one hook event by subject type. API summary: List subscribable webhook types.get_known_hostGet one known host by known host uuid. API summary: Get a known host.get_merge_baseGet one merge base by revspec. API summary: Get the common ancestor between two commits.get_messageGet one message by message id. API summary: Get a comment on a snippet.get_patchGet one patch by spec. API summary: Get a patch for two commits.get_pipelineGet one pipeline run by `pipeline_uuid`, with its state, result, branch, commit and duration.get_pipeline_stepGet one step for a pipeline by step uuid. API summary: Get a step of a pipeline.get_pipeline_step_logGet the log output of one pipeline step by `pipeline_uuid` and `step_uuid`.get_projectGet one project by project slug. API summary: Get an explicit group permission for a repository.get_project_default_reviewerGet one default reviewer for a project by selected user. API summary: Get a default reviewer.get_project_deploy_keyGet one deploy key for a project by key id. API summary: Get a project deploy key.get_pull_requestGet one pull request by `pull_request_id`: title, description, source and destination branches, reviewers, approvals and state.get_pull_request_diffGet the full code diff of a pull request as unified diff text.get_pullrequest_messageGet one message for a pullrequest by message id. API summary: Get a comment on a pull request.get_pullrequest_taskGet one task for a pullrequest by task id. API summary: Get a task on a pull request.get_report_annotationGet one annotation for a report by annotation id. API summary: Get an annotation.get_repositoryGet one repository by `repo_slug`, with its description, main branch, language and last update.get_runnerGet one runner by runner uuid. API summary: Get repository runner.get_scheduleGet one schedule by schedule uuid. API summary: Get a schedule.get_snippetGet one snippet by workspace. API summary: List snippets in a workspace.get_step_logGet one log for a step by log uuid. API summary: Get the logs for the build container or a service container for a given step of a pipeline.get_tagGet one tag by name. API summary: Get a tag.get_task_statusGet one task status by task id. API summary: Get the merge task status for a pull request.get_the_branching_model_config_for_a_projectList settings. API summary: Get the branching model config for a project.get_userGet one user by selected user id. API summary: Get an explicit user permission for a repository.get_user_gpg_keyGet one gpg key for a user by fingerprint. API summary: Get a GPG key.get_user_ssh_keyGet one ssh key for a user by key id. API summary: Get a SSH key.get_variableGet one variable by variable uuid. API summary: Get a variable for a repository.get_variable_for_a_workspaceGet one variable by variable uuid. API summary: Get variable for a workspace.get_workspaceGet one workspace by workspace. API summary: Get a workspace.get_workspace_hookGet one hook for a workspace by uid. API summary: Get a webhook for a workspace.get_workspace_projectGet one project for a workspace by project key. API summary: Get a project for a workspace.get_workspace_runnerGet one runner by runner uuid. API summary: Get workspace runner.get_workspace_runnersList runners. API summary: Get workspace runners.get_workspace_userGet one user for a workspace by member. API summary: Get user membership for a workspace.list_a_repository_permissions_for_a_workspaceGet one repository by repo slug. API summary: List a repository permissions for a workspace.list_addon_client_keysList client keys for a addon. API summary: Get the client key of a Connect addon.list_all_repository_permissions_for_a_workspaceSearch repositories by q or sort. Use this to find existing repositories before creating a new repository. API summary: List all repository permissions for a workspace.list_branchesList the branches in a repository, optionally filtered with `q` such as 'name ~ "feature"'.list_cache_content_urisList content uris for a cache. API summary: Get cache content URI.list_cachesList caches.list_commit_pullrequestsList pullrequests for a commit. Optional filters: pagelen. Results are paginated. API summary: List pull requests that contain a commit.list_commit_reportsList reports for a commit.list_commitsList recent commits in a repository, newest first.list_commits_for_revisionGet one commit by revision. API summary: List commits for revision.list_environment_variablesList variables for a environment. API summary: List variables for an environment.list_explicit_group_permissions_for_a_projectList projects. API summary: List explicit group permissions for a project.list_explicit_user_permissions_for_a_projectList users. API summary: List explicit user permissions for a project.list_hook_eventsList hook events. API summary: Get a webhook resource.list_key_pairsList key pairs. API summary: Get SSH key pair.list_keys_jsonsList keys jsons. API summary: Get keys for OIDC in Pipelines.list_known_hostsList known hosts.list_messagesList messages. API summary: List email addresses for current user.list_openid_configurationsList openid configurations. API summary: Get OpenID configuration for OIDC in Pipelines.list_pipeline_stepsList the steps of a pipeline run with each step's status, to see which step failed.list_pipelinesList pipeline (CI/CD) runs for a repository, with status, branch and trigger; sort with `sort` '-created_on' for newest first.list_project_branching_modelsList branching models for a project. API summary: Get the branching model for a project.list_project_default_reviewersList default reviewers for a project. API summary: List the default reviewers in a project.list_project_deploy_keysList deploy keys for a project. API summary: List project deploy keys.list_projectsList the projects that group repositories in your workspace.list_projects_2List projects. API summary: List explicit group permissions for a repository.list_public_keysList public keys. API summary: Get the workspace system GPG public key(s).list_pull_request_commentsList the comments on a pull request, including inline code comments.list_pull_request_commitsList the commits included in a pull request.list_pull_request_filesList the files changed in a pull request, with lines added and removed per file.list_pull_requestsList pull requests in a repository; filter by `state` OPEN, MERGED, DECLINED or SUPERSEDED (open by default).list_pullrequest_conflictsList conflicts for a pullrequest. API summary: Get file conflicts for a pull request.list_pullrequest_patchesList patches for a pullrequest. API summary: Get the patch for a pull request.list_pullrequest_tasksList tasks for a pullrequest. API summary: List a pull request activity log.list_report_annotationsList annotations for a report.list_repositoriesList the repositories in your workspace, optionally filtered with a `q` query such as 'name ~ "web"' and sorted with `sort` (e.g. '-updated_on').list_repository_branch_restrictionsList branch restrictions for a repository. Optional filters: kind or pattern.list_repository_branching_modelsList branching models for a repository. API summary: Get the branching model for a repository.list_repository_default_reviewersList default reviewers for a repository.list_repository_deploy_keysList deploy keys for a repository. API summary: List repository deploy keys.list_repository_deploymentsList deployments for a repository.list_repository_downloadsList downloads for a repository. API summary: List download artifacts.list_repository_effective_branching_modelsList effective branching models for a repository. API summary: Get the effective, or currently applied, branching model for a repository.list_repository_effective_default_reviewersList effective default reviewers for a repository.list_repository_environmentsList environments for a repository.list_repository_hooksList hooks for a repository. API summary: List webhooks for a repository.list_repository_override_settingsList override settings for a repository. API summary: Retrieve the inheritance state for repository settings.list_repository_pipelines_configsList pipelines configs for a repository. API summary: Get configuration.list_repository_srcsList srcs for a repository. API summary: Get the root directory of the main branch.list_repository_watchersList watchers for a repository. API summary: List repositories watchers.list_runnersList runners. API summary: Get repository runners.list_schedule_executionsList executions for a schedule. API summary: List executions of a schedule.list_schedulesList schedules.list_settingsList settings. API summary: Get the branching model config for a repository.list_snippet_commitsList commits for a snippet. API summary: List snippet changes.list_snippet_diffsList diffs for a snippet. Optional filters: path. API summary: Get snippet changes between versions.list_snippet_messagesList messages for a snippet. API summary: List comments on a snippet.list_snippet_patchesList patches for a snippet. API summary: Get snippet patch between versions.list_snippet_watchesList watches for a snippet. API summary: Check if the current user is watching a snippet.list_step_test_reportsList test reports for a step. API summary: Get a summary of test reports for a given step of a pipeline.list_tasksList tasks. API summary: List a pull request activity log.list_ticket_test_case_reasonsList test case reasons for a ticket. API summary: Get test case reasons (output) for a given test case in a step of a pipeline.list_ticketsList tickets. API summary: Get test cases for a given step of a pipeline.list_user_gpg_keysList gpg keys for a user.list_user_pull_requestsList the pull requests authored by one person (`selected_user`, their account ID or UUID) across the workspace, filtered by `state`.list_user_ssh_keysList ssh keys for a user.list_usersList users. API summary: List explicit user permissions for a repository.list_variablesList variables. API summary: List variables for a repository.list_variables_for_a_workspaceList variables. API summary: List variables for a workspace.list_workspace_hooksList hooks for a workspace. API summary: List webhooks for a workspace.list_workspace_membersList the people who are members of your workspace, with their account IDs for reviewers.list_workspace_permissionsList permissions for a workspace. API summary: Get user permission on a workspace.list_workspacesList workspaces. Optional filters: sort or administrator. API summary: List workspaces for the current user.merge_pull_requestVisible to othersMerge a pull request into its destination branch, with optional `message`, `merge_strategy` (merge_commit, squash, fast_forward) and `close_source_branch`. Set `type` to 'pullrequest'. The merge cannot be undone from here.request_changesChanges dataMark a pull request as needing changes as the signed-in user.search_checksSearch checks by q. Use this to find existing checks before creating a new check. API summary: List pull request mergeability checks.search_commit_messagesSearch messages for a commit by q or sort. Use this to find existing messages before creating a new message. API summary: List a commit's comments.search_commit_statusesSearch statuses for a commit by refname, q or sort. Use this to find existing statuses before creating a new status. API summary: List commit statuses for a commit.search_pullrequest_statusesSearch statuses for a pullrequest by q or sort. Use this to find existing statuses before creating a new status. API summary: List commit statuses for a pull request.search_pullrequest_tasksSearch tasks for a pullrequest by q, sort or pagelen. Use this to find existing tasks before creating a new task. API summary: List tasks on a pull request.search_repositoriesSearch repositories by q or sort. Use this to find existing repositories before creating a new repository. API summary: List repository permissions in a workspace for a user.search_repository_forksSearch forks for a repository by role, q or sort. Use this to find existing forks before creating a new fork. API summary: List repository forks.search_repository_refsSearch refs for a repository by q or sort. Use this to find existing refs before creating a new ref. API summary: List branches and tags.search_tagsSearch tags by q or sort. Use this to find existing tags before creating a new tag. API summary: List tags.search_workspace_permissionsSearch permissions for a workspace by q. Use this to find existing permissions before creating a new permission. API summary: List user permissions in a workspace.update_addonsVisible to othersUpdate an existing addon. Has effects visible outside this system. API summary: Update an installed app.update_branch_restrictionChanges dataUpdate an existing branch restriction identified by branch restriction id. API summary: Update a branch restriction rule.update_buildChanges dataUpdate an existing build identified by build key. API summary: Update a build status for a commit.update_build_numbersVisible to othersUpdate an existing build number identified by repo slug. Has effects visible outside this system. API summary: Update the next build number.update_commitChanges dataUpdate an existing commit identified by revision. API summary: List commits for revision using include/exclude.update_commit_messageChanges dataUpdate an existing message identified by message id. API summary: Update a commit comment.update_commit_reportChanges dataUpdate an existing report identified by report id. API summary: Create or update a report.update_default_reviewerChanges dataUpdate an existing default reviewer identified by target username. API summary: Add a user to the default reviewers.update_deploy_keyChanges dataUpdate an existing deploy key identified by key id. API summary: Update a repository deploy key.update_environment_variableChanges dataUpdate an existing variable identified by variable uuid. API summary: Update a variable for an environment.update_hookChanges dataUpdate an existing hook identified by uid. API summary: Update a webhook for a repository.update_key_pairsVisible to othersUpdate an existing key pair identified by repo slug. Has effects visible outside this system. API summary: Update SSH key pair.update_known_hostChanges dataUpdate an existing known host identified by known host uuid. API summary: Update a known host.update_messageChanges dataUpdate an existing message identified by message id. API summary: Update a comment on a snippet.update_projectDeletesUpdate an existing project identified by project slug. Destructive action; may require approval. API summary: Update an explicit group permission for a repository.update_project_default_reviewerChanges dataUpdate an existing default reviewer identified by selected user. API summary: Add the specific user as a default reviewer for the project.update_pull_requestChanges dataChange an open pull request's title, description, destination branch or reviewers. Set `type` to 'pullrequest'.update_pullrequest_messageChanges dataUpdate an existing message identified by message id. API summary: Update a comment on a pull request.update_pullrequest_taskChanges dataUpdate an existing task identified by task id. API summary: Update a task on a pull request.update_report_annotationChanges dataUpdate an existing annotation identified by annotation id. API summary: Create or update an annotation.update_repositoryChanges dataUpdate an existing repository identified by repo slug. API summary: Update a repository.update_repository_override_settingsVisible to othersUpdate an existing override setting identified by repo slug. Has effects visible outside this system. API summary: Set the inheritance state for repository settings.update_repository_pipelines_configsVisible to othersUpdate an existing pipelines config identified by repo slug. Has effects visible outside this system. API summary: Update configuration.update_runnerChanges dataUpdate an existing runner identified by runner uuid. API summary: Update repository runner.update_scheduleChanges dataUpdate an existing schedule identified by schedule uuid. API summary: Update a schedule.update_settingsVisible to othersUpdate an existing setting identified by repo slug. Has effects visible outside this system. API summary: Update the branching model config for a repository.update_snippetChanges dataUpdate an existing snippet identified by workspace. API summary: Create a snippet for a workspace.update_snippet_watchesVisible to othersUpdate an existing watch identified by encoded id. Has effects visible outside this system. API summary: Watch a snippet.update_userDeletesUpdate an existing user identified by selected user id. Destructive action; may require approval. API summary: Update an explicit user permission for a repository.update_user_ssh_keyChanges dataUpdate an existing ssh key identified by key id. API summary: Update a SSH key.update_variableChanges dataUpdate an existing variable identified by variable uuid. API summary: Update a variable for a repository.update_workspace_hookChanges dataUpdate an existing hook identified by uid. API summary: Update a webhook for a workspace.update_workspace_projectChanges dataUpdate an existing project identified by project key. API summary: Update a project for a workspace.
Set up in three steps
- 1
Pick the app
Create a free HeyMyApps account and choose Bitbucket from the app list.
- 2
Paste your key
Enter your Atlassian account email, a Bitbucket API token and your workspace ID (the short name in bitbucket.org/<workspace>/). To create the token, open Personal settings > Atlassian account settings > Security > Create and manage API tokens, choose Create API token with scopes, pick Bitbucket and the permissions you need.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in Bitbucket?
The AI can read repositories, projects, branches, commits, files, pull requests, diffs, comments, pipeline runs and step logs. It can open and update pull requests, comment on them, approve or request changes, decline them and merge them. It only reaches what your API token and its scopes allow.
Does the AI see my Bitbucket API token?
No. Your Bitbucket credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on, so you can start read-only. Merging and declining a pull request cannot be undone from here, and both can require your approval before they run. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
HeyMyApps has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Bitbucket account.
Why do I enter a workspace ID?
Almost every Bitbucket request is made inside a workspace. HeyMyApps stores your workspace ID with the connection, so the AI never has to ask for it and only works in that workspace. HeyMyApps is an independent service and is not affiliated with Atlassian.
Let your AI work in Bitbucket today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Bitbucket freeHeyMyApps is not affiliated with Bitbucket. Product names are trademarks of their owners.






