Skip to main content
Glama

MCP Bitbucket Python

by Kallows

MCP Bitbucket Python 🦊

Bitbucket との連携を可能にする MCP サーバーの Python 実装です。MCP (Model Context Protocol) は、AI アプリケーションによる安全なローカルツールアクセスを実現します。サーバーは AI アプリケーションと同じマシン上でローカルに実行されます。

インストール

# Install the server locally git clone https://github.com/kallows/mcp-bitbucket.git

利用可能なツール

この MCP サーバーは、次の Bitbucket 統合ツールを提供します。

  • bb_create_repository : 新しい Bitbucket リポジトリを作成する
    • 必須: 名前 (リポジトリ名)
    • オプション: 説明、ワークスペース (デフォルトは kallows)、プロジェクトキー、is_private (デフォルト: true)、has_issues (デフォルト: true)
  • bb_create_branch : リポジトリに新しいブランチを作成する
    • 必須: repo_slug、branch(新しいブランチの名前)
    • オプション: ワークスペース (デフォルトは kallows)、start_point (デフォルトは main)
  • bb_delete_repository : Bitbucket リポジトリを削除する
    • 必須: repo_slug
    • オプション: ワークスペース (デフォルトは kallows)
  • bb_read_file : リポジトリからファイルを読み取る
    • 必須: repo_slug、path (リポジトリ内のファイルパス)
    • オプション: ワークスペース (デフォルトは kallows)、ブランチ (デフォルトは main/master)
  • bb_write_file : リポジトリ内のファイルを作成または更新する
    • 必須: repo_slug、パス、コンテンツ
    • オプション: ワークスペース (デフォルトは kallows)、ブランチ (デフォルトは main)、メッセージ (コミットメッセージ)
  • bb_create_issue : リポジトリに問題を作成する
    • 必須: repo_slug、タイトル、コンテンツ
    • オプション: ワークスペース (デフォルトは kallows)、種類 (バグ/機能強化/提案/タスク)、優先度 (些細/軽微/重大/重大/ブロック)
  • bb_delete_issue : リポジトリから問題を削除する
    • 必須: repo_slug、issue_id
    • オプション: ワークスペース (デフォルトは kallows)
  • bb_search_repositories : クエリ構文を使用して Bitbucket リポジトリを検索します
    • 必須: クエリ (例: 'name ~ "test"' または 'project.key = "PROJ"')
    • オプション: ワークスペース (デフォルトは kallows)、ページ (デフォルト: 1)、ページ長 (デフォルト: 10、最大: 100)
  • bb_delete_file : リポジトリからファイルを削除する
    • 必須: repo_slug、パス
    • オプション: ワークスペース (デフォルトは kallows)、ブランチ (デフォルトは main)、メッセージ (コミットメッセージ)
  • bb_create_pull_request : プルリクエストを作成する
    • 必須: repo_slug、title、source_branch
    • オプション: ワークスペース (デフォルトは kallows)、 destination_branch (デフォルトは main)、 description、 close_source_branch (デフォルト: true)

環境設定

サーバーでは、Bitbucket の資格情報を環境変数として設定する必要があります。

export BITBUCKET_USERNAME="your-username" export BITBUCKET_APP_PASSWORD="your-app-password"

プロジェクト構造

mcp-bitbucket/ ├── README.md ├── pyproject.toml ├── src/ │ └── bitbucket_api/ │ ├── __init__.py │ └── server.py └── tests/ ├── __init__.py ├── test_bb_api.py └── test_bb_integration.py
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI アプリケーション向けの安全なローカル Bitbucket 統合を可能にし、リポジトリ管理、ブランチ作成、ファイル操作、問題追跡、プル リクエスト作成のためのツールを提供する MCP サーバーの Python 実装。

  1. インストール
    1. 利用可能なツール
      1. 環境設定
        1. プロジェクト構造

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Python implementation of the MCP server that enables AI models to connect with external tools and data sources through a standardized protocol, supporting tool invocation and resource access via JSON-RPC.
            Last updated -
            1
            Python
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables interaction with Bitbucket repositories through the Model Context Protocol, supporting both Bitbucket Cloud and Server with features for PR lifecycle management and code review.
            Last updated -
            16
            1,525
            7
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A dynamic MCP server that automatically discovers Python files in a directory and exposes them as tools to any MCP-compatible AI client, allowing users to easily create and deploy custom AI tools.
            Last updated -
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A high-speed MCP server that enables AI assistants like Claude to interact with local filesystems, manage Git repositories, and provide interactive experiences through a standardized JSON-based protocol.
            Last updated -
            3
            Python
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kallows/mcp-bitbucket'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server