Bitbucket
Connect Bitbucket to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Work in Bitbucket Cloud: browse workspaces, repositories, files, branches and commits; review, comment on, approve and merge pull requests; create branches and commits; and follow pipelines, code-insights reports, deployments and environments. Your agent works through your own Bitbucket account and gets 38 Bitbucket tools; CoreSpeed holds the credential, so the agent never sees the token. Calling it is free.
Tools38
- Free
bitbucket__list_workspacesList the Bitbucket workspaces the connected account belongs to, with whether it administers each.
- Free
bitbucket__get_workspaceGet a workspace by slug or UUID.
- Free
bitbucket__list_repositoriesList the repositories in a workspace that the connected account can see, filterable by role and BBQL (e.g. name, project.key, updated_on).
- Free
bitbucket__get_repositoryGet a repository — its main branch, project, language, size and links.
- Free
bitbucket__get_default_reviewersList a repository's effective default reviewers — its own plus those inherited from its project — who Bitbucket adds to every new pull request.
- Free
bitbucket__get_file_contentRead a file's text, or list a directory, at a branch, tag or commit (default: the main branch).Long files come back in line windows with next_start_line; binary files return their size, not their bytes.
- Free
bitbucket__get_branchGet a branch — its tip commit (target.hash) and allowed merge strategies.
- Free
bitbucket__get_commitGet a commit — author, message, date and parents.
- Free
bitbucket__list_commit_reportsList the code-insights reports (tests, coverage, security, bugs) attached to a commit.
- Free
bitbucket__get_commit_reportGet one code-insights report on a commit — its result and data fields.
- Free
bitbucket__get_commit_report_annotationsList the annotations (findings with file, line, severity) of a code-insights report.
- Free
bitbucket__list_pull_requestsList a repository's pull requests — open ones by default — filterable by state and BBQL.
- Free
bitbucket__get_pull_requestGet a pull request — branches, commits, description, reviewers and participants with their approval state.
- Free
bitbucket__get_pull_request_diffGet a pull request's unified diff, optionally for chosen files.A diff too long for one call is cut at a line and comes with the changed-file list — ask again with path for the files you need.
- Free
bitbucket__list_pull_request_commentsList a pull request's comments — general, inline (with file and line) and replies — oldest first.
- Free
bitbucket__list_pull_request_tasksList a pull request's tasks with their state.
- Free
bitbucket__list_pipelinesList a repository's pipeline runs, newest first, filterable by status, branch, commit and trigger.
- Free
bitbucket__get_pipelineGet a pipeline run — state, result, target and duration.
- Free
bitbucket__list_pipeline_stepsList the steps of a pipeline run with their state.
- Free
bitbucket__get_pipeline_stepGet one step of a pipeline run.
- Free
bitbucket__get_pipeline_step_logRead a pipeline step's log in byte windows — from the start, from start_byte, or the tail (where failures usually are).
- Free
bitbucket__list_deploymentsList a repository's deployments with their environment, release and state.
- Free
bitbucket__get_deploymentGet a deployment.
- Free
bitbucket__list_environmentsList a repository's deployment environments (e.g. Test, Staging, Production).
- Free
bitbucket__get_environmentGet a deployment environment.
- Free
bitbucket__create_pull_requestOpen a pull request from a branch (or a fork's branch) into the main branch or destination_branch, with a Markdown description and reviewers.
- Free
bitbucket__update_pull_requestChange an open pull request's title, description, destination, reviewers, close-source-branch flag or draft state.Only the fields given change; everything else, reviewers included, is kept.
- Free
bitbucket__merge_pull_requestMerge a pull request with a chosen strategy and message.If Bitbucket is still merging when the call returns, the result says so — check get_pull_request instead of merging again.
- Free
bitbucket__approve_pull_requestApprove a pull request as the connected account.
- Free
bitbucket__request_changes_on_pull_requestRequest changes on a pull request as the connected account.
- Free
bitbucket__add_pull_request_commentComment on a pull request — generally, on a file, on a line or line range of the new or old version, or as a reply.
- Free
bitbucket__resolve_pull_request_commentResolve a comment thread (by its top-level comment).
- Free
bitbucket__reopen_pull_request_commentReopen a resolved comment thread.
- Free
bitbucket__create_pull_request_taskAdd a task to a pull request, optionally under a comment.
- Free
bitbucket__set_pull_request_task_stateResolve or reopen a pull request task.
- Free
bitbucket__create_branchCreate a branch at a commit.
- Free
bitbucket__create_commitCommit file additions, overwrites and deletions to a branch (created if missing) in one commit, without a clone.Returns the new commit's hash.
- Free
bitbucket__run_pipelineStart a pipeline run for a branch, tag or commit — the matching definition, or a custom one by name, with variables.A custom pipeline can deploy; check its definition first.
Pages about Bitbucket
- Bitbucket for Claude Code, Codex, and Cursor · Bring Bitbucket pull requests, pipelines and deployments into your agent. Read the diff, find the failed step, then decide.