MCP Bitbucket Python 🦊
Bitbucket との連携を可能にする MCP サーバーの Python 実装です。MCP (Model Context Protocol) は、AI アプリケーションによる安全なローカルツールアクセスを実現します。サーバーは AI アプリケーションと同じマシン上でローカルに実行されます。
インストール
利用可能なツール
この 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 の資格情報を環境変数として設定する必要があります。
プロジェクト構造
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
AI アプリケーション向けの安全なローカル Bitbucket 統合を可能にし、リポジトリ管理、ブランチ作成、ファイル操作、問題追跡、プル リクエスト作成のためのツールを提供する MCP サーバーの Python 実装。
Related MCP Servers
- -securityFlicense-qualityA 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
- AsecurityAlicenseAqualityAn 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 -191,1619MIT License
- -securityAlicense-qualityA 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 -MIT License
- -securityFlicense-qualityA 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 -5