Bitbucket MCP Server

Developmentstdiov1.0.0
Репозиторий

MCP server for Atlassian Bitbucket that connects AI tools to repositories, pull requests, branches, and pipelines. Enables agents to review and create pull requests, read file contents and diffs, leave comments, and inspect build status on Bitbucket Cloud and Server.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "bitbucket-mcp"
      ],
      "env": {
        "BITBUCKET_USERNAME": "<YOUR_BITBUCKET_USERNAME>",
        "BITBUCKET_APP_PASSWORD": "<YOUR_BITBUCKET_APP_PASSWORD>"
      }
    }
  }
}

Инструменты (3)

list_pull_requests

List pull requests for a repository with optional state filter.

{
  "type": "object",
  "required": [
    "workspace",
    "repo_slug"
  ],
  "properties": {
    "state": {
      "type": "string",
      "description": "PR state (OPEN, MERGED, DECLINED)"
    },
    "repo_slug": {
      "type": "string",
      "description": "Repository slug"
    },
    "workspace": {
      "type": "string",
      "description": "Bitbucket workspace ID"
    }
  }
}

create_pull_request

Create a pull request between two branches.

{
  "type": "object",
  "required": [
    "workspace",
    "repo_slug",
    "source_branch",
    "destination_branch",
    "title"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "Pull request title"
    },
    "repo_slug": {
      "type": "string",
      "description": "Repository slug"
    },
    "workspace": {
      "type": "string",
      "description": "Bitbucket workspace ID"
    },
    "source_branch": {
      "type": "string",
      "description": "Source branch"
    },
    "destination_branch": {
      "type": "string",
      "description": "Destination branch"
    }
  }
}

get_file

Read the contents of a file at a given ref.

{
  "type": "object",
  "required": [
    "workspace",
    "repo_slug",
    "path"
  ],
  "properties": {
    "ref": {
      "type": "string",
      "description": "Branch, tag, or commit"
    },
    "path": {
      "type": "string",
      "description": "File path"
    },
    "repo_slug": {
      "type": "string",
      "description": "Repository slug"
    },
    "workspace": {
      "type": "string",
      "description": "Bitbucket workspace ID"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Atlassian Community (@MatanYemini)
Репозиторий
https://github.com/MatanYemini/bitbucket-mcp
Лицензия
MIT
Версия
1.0.0
Звёзды
410
Последнее обновление
24 июня 2026 г.