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.
$ YOUR NEXT RUN
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.
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.
| Action | What it does |
|---|---|
# bitbucket_add_default_reviewer | Add a default reviewer to a repository. |
# bitbucket_add_gpg_key | Add a GPG public key to your account. |
# bitbucket_add_project_default_reviewer | Add a default reviewer to a project. |
# bitbucket_add_project_deploy_key | Add a deploy key (public SSH key) to a project. |
# bitbucket_add_repository_deploy_key | Add a deploy key (public SSH key) to a repository. |
# bitbucket_add_ssh_key | Add an SSH public key to your account. |
# bitbucket_approve_commit | Approve a commit as the connected user. |
# bitbucket_approve_pull_request | Approve a pull request as the connected user. |
# bitbucket_branch_create | Create a branch. |
# bitbucket_branch_delete | Delete a branch. |
# bitbucket_branch_get | Get one branch and its head commit. |
# bitbucket_branches_list | List branches. |
Show all 244 actions
| Action | What it does |
|---|---|
# bitbucket_browse_repository_path | Browse a directory (paginated listing) or read a file at a revision. |
# bitbucket_commit_get | Get one commit. |
# bitbucket_commits_list | List commits, newest first. |
# bitbucket_create_branch_restriction | Create a branch restriction rule. |
# bitbucket_create_commit_build_status | Report a build status on a commit (overwrites the same key). |
# bitbucket_create_commit_by_uploading_files | Create a commit by uploading files. |
# bitbucket_create_commit_comment | Comment on a commit. |
# bitbucket_create_deployment_variable | Create a deployment environment variable. |
# bitbucket_create_environment | Create a deployment environment. |
# bitbucket_create_pipeline_known_host | Add a Pipelines SSH known host. |
# bitbucket_create_pipeline_schedule | Create a pipeline schedule. |
# bitbucket_create_project | Create a project in a workspace. |
# bitbucket_create_pull_request_task | Create a task on a pull request. |
# bitbucket_create_repositories_commit_reports_annotations | Create or update up to 100 annotations of a Code Insights report. |
# bitbucket_create_repository_pipeline_variable | Create a repository pipeline variable. |
# bitbucket_create_snippet | Create a snippet. |
# bitbucket_create_snippet_comment | Comment on a snippet. |
# bitbucket_create_tag | Create a tag. |
# bitbucket_create_workspace_pipeline_variable | Create a workspace pipeline variable. |
# bitbucket_delete_branch_restriction | Delete a branch restriction rule. |
# bitbucket_delete_commit_comment | Delete a commit comment. |
# bitbucket_delete_deployment_variable | Delete a deployment environment variable. |
# bitbucket_delete_download | Delete a repository download artifact. |
# bitbucket_delete_environment | Delete a deployment environment. |
# bitbucket_delete_gpg_key | Delete a GPG key from your account. |
# bitbucket_delete_pipeline_cache | Delete one pipeline cache. |
# bitbucket_delete_pipeline_caches | Delete all versions of a named pipeline cache. |
# bitbucket_delete_pipeline_known_host | Delete a Pipelines SSH known host. |
# bitbucket_delete_pipeline_schedule | Delete a pipeline schedule. |
# bitbucket_delete_pipeline_ssh_key_pair | Delete the Pipelines SSH key pair of a repository. |
# bitbucket_delete_project | Delete an empty project. |
# bitbucket_delete_project_deploy_key | Delete a project deploy key. |
# bitbucket_delete_project_group_permission | Remove a group's explicit permission from a project. |
# bitbucket_delete_project_user_permission | Remove a user's explicit permission from a project. |
# bitbucket_delete_pull_request_comment | Delete a pull request comment. |
# bitbucket_delete_pull_request_task | Delete a pull request task. |
# bitbucket_delete_report | Delete a Code Insights report and its annotations. |
# bitbucket_delete_repositories_commit_reports_annotations | Delete one annotation of a Code Insights report. |
# bitbucket_delete_repository_deploy_key | Delete a repository deploy key. |
# bitbucket_delete_repository_group_permission | Remove a group's explicit permission from a repository. |
# bitbucket_delete_repository_pipeline_variable | Delete a repository pipeline variable. |
# bitbucket_delete_repository_runner | Delete a repository runner. |
# bitbucket_delete_repository_user_permission | Remove a user's explicit permission from a repository. |
# bitbucket_delete_snippet | Delete a snippet. |
# bitbucket_delete_snippet_comment | Delete a snippet comment. |
# bitbucket_delete_snippets_watch | Stop watching a snippet. |
# bitbucket_delete_ssh_key | Delete one of your SSH keys. |
# bitbucket_delete_tag | Delete a tag. |
# bitbucket_delete_workspace_pipeline_variable | Delete a workspace pipeline variable. |
# bitbucket_delete_workspace_runner | Delete a workspace runner. |
# bitbucket_deployment_get | Get one deployment. |
# bitbucket_deployments_list | List deployments. |
# bitbucket_download_artifact | Download a repository download artifact as a FlyMyAI file. |
# bitbucket_get_branch_restriction | Get one branch restriction rule. |
# bitbucket_get_commit_build_status | Get one build status of a commit. |
# bitbucket_get_commit_changes | Get the per-file change summary (diffstat) of a commit or revision range. |
# bitbucket_get_commit_comment | Get one comment of a commit. |
# bitbucket_get_commit_diff | Get the unified diff of a commit or between two revisions as text. |
# bitbucket_get_current_user | Get the connected Bitbucket account. The 'who am I' / connection check. |
# bitbucket_get_default_reviewer | Check whether a user is a default reviewer of a repository. |
# bitbucket_get_deployment_environment_variables | List the variables of a deployment environment. |
# bitbucket_get_file_conflicts | List the files that would conflict when merging a revision range. |
# bitbucket_get_file_from_repository | Download 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_key | Get one GPG key of a user. |
# bitbucket_get_oidc_keys | Get the public signing keys (JWKS) for Pipelines OIDC of a workspace. |
# bitbucket_get_openid_configuration | Get the OpenID Connect discovery document for Pipelines OIDC of a workspace. |
# bitbucket_get_pipeline_cache_content_uri | Get a temporary download URI of a pipeline cache. |
# bitbucket_get_pipeline_known_host | Get one Pipelines SSH known host. |
# bitbucket_get_pipeline_schedule | Get one pipeline schedule. |
# bitbucket_get_pipeline_ssh_key_pair | Get the Pipelines SSH key pair of a repository (public key only; the private key is never returned). |
# bitbucket_get_pipeline_step | Get one step of a pipeline run. |
# bitbucket_get_pipeline_step_container_log | Read the log of the build container or a service container of a step as text. |
# bitbucket_get_pipeline_step_log | Read the log of a pipeline step as text. |
# bitbucket_get_pipeline_step_test_reports | Get the test report summary of a pipeline step. |
# bitbucket_get_pipeline_test_case_reasons | Get the failure reasons (output) of one test case. |
# bitbucket_get_project | Get one project. |
# bitbucket_get_project_branching_model | Get the branching model of a project. |
# bitbucket_get_project_branching_settings | Get the branching model configuration of a project. |
# bitbucket_get_project_default_reviewer | Check whether a user is a default reviewer of a project. |
# bitbucket_get_project_deploy_key | Get one project deploy key. |
# bitbucket_get_project_group_permission | Get one group's explicit permission on a project. |
# bitbucket_get_project_user_permission | Get one user's explicit permission on a project. |
# bitbucket_get_pull_request_comment | Get one comment of a pull request. |
# bitbucket_get_pull_request_commits | List the commits of a pull request. |
# bitbucket_get_pull_request_conflicts | List the file conflicts of a pull request. |
# bitbucket_get_pull_request_diff | Get the unified diff of a pull request as text. |
# bitbucket_get_pull_request_diffstat | Get the per-file change summary of a pull request. |
# bitbucket_get_pull_request_merge_task_status | Poll the status of an asynchronous pull request merge. |
# bitbucket_get_pull_request_patch | Get the git patch of a pull request as text. |
# bitbucket_get_pull_request_task | Get one task of a pull request. |
# bitbucket_get_repo_branching_settings | Get the raw branching model configuration of a repository. |
# bitbucket_get_repositories_branching_model | Get the branching model of a repository (development/production branches, branch types). |
# bitbucket_get_repositories_commit_comments | List the comments of a commit. |
# bitbucket_get_repositories_commit_report | Get one Code Insights report. |
# bitbucket_get_repositories_commit_reports | List the Code Insights reports of a commit. |
# bitbucket_get_repositories_commit_reports_annotations | Get one annotation of a Code Insights report. |
# bitbucket_get_repositories_commit_statuses | List the build statuses of a commit. |
# bitbucket_get_repositories_effective_branching_model | Get the branching model that currently applies to a repository (its own or the inherited project one). |
# bitbucket_get_repositories_environments2 | Get one deployment environment. |
# bitbucket_get_repositories_filehistory | List the commits that changed a file (following renames). |
# bitbucket_get_repositories_merge_base | Get the best common ancestor (merge base) of two commits. |
# bitbucket_get_repositories_pipelines_config_caches | List the pipeline caches of a repository. |
# bitbucket_get_repositories_pipelines_config_runners | List the self-hosted runners of a repository. |
# bitbucket_get_repositories_pipelines_config_schedules | List the pipeline schedules of a repository. |
# bitbucket_get_repositories_pipelines_config_ssh_known_hosts | List the Pipelines SSH known hosts of a repository. |
# bitbucket_get_repositories_pipelines_config_variables | List the pipeline variables of a repository (secured values are empty). |
# bitbucket_get_repositories_pipelines_steps | List the steps of a pipeline run. |
# bitbucket_get_repositories_pullrequests_activity | List pull request activity (comments, updates, approvals) of a repository. |
# bitbucket_get_repositories_pullrequests_statuses | List the build statuses of a pull request's commits. |
# bitbucket_get_repositories_refs | List branches and tags together. |
# bitbucket_get_repositories_refs_tags | Get one tag and its commit. |
# bitbucket_get_repositories_src | List the root directory of the main branch. |
# bitbucket_get_repositories_watchers | List the users watching a repository. |
# bitbucket_get_repository_deploy_key | Get one deploy key of a repository. |
# bitbucket_get_repository_group_permission | Get one group's explicit permission on a repository. |
# bitbucket_get_repository_override_settings | Get which project settings a repository overrides instead of inheriting. |
# bitbucket_get_repository_patch | Get a git patch (format-patch series) of a commit or revision range as text. |
# bitbucket_get_repository_pipeline_config | Get the Pipelines configuration of a repository (enabled or not). |
# bitbucket_get_repository_pipeline_variable | Get one repository pipeline variable. |
# bitbucket_get_repository_runner | Get one repository runner. |
# bitbucket_get_repository_user_permission | Get one user's explicit permission on a repository. |
# bitbucket_get_snippet | Get a snippet (title, files, links). |
# bitbucket_get_snippet_comment | Get one comment of a snippet. |
# bitbucket_get_snippet_commit | Get one change (commit) of a snippet. |
# bitbucket_get_snippet_diff | Get the diff of a snippet revision against its parent as text. |
# bitbucket_get_snippet_file | Download one file of a snippet as a FlyMyAI file (text also as text_preview). |
# bitbucket_get_snippet_patch | Get the patch of a snippet revision as text. |
# bitbucket_get_snippets_watch | Check 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_key | Get one SSH key of a user. |
# bitbucket_get_ssh_latest_keys | List the SSH keys of a user (your own with your account_id or {UUID}). |
# bitbucket_get_user | Get a user's public profile. |
# bitbucket_get_user_emails | List the connected account's email addresses. |
# bitbucket_get_user_emails2 | Get one of the connected account's email addresses (primary, confirmed). |
# bitbucket_get_user_permissions_repositories | List your permission on each repository of a workspace. |
# bitbucket_get_user_workspace_permission | Get your permission in a workspace (owner, collaborator or member). |
# bitbucket_get_workspace_gpg_public_key | Get the system GPG public key(s) a workspace signs web commits with. |
# bitbucket_get_workspace_member | Get one member of a workspace. |
# bitbucket_get_workspace_pipeline_variable | Get one workspace pipeline variable. |
# bitbucket_get_workspace_runner | Get one workspace runner. |
# bitbucket_get_workspaces_pullrequests | List the pull requests a user authored in a workspace. |
# bitbucket_get_workspaces_search_code | Search code in the repositories of a workspace. |
# bitbucket_list_branch_restrictions | List branch restriction rules (branch permissions and merge checks). |
# bitbucket_list_commit_pull_requests | List the pull requests that contain a commit. |
# bitbucket_list_default_reviewers | List the default reviewers of a repository. |
# bitbucket_list_downloads | List the download artifacts of a repository. |
# bitbucket_list_effective_default_reviewers | List the effective default reviewers of a repository (its own plus inherited project reviewers). |
# bitbucket_list_gpg_keys | List the GPG keys of a user (your own with your account_id or {UUID}). |
# bitbucket_list_pipeline_schedule_executions | List the runs (executions) of a pipeline schedule. |
# bitbucket_list_pipeline_step_test_cases | List the test cases of a pipeline step. |
# bitbucket_list_project_default_reviewers | List the default reviewers of a project. |
# bitbucket_list_project_deploy_keys | List the deploy keys of a project. |
# bitbucket_list_project_group_permissions | List explicit group permissions of a project. |
# bitbucket_list_project_user_permissions | List explicit user permissions of a project. |
# bitbucket_list_pull_request_merge_checks | List the mergeability checks of a pull request (merge checks and their state). |
# bitbucket_list_pull_request_tasks | List the tasks of a pull request. |
# bitbucket_list_report_annotations | List the annotations of a Code Insights report. |
# bitbucket_list_repositories_environments | List the deployment environments of a repository. |
# bitbucket_list_repository_deploy_keys | List the deploy keys of a repository. |
# bitbucket_list_repository_forks | List forks of a repository. |
# bitbucket_list_repository_group_permissions | List explicit group permissions of a repository. |
# bitbucket_list_repository_user_permissions | List explicit user permissions of a repository. |
# bitbucket_list_snippet_comments | List the comments of a snippet. |
# bitbucket_list_snippet_commits | List the changes (commits) of a snippet. |
# bitbucket_list_snippets | List the snippets of a workspace. |
# bitbucket_list_tags | List tags. |
# bitbucket_list_workspace_members | List the members of a workspace. |
# bitbucket_list_workspace_permissions | List the permission of every member of a workspace (owner, collaborator, member). |
# bitbucket_list_workspace_pipeline_variables | List the workspace-level pipeline variables. |
# bitbucket_list_workspace_projects | List the projects of a workspace. |
# bitbucket_list_workspace_repo_permissions | List repository permissions of a workspace (all repositories, or one with repo_slug). Admins only. |
# bitbucket_list_workspace_runners | List the self-hosted runners of a workspace. |
# bitbucket_pipeline_get | Get one pipeline run. |
# bitbucket_pipeline_trigger | Run a pipeline. |
# bitbucket_pipelines_list | List pipeline runs, newest first. |
# bitbucket_pull_request_comment_create | Comment on a pull request. |
# bitbucket_pull_request_comments_list | List comments on a pull request (global, inline and replies). |
# bitbucket_pull_request_create | Open a pull request. |
# bitbucket_pull_request_decline | Decline a pull request. A declined Bitbucket PR cannot be reopened. |
# bitbucket_pull_request_get | Get one pull request. |
# bitbucket_pull_request_merge | Merge a pull request. |
# bitbucket_pull_request_update | Update an open pull request. |
# bitbucket_pull_requests_list | List pull requests. |
# bitbucket_remove_default_reviewer | Remove a default reviewer from a repository. |
# bitbucket_remove_project_default_reviewer | Remove a default reviewer from a project. |
# bitbucket_remove_pull_request_change_request | Withdraw your change request on a pull request. |
# bitbucket_reopen_pull_request_comment | Reopen a resolved pull request comment thread. |
# bitbucket_repositories_list | List repositories in a workspace. |
# bitbucket_repository_clone_links | Get a repository's clone URLs. |
# bitbucket_repository_create | Create a repository. |
# bitbucket_repository_delete | Delete a repository. |
# bitbucket_repository_fork | Fork a repository inside its own workspace. |
# bitbucket_repository_get | Get repository details. |
# bitbucket_repository_update | Update repository settings. |
# bitbucket_request_pull_request_changes | Request changes on a pull request as the connected user. |
# bitbucket_resolve_pull_request_comment | Resolve a pull request comment thread. |
# bitbucket_set_repository_override_settings | Set which project settings a repository overrides (true) or inherits (false). |
# bitbucket_stop_pipeline | Stop a running pipeline. |
# bitbucket_unapprove_commit | Withdraw your approval of a commit. |
# bitbucket_unapprove_pull_request | Withdraw your approval of a pull request. |
# bitbucket_update_branch_restriction | Update a branch restriction rule. |
# bitbucket_update_commit_build_status | Update a build status of a commit. |
# bitbucket_update_deployment_variable | Update a deployment environment variable. |
# bitbucket_update_environment | Rename a deployment environment or restrict it to admins. |
# bitbucket_update_insights_projects_repos_commits_reports | Create or replace a Code Insights report on a commit. |
# bitbucket_update_pipeline_build_number | Set the next pipeline build number. |
# bitbucket_update_pipeline_known_host | Update a Pipelines SSH known host. |
# bitbucket_update_pipeline_schedule | Enable or pause a pipeline schedule. |
# bitbucket_update_pipeline_ssh_key_pair | Set the Pipelines SSH key pair of a repository. |
# bitbucket_update_project | Update a project. |
# bitbucket_update_project_branching_settings | Update the branching model configuration of a project. |
# bitbucket_update_project_group_permission | Grant or change a group's permission on a project. |
# bitbucket_update_project_user_permission | Grant or change a user's permission on a project. |
# bitbucket_update_pull_request_comment | Edit a pull request comment. |
# bitbucket_update_pull_request_task | Edit, resolve or reopen a pull request task. |
# bitbucket_update_repo_branching_settings | Update the branching model configuration of a repository. |
# bitbucket_update_repositories_commit_comments | Edit a commit comment. |
# bitbucket_update_repositories_commit_reports_annotations | Create or replace one annotation of a Code Insights report. |
# bitbucket_update_repository_deploy_key | Update the label or comment of a repository deploy key. |
# bitbucket_update_repository_group_permission | Grant or change a group's permission on a repository. |
# bitbucket_update_repository_pipeline_config | Enable or disable Pipelines for a repository. |
# bitbucket_update_repository_pipeline_variable | Update a repository pipeline variable. |
# bitbucket_update_repository_runner | Rename, relabel or disable a repository runner. |
# bitbucket_update_repository_user_permission | Grant or change a user's permission on a repository. |
# bitbucket_update_snippet | Update a snippet. |
# bitbucket_update_snippet_comment | Edit a snippet comment. |
# bitbucket_update_ssh_key | Change the label of one of your SSH keys. |
# bitbucket_update_workspace_pipeline_variable | Update a workspace pipeline variable. |
# bitbucket_update_workspace_runner | Rename, relabel or disable a workspace runner. |
# bitbucket_upload_download | Upload a download artifact to a repository (replaces one with the same name). |
# bitbucket_watch_snippet | Start watching a snippet. |
# bitbucket_workspace_get | Get one workspace. |
# bitbucket_workspaces_list | List 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.
bitbucket_branches_listbitbucket_commits_listbitbucket_commit_getConnect Bitbucket in a minute
One MCP for every integration. Add it once, then every MCP in the catalog is a request away.
- 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.
- 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.
- 03
Ask
Paste a request from this page. Every run shows what it cost.
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
Then run /mcp in Claude Code and sign in.
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
Then run codex mcp login flymy to sign in.
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.