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
-
security - not tested
F
license - not found
-
quality - not tested

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

          • A
            security
            F
            license
            A
            quality
            MCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.
            Last updated -
            18
            4
            3
            TypeScript
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
            Last updated -
            Python
          • A
            security
            A
            license
            A
            quality
            A server that provides a persistent Python REPL environment through the MCP protocol, allowing execution of Python code, variable management, and package installation.
            Last updated -
            3
            3
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
            Last updated -
            165
            Python
            MIT License
            • Apple
            • Linux

          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