MCP / Developer tools

Bitbucket MCP: developer workflows - your account

Bitbucket Cloud: repos, pull requests, branches, pipelines. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

Sign in once244 actionsDeveloper tools

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Bitbucket MCP in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/mcp/bitbucket.md. Help me connect Bitbucket MCP to this assistant. Then help me run this task: List up to 10 branches in this Bitbucket repository, sorted by name.
Open FlyMy.AIDownload brief

What Bitbucket MCP can do

244 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

ActionWhat it does
# bitbucket_add_default_reviewerAdd a default reviewer to a repository.
# bitbucket_add_gpg_keyAdd a GPG public key to your account.
# bitbucket_add_project_default_reviewerAdd a default reviewer to a project.
# bitbucket_add_project_deploy_keyAdd a deploy key (public SSH key) to a project.
# bitbucket_add_repository_deploy_keyAdd a deploy key (public SSH key) to a repository.
# bitbucket_add_ssh_keyAdd an SSH public key to your account.
# bitbucket_approve_commitApprove a commit as the connected user.
# bitbucket_approve_pull_requestApprove a pull request as the connected user.
# bitbucket_branch_createCreate a branch.
# bitbucket_branch_deleteDelete a branch.
# bitbucket_branch_getGet one branch and its head commit.
# bitbucket_branches_listList branches.
Show all 244 actions
ActionWhat it does
# bitbucket_browse_repository_pathBrowse a directory (paginated listing) or read a file at a revision.
# bitbucket_commit_getGet one commit.
# bitbucket_commits_listList commits, newest first.
# bitbucket_create_branch_restrictionCreate a branch restriction rule.
# bitbucket_create_commit_build_statusReport a build status on a commit (overwrites the same key).
# bitbucket_create_commit_by_uploading_filesCreate a commit by uploading files.
# bitbucket_create_commit_commentComment on a commit.
# bitbucket_create_deployment_variableCreate a deployment environment variable.
# bitbucket_create_environmentCreate a deployment environment.
# bitbucket_create_pipeline_known_hostAdd a Pipelines SSH known host.
# bitbucket_create_pipeline_scheduleCreate a pipeline schedule.
# bitbucket_create_projectCreate a project in a workspace.
# bitbucket_create_pull_request_taskCreate a task on a pull request.
# bitbucket_create_repositories_commit_reports_annotationsCreate or update up to 100 annotations of a Code Insights report.
# bitbucket_create_repository_pipeline_variableCreate a repository pipeline variable.
# bitbucket_create_snippetCreate a snippet.
# bitbucket_create_snippet_commentComment on a snippet.
# bitbucket_create_tagCreate a tag.
# bitbucket_create_workspace_pipeline_variableCreate a workspace pipeline variable.
# bitbucket_delete_branch_restrictionDelete a branch restriction rule.
# bitbucket_delete_commit_commentDelete a commit comment.
# bitbucket_delete_deployment_variableDelete a deployment environment variable.
# bitbucket_delete_downloadDelete a repository download artifact.
# bitbucket_delete_environmentDelete a deployment environment.
# bitbucket_delete_gpg_keyDelete a GPG key from your account.
# bitbucket_delete_pipeline_cacheDelete one pipeline cache.
# bitbucket_delete_pipeline_cachesDelete all versions of a named pipeline cache.
# bitbucket_delete_pipeline_known_hostDelete a Pipelines SSH known host.
# bitbucket_delete_pipeline_scheduleDelete a pipeline schedule.
# bitbucket_delete_pipeline_ssh_key_pairDelete the Pipelines SSH key pair of a repository.
# bitbucket_delete_projectDelete an empty project.
# bitbucket_delete_project_deploy_keyDelete a project deploy key.
# bitbucket_delete_project_group_permissionRemove a group's explicit permission from a project.
# bitbucket_delete_project_user_permissionRemove a user's explicit permission from a project.
# bitbucket_delete_pull_request_commentDelete a pull request comment.
# bitbucket_delete_pull_request_taskDelete a pull request task.
# bitbucket_delete_reportDelete a Code Insights report and its annotations.
# bitbucket_delete_repositories_commit_reports_annotationsDelete one annotation of a Code Insights report.
# bitbucket_delete_repository_deploy_keyDelete a repository deploy key.
# bitbucket_delete_repository_group_permissionRemove a group's explicit permission from a repository.
# bitbucket_delete_repository_pipeline_variableDelete a repository pipeline variable.
# bitbucket_delete_repository_runnerDelete a repository runner.
# bitbucket_delete_repository_user_permissionRemove a user's explicit permission from a repository.
# bitbucket_delete_snippetDelete a snippet.
# bitbucket_delete_snippet_commentDelete a snippet comment.
# bitbucket_delete_snippets_watchStop watching a snippet.
# bitbucket_delete_ssh_keyDelete one of your SSH keys.
# bitbucket_delete_tagDelete a tag.
# bitbucket_delete_workspace_pipeline_variableDelete a workspace pipeline variable.
# bitbucket_delete_workspace_runnerDelete a workspace runner.
# bitbucket_deployment_getGet one deployment.
# bitbucket_deployments_listList deployments.
# bitbucket_download_artifactDownload a repository download artifact as a FlyMyAI file.
# bitbucket_get_branch_restrictionGet one branch restriction rule.
# bitbucket_get_commit_build_statusGet one build status of a commit.
# bitbucket_get_commit_changesGet the per-file change summary (diffstat) of a commit or revision range.
# bitbucket_get_commit_commentGet one comment of a commit.
# bitbucket_get_commit_diffGet the unified diff of a commit or between two revisions as text.
# bitbucket_get_current_userGet the connected Bitbucket account. The 'who am I' / connection check.
# bitbucket_get_default_reviewerCheck whether a user is a default reviewer of a repository.
# bitbucket_get_deployment_environment_variablesList the variables of a deployment environment.
# bitbucket_get_file_conflictsList the files that would conflict when merging a revision range.
# bitbucket_get_file_from_repositoryDownload a file of the repository at a revision as a FlyMyAI file (text also as text_preview). Works for binary and LFS files (max 100 MB).
# bitbucket_get_gpg_keyGet one GPG key of a user.
# bitbucket_get_oidc_keysGet the public signing keys (JWKS) for Pipelines OIDC of a workspace.
# bitbucket_get_openid_configurationGet the OpenID Connect discovery document for Pipelines OIDC of a workspace.
# bitbucket_get_pipeline_cache_content_uriGet a temporary download URI of a pipeline cache.
# bitbucket_get_pipeline_known_hostGet one Pipelines SSH known host.
# bitbucket_get_pipeline_scheduleGet one pipeline schedule.
# bitbucket_get_pipeline_ssh_key_pairGet the Pipelines SSH key pair of a repository (public key only; the private key is never returned).
# bitbucket_get_pipeline_stepGet one step of a pipeline run.
# bitbucket_get_pipeline_step_container_logRead the log of the build container or a service container of a step as text.
# bitbucket_get_pipeline_step_logRead the log of a pipeline step as text.
# bitbucket_get_pipeline_step_test_reportsGet the test report summary of a pipeline step.
# bitbucket_get_pipeline_test_case_reasonsGet the failure reasons (output) of one test case.
# bitbucket_get_projectGet one project.
# bitbucket_get_project_branching_modelGet the branching model of a project.
# bitbucket_get_project_branching_settingsGet the branching model configuration of a project.
# bitbucket_get_project_default_reviewerCheck whether a user is a default reviewer of a project.
# bitbucket_get_project_deploy_keyGet one project deploy key.
# bitbucket_get_project_group_permissionGet one group's explicit permission on a project.
# bitbucket_get_project_user_permissionGet one user's explicit permission on a project.
# bitbucket_get_pull_request_commentGet one comment of a pull request.
# bitbucket_get_pull_request_commitsList the commits of a pull request.
# bitbucket_get_pull_request_conflictsList the file conflicts of a pull request.
# bitbucket_get_pull_request_diffGet the unified diff of a pull request as text.
# bitbucket_get_pull_request_diffstatGet the per-file change summary of a pull request.
# bitbucket_get_pull_request_merge_task_statusPoll the status of an asynchronous pull request merge.
# bitbucket_get_pull_request_patchGet the git patch of a pull request as text.
# bitbucket_get_pull_request_taskGet one task of a pull request.
# bitbucket_get_repo_branching_settingsGet the raw branching model configuration of a repository.
# bitbucket_get_repositories_branching_modelGet the branching model of a repository (development/production branches, branch types).
# bitbucket_get_repositories_commit_commentsList the comments of a commit.
# bitbucket_get_repositories_commit_reportGet one Code Insights report.
# bitbucket_get_repositories_commit_reportsList the Code Insights reports of a commit.
# bitbucket_get_repositories_commit_reports_annotationsGet one annotation of a Code Insights report.
# bitbucket_get_repositories_commit_statusesList the build statuses of a commit.
# bitbucket_get_repositories_effective_branching_modelGet the branching model that currently applies to a repository (its own or the inherited project one).
# bitbucket_get_repositories_environments2Get one deployment environment.
# bitbucket_get_repositories_filehistoryList the commits that changed a file (following renames).
# bitbucket_get_repositories_merge_baseGet the best common ancestor (merge base) of two commits.
# bitbucket_get_repositories_pipelines_config_cachesList the pipeline caches of a repository.
# bitbucket_get_repositories_pipelines_config_runnersList the self-hosted runners of a repository.
# bitbucket_get_repositories_pipelines_config_schedulesList the pipeline schedules of a repository.
# bitbucket_get_repositories_pipelines_config_ssh_known_hostsList the Pipelines SSH known hosts of a repository.
# bitbucket_get_repositories_pipelines_config_variablesList the pipeline variables of a repository (secured values are empty).
# bitbucket_get_repositories_pipelines_stepsList the steps of a pipeline run.
# bitbucket_get_repositories_pullrequests_activityList pull request activity (comments, updates, approvals) of a repository.
# bitbucket_get_repositories_pullrequests_statusesList the build statuses of a pull request's commits.
# bitbucket_get_repositories_refsList branches and tags together.
# bitbucket_get_repositories_refs_tagsGet one tag and its commit.
# bitbucket_get_repositories_srcList the root directory of the main branch.
# bitbucket_get_repositories_watchersList the users watching a repository.
# bitbucket_get_repository_deploy_keyGet one deploy key of a repository.
# bitbucket_get_repository_group_permissionGet one group's explicit permission on a repository.
# bitbucket_get_repository_override_settingsGet which project settings a repository overrides instead of inheriting.
# bitbucket_get_repository_patchGet a git patch (format-patch series) of a commit or revision range as text.
# bitbucket_get_repository_pipeline_configGet the Pipelines configuration of a repository (enabled or not).
# bitbucket_get_repository_pipeline_variableGet one repository pipeline variable.
# bitbucket_get_repository_runnerGet one repository runner.
# bitbucket_get_repository_user_permissionGet one user's explicit permission on a repository.
# bitbucket_get_snippetGet a snippet (title, files, links).
# bitbucket_get_snippet_commentGet one comment of a snippet.
# bitbucket_get_snippet_commitGet one change (commit) of a snippet.
# bitbucket_get_snippet_diffGet the diff of a snippet revision against its parent as text.
# bitbucket_get_snippet_fileDownload one file of a snippet as a FlyMyAI file (text also as text_preview).
# bitbucket_get_snippet_patchGet the patch of a snippet revision as text.
# bitbucket_get_snippets_watchCheck whether you watch a snippet. Returns watching true or false (Bitbucket answers 404 both when you do not watch it and when it does not exist).
# bitbucket_get_ssh_keyGet one SSH key of a user.
# bitbucket_get_ssh_latest_keysList the SSH keys of a user (your own with your account_id or {UUID}).
# bitbucket_get_userGet a user's public profile.
# bitbucket_get_user_emailsList the connected account's email addresses.
# bitbucket_get_user_emails2Get one of the connected account's email addresses (primary, confirmed).
# bitbucket_get_user_permissions_repositoriesList your permission on each repository of a workspace.
# bitbucket_get_user_workspace_permissionGet your permission in a workspace (owner, collaborator or member).
# bitbucket_get_workspace_gpg_public_keyGet the system GPG public key(s) a workspace signs web commits with.
# bitbucket_get_workspace_memberGet one member of a workspace.
# bitbucket_get_workspace_pipeline_variableGet one workspace pipeline variable.
# bitbucket_get_workspace_runnerGet one workspace runner.
# bitbucket_get_workspaces_pullrequestsList the pull requests a user authored in a workspace.
# bitbucket_get_workspaces_search_codeSearch code in the repositories of a workspace.
# bitbucket_list_branch_restrictionsList branch restriction rules (branch permissions and merge checks).
# bitbucket_list_commit_pull_requestsList the pull requests that contain a commit.
# bitbucket_list_default_reviewersList the default reviewers of a repository.
# bitbucket_list_downloadsList the download artifacts of a repository.
# bitbucket_list_effective_default_reviewersList the effective default reviewers of a repository (its own plus inherited project reviewers).
# bitbucket_list_gpg_keysList the GPG keys of a user (your own with your account_id or {UUID}).
# bitbucket_list_pipeline_schedule_executionsList the runs (executions) of a pipeline schedule.
# bitbucket_list_pipeline_step_test_casesList the test cases of a pipeline step.
# bitbucket_list_project_default_reviewersList the default reviewers of a project.
# bitbucket_list_project_deploy_keysList the deploy keys of a project.
# bitbucket_list_project_group_permissionsList explicit group permissions of a project.
# bitbucket_list_project_user_permissionsList explicit user permissions of a project.
# bitbucket_list_pull_request_merge_checksList the mergeability checks of a pull request (merge checks and their state).
# bitbucket_list_pull_request_tasksList the tasks of a pull request.
# bitbucket_list_report_annotationsList the annotations of a Code Insights report.
# bitbucket_list_repositories_environmentsList the deployment environments of a repository.
# bitbucket_list_repository_deploy_keysList the deploy keys of a repository.
# bitbucket_list_repository_forksList forks of a repository.
# bitbucket_list_repository_group_permissionsList explicit group permissions of a repository.
# bitbucket_list_repository_user_permissionsList explicit user permissions of a repository.
# bitbucket_list_snippet_commentsList the comments of a snippet.
# bitbucket_list_snippet_commitsList the changes (commits) of a snippet.
# bitbucket_list_snippetsList the snippets of a workspace.
# bitbucket_list_tagsList tags.
# bitbucket_list_workspace_membersList the members of a workspace.
# bitbucket_list_workspace_permissionsList the permission of every member of a workspace (owner, collaborator, member).
# bitbucket_list_workspace_pipeline_variablesList the workspace-level pipeline variables.
# bitbucket_list_workspace_projectsList the projects of a workspace.
# bitbucket_list_workspace_repo_permissionsList repository permissions of a workspace (all repositories, or one with repo_slug). Admins only.
# bitbucket_list_workspace_runnersList the self-hosted runners of a workspace.
# bitbucket_pipeline_getGet one pipeline run.
# bitbucket_pipeline_triggerRun a pipeline.
# bitbucket_pipelines_listList pipeline runs, newest first.
# bitbucket_pull_request_comment_createComment on a pull request.
# bitbucket_pull_request_comments_listList comments on a pull request (global, inline and replies).
# bitbucket_pull_request_createOpen a pull request.
# bitbucket_pull_request_declineDecline a pull request. A declined Bitbucket PR cannot be reopened.
# bitbucket_pull_request_getGet one pull request.
# bitbucket_pull_request_mergeMerge a pull request.
# bitbucket_pull_request_updateUpdate an open pull request.
# bitbucket_pull_requests_listList pull requests.
# bitbucket_remove_default_reviewerRemove a default reviewer from a repository.
# bitbucket_remove_project_default_reviewerRemove a default reviewer from a project.
# bitbucket_remove_pull_request_change_requestWithdraw your change request on a pull request.
# bitbucket_reopen_pull_request_commentReopen a resolved pull request comment thread.
# bitbucket_repositories_listList repositories in a workspace.
# bitbucket_repository_createCreate a repository.
# bitbucket_repository_deleteDelete a repository.
# bitbucket_repository_forkFork a repository inside its own workspace.
# bitbucket_repository_getGet repository details.
# bitbucket_repository_updateUpdate repository settings.
# bitbucket_request_pull_request_changesRequest changes on a pull request as the connected user.
# bitbucket_resolve_pull_request_commentResolve a pull request comment thread.
# bitbucket_set_repository_override_settingsSet which project settings a repository overrides (true) or inherits (false).
# bitbucket_stop_pipelineStop a running pipeline.
# bitbucket_unapprove_commitWithdraw your approval of a commit.
# bitbucket_unapprove_pull_requestWithdraw your approval of a pull request.
# bitbucket_update_branch_restrictionUpdate a branch restriction rule.
# bitbucket_update_commit_build_statusUpdate a build status of a commit.
# bitbucket_update_deployment_variableUpdate a deployment environment variable.
# bitbucket_update_environmentRename a deployment environment or restrict it to admins.
# bitbucket_update_insights_projects_repos_commits_reportsCreate or replace a Code Insights report on a commit.
# bitbucket_update_pipeline_build_numberSet the next pipeline build number.
# bitbucket_update_pipeline_known_hostUpdate a Pipelines SSH known host.
# bitbucket_update_pipeline_scheduleEnable or pause a pipeline schedule.
# bitbucket_update_pipeline_ssh_key_pairSet the Pipelines SSH key pair of a repository.
# bitbucket_update_projectUpdate a project.
# bitbucket_update_project_branching_settingsUpdate the branching model configuration of a project.
# bitbucket_update_project_group_permissionGrant or change a group's permission on a project.
# bitbucket_update_project_user_permissionGrant or change a user's permission on a project.
# bitbucket_update_pull_request_commentEdit a pull request comment.
# bitbucket_update_pull_request_taskEdit, resolve or reopen a pull request task.
# bitbucket_update_repo_branching_settingsUpdate the branching model configuration of a repository.
# bitbucket_update_repositories_commit_commentsEdit a commit comment.
# bitbucket_update_repositories_commit_reports_annotationsCreate or replace one annotation of a Code Insights report.
# bitbucket_update_repository_deploy_keyUpdate the label or comment of a repository deploy key.
# bitbucket_update_repository_group_permissionGrant or change a group's permission on a repository.
# bitbucket_update_repository_pipeline_configEnable or disable Pipelines for a repository.
# bitbucket_update_repository_pipeline_variableUpdate a repository pipeline variable.
# bitbucket_update_repository_runnerRename, relabel or disable a repository runner.
# bitbucket_update_repository_user_permissionGrant or change a user's permission on a repository.
# bitbucket_update_snippetUpdate a snippet.
# bitbucket_update_snippet_commentEdit a snippet comment.
# bitbucket_update_ssh_keyChange the label of one of your SSH keys.
# bitbucket_update_workspace_pipeline_variableUpdate a workspace pipeline variable.
# bitbucket_update_workspace_runnerRename, relabel or disable a workspace runner.
# bitbucket_upload_downloadUpload a download artifact to a repository (replaces one with the same name).
# bitbucket_watch_snippetStart watching a snippet.
# bitbucket_workspace_getGet one workspace.
# bitbucket_workspaces_listList the workspaces you can access. Each item has workspace.slug and administrator (true/false).

Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

“List up to 10 branches in this Bitbucket repository, sorted by name.”uses bitbucket_branches_list
“Show the 10 most recent commits on the Bitbucket branch I select, with authors and commit messages.”uses bitbucket_commits_list
“Read this Bitbucket commit and summarize its message, author and reported parent commits.”uses bitbucket_commit_get

Connect Bitbucket in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

  1. 01

    Add FlyMy.AI

    Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.

  2. 02

    Sign in to Bitbucket

    Open the Bitbucket connection settings and sign in once. Your agent then works as your account; the token stays with FlyMy.AI, never in a prompt or a chat.

  3. 03

    Ask

    Paste a request from this page. Every run shows what it cost.

Claude Code
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp

Then run /mcp in Claude Code and sign in.

Codex
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop
https://mcp-agents.flymy.ai/mcp

Settings, Connectors, Add custom connector: paste this URL.

Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Bitbucket account, under its plan and limits. No seats and no minimum.

Go to the source

From the FlyMy.AI platform catalog of 2026-11-03: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.