版本控制 · 开发者工具

Bitbucket MCP Server

pdogra1299/bitbucket-mcp-server

Bitbucket MCP服务器是一个提供与Bitbucket API交互工具的服务,支持Bitbucket Cloud和Server,包含PR生命周期管理、分支管理、文件操作和代码评审等功能。

安装

npx -y @nexus2520/bitbucket-mcp-server

客户端配置

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "@nexus2520/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_USERNAME": "<BITBUCKET_USERNAME>",
        "BITBUCKET_TOKEN": "<BITBUCKET_TOKEN>",
        "BITBUCKET_BASE_URL": "<BITBUCKET_BASE_URL>"
      }
    }
  }
}

环境变量

BITBUCKET_USERNAMEBITBUCKET_TOKENBITBUCKET_BASE_URL
分类
版本控制, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(16)

  • grep

    search file contents with full regex, any branch, like ripgrep on a local clone.

  • search_code

    index-backed exact-term search across a whole project in one call (default branch only, case-insensitive, no regex, files <512 KiB, ~1000-result window).

  • search_repositories

    find repos by name/description.

  • get_pull_request

    metadata + reviewer status + merge info in 1 call; include_comments / include_file_changes (default true), include_tasks, comment_limit.

  • list_pull_requests

    repo-scoped; omit repository (Server) for your PRs across all repos in one call (role filter).

  • create_pull_request

    update_pull_request, merge_pull_request, decline_pull_request — all mutations accept version from a prior read (saves a fetch; auto-refetch + retry once on 409…

  • add_comment

    general, threaded reply, inline (file_path + line_number, or code_snippet auto-resolution), code suggestion, or task (severity: "BLOCKER", Server).

  • manage_comment

    edit / delete / resolve / reopen / to_task / to_comment on any comment or task, one call with version.

  • get_pull_request_diff

    raw unified diff text; scope with file_path (server-side), include_patterns/exclude_patterns, context_lines, ignore_whitespace.

  • set_review_status

    APPROVED / NEEDS_WORK / UNAPPROVED (mutually exclusive; one call).

  • list_pr_commits

    list_branch_commits (server-side since-rev/merges filters; bounded page-walk for client-side author/until/search), get_commit_detail (unified diff, or detail:…

  • list_branches

    get_branch (branch + its PRs), delete_branch (expected_head skips the lookup call).

  • get_file_content

    windowed server-side: start_line/line_count transfer only that window (≤5000 lines/call). full_content / negative start_line for whole-file or tail reads.

  • get_file_blame

    commit-span blame for a line window in 1 call (Server).

  • list_directory_content

    paginated, compact.

  • manage_attachments

    (download capped, delete), list_projects, list_repositories.

本页信息摘自该项目的 README。 查看 README

相关 MCP 服务器

更多服务器
core logo

core

opensumi/core

3.3k

OpenSumi 是一个帮助快速构建 AI 原生 IDE 产品的框架,支持云端和桌面端开发环境,提供丰富的示例项目和模板。

版本控制
test1 logo

test1

trpc-group/trpc-go

942

每个wiki文件应在.resource目录中存放与其路径对应的额外资源(如图片),并使用git lfs进行版本管理。

版本控制
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

解决Pylance未解析导入警告的文档

版本控制
e2b logo

e2b

e2b-dev/mcp-server

233

项目用于管理代码变更记录

版本控制
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

一个用于读取GitHub仓库结构和重要文件的MCP服务器

版本控制
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

改进版的GitLab MCP服务器,提供丰富的GitLab操作接口和增强功能

版本控制