@pavel-kalmykov/bitbucket-server-mcp
MCP server for Bitbucket Server / Data Center with code review, cross-repo PRs, and CI insights
Versions
0.13.1latest0.13.00.12.00.11.10.11.0+ show 34 moreshow less
0.10.10.10.00.9.00.8.40.8.30.8.20.8.10.8.00.7.00.6.90.6.80.6.70.6.60.6.50.6.40.6.30.6.20.6.10.6.00.5.00.4.10.4.00.3.00.2.10.2.00.1.60.1.50.1.40.0.0-pr.11.f89982b0.0.0-pr.10.25f057d0.1.30.1.10.1.00.0.1-alpha.2Tools 59
list_repository_hooks List repository hooks and their enabled/disabled state.
manage_repository_hooks Manage repository hook settings. Actions: "enable" (enable a hook), "disable" (disable a hook), "configure" (set hook settings).
list_commit_comments Get comments for a specific commit. Returns all comments on the commit with pagination support.
list_merge_checks List merge check configurations for a repository. Merge checks control conditions that must be met before a pull request can be merged.
manage_merge_checks Configure merge check settings for a repository.
manage_commit_comments Manage comments on a commit. Actions: "create" (add a new comment), "edit" (update an existing comment), "delete" (remove a comment).
list_projects List all Bitbucket projects you have access to. Use this first to discover project keys. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'key,name'` for a custom subset).
list_repositories List repositories in a project. Use this to find repository slugs for other operations. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'slug,name'` for a custom subset).
browse_repository Browse files and directories in a repository to understand project structure.
get_file_content Read file contents from a repository with pagination support for large files.
upload_attachment Upload a file attachment to a repository. Returns a markdown reference to embed in PR comments or descriptions.
edit_file Edit a file in a repository by committing a new version via the Bitbucket REST API. Returns the commit metadata.
get_file_blame Get blame/history information for a file. Returns line-by-line commit authorship data.
create_repository Create a new repository in a project.
delete_repository Delete a repository. This action is irreversible.
list_branch_restrictions List branch restrictions for a repository. These control which users/groups can push to or delete specific branches or branch patterns.
list_branches List branches in a repository. Also returns the default branch when available. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'displayId,latestCommit'` for a custom subset).
list_commits List commits in a repository, optionally filtered by branch and author. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,message,author.name'` for a custom subset).
manage_branches Manage branches in a repository. Actions: "create" (create a new branch), "delete" (delete a branch). Refuses to delete the default branch.
get_commit Get details of a specific commit by its ID. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,message,author.name'` for a custom subset).
compare_refs Compare two refs and list commits accessible from `to` but not from `from`. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,message,author.name'` for a custom subset).
list_default_reviewer_conditions List default reviewer conditions for a repository. These conditions determine which users are automatically added as reviewers to pull requests.
get_server_info Get Bitbucket Server version and properties. Useful to check connectivity and server version.
get_code_insights Get code insight reports and their annotations for a pull request. Shows build results, code quality, and other analysis.
get_build_status Get CI build status for a commit or pull request. When prId is provided, automatically resolves the latest commit. Returns build state (SUCCESSFUL, FAILED, INPROGRESS), name, and URL to the CI build.
manage_deployments Manage deployments for a commit. Actions: "get" (retrieve a deployment), "create" (record a new deployment), "delete" (remove a deployment).
create_pull_request Create a new pull request. Supports cross-repo PRs via sourceProject/sourceRepository and automatic default reviewer merging.
get_pull_request Get details of a specific pull request including status, reviewers, and metadata. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,title,state'` for a custom subset).
update_pull_request Update a pull request (title, description, target branch, or reviewers). Only changed fields are applied; reviewers are preserved if not provided.
merge_pull_request Merge an approved pull request. Fetches the current version automatically for optimistic locking.
decline_pull_request Decline a pull request. Fetches the current version automatically for optimistic locking.
list_pull_requests List pull requests in a repository. Supports filtering by state, direction, order, and client-side author filtering. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,title,state'` for a custom subset).
list_dashboard_pull_requests Get pull requests from the authenticated user dashboard. No project/repo needed. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,title,state'` for a custom subset).
get_pull_request_activity Get activity feed for a pull request. Optionally filter to only reviews or comments.
get_diff Get the diff of a pull request. Use stat=true for a lightweight summary of changed files (and line counts if the server supports it) instead of the full diff.
get_pull_request_commits List commits for a specific pull request. Returns the commits that are part of the pull request with pagination support.
get_commit_pull_requests List pull requests that contain a specific commit. Returns the PRs that include the given commit.
manage_review Approve, unapprove, or publish a review on a pull request. Use "approve" to approve, "unapprove" to remove your approval, and "publish" to submit a review with an optional overview comment and status.
list_secret_scanning_rules List secret scanning allowlist rules for a repository. Requires Bitbucket Server 8.5+.
manage_comment Manage pull request comments. Actions: "create" (general, inline, threaded, or tasks), "edit" (update text/severity/state/threadResolved), "delete", "react" (add emoji reaction), "unreact" (remove reaction). `state: RESOLVED` toggles the task checkbox on a BLOCKER comment; `threadResolved: true` closes the conversation (the "Resolve" button in the UI). They are independent and can be passed together.
search_emoticons Search available emoticons for comment reactions. Returns matching shortcut names to use with manage_comment react/unreact.
list_forks List forks of a repository. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'slug,name'` for a custom subset).
fork_repository Fork a repository into a target project. Creates a copy of the source repository in the specified target project.
list_gpg_keys List GPG keys for the authenticated user.
manage_gpg_keys Manage GPG keys for the authenticated user. Actions: "add" (add a key), "delete" (remove a key).
list_reviewer_groups List reviewer groups configured for a repository.
manage_reviewer_groups Manage reviewer groups for a repository. Actions: "create" (create a group), "delete" (remove a group).
get_user_profile Get a Bitbucket user profile by user slug. Returns user details including display name, email, and active status.
search_users Search Bitbucket users by filter query. Returns matching users.
list_labels List labels for a repository.
manage_labels Manage repository labels. Actions: "add" (create a new label), "remove" (delete a label).
list_ssh_keys List SSH keys for the authenticated user.
manage_ssh_keys Manage SSH keys for the authenticated user. Actions: "add" (add a key), "delete" (remove a key).
list_webhooks List webhooks configured for a repository.
manage_webhooks Manage repository webhooks. Actions: "create" (add a new webhook), "update" (modify an existing webhook), "delete" (remove a webhook).
search Search for code or files across Bitbucket repositories. Supports filtering by project, repository, and search type. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'file,hitCount'` for a custom subset).
list_tags List tags in a repository. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,displayId,hash'` for a custom subset).
get_tag Get details of a specific tag by its name. Supports custom field selection via the `fields` param (`'*all'` for full raw response, `'id,displayId,hash'` for a custom subset).
manage_tags Manage tags in a repository. Actions: "create" (create a new tag pointing to a commit), "delete" (delete a tag by name).
Permissions 1
env_vars low