Skip to main content
Glama

pyBittle MCP Server

by cluesang

pyBittle-mcp-server

Bluetooth経由でBittleロボットを制御するためのPython MCP(Model Context Protocol)サーバー。このサーバーは、MCPプロトコルを使用してBittleを移動、ポーズ、操作するための一連のコマンドを公開します。

特徴

  • Bluetooth経由でBittleに接続
  • 動きとポーズのコマンドを公開します (前進、後退、回転、座る、休むなど)
  • リモートおよびプログラム制御用のMCPツールと統合
  • すべてのアクティビティをbittle_mcp.logに記録します。

要件

  • Python 3.10以上
  • パッケージ管理のためのuv
  • Bluetooth対応のBittleロボット
  • pyBittleライブラリ
  • mcp-serverライブラリ

インストールとセットアップ

  1. uv をインストールします (高速で信頼性の高い Python パッケージ管理に推奨)。
    curl -Ls https://astral.sh/uv/install.sh | sh
  2. 依存関係をインストールします:
    uv pip install -r requirements.txt # or, if using pyproject.toml: uv pip install -r pyproject.toml

使用法

  1. Bluetooth を構成する: Bittle ロボットの電源がオンになっており、Bluetooth ペアリング モードになっていることを確認します。
  2. MCP サーバーを実行します。
    uv pip run python server.py
    サーバーは Bittle に接続し、ステータスをbittle_mcp.logに記録しようとします。
  3. MCP ツールとの統合:
    • このサーバーは、MCP プロトコルを介してコマンドを公開し、MCP 互換のクライアントまたはツールからアクセスできるようにします。
    • MCP CLIまたはその他の MCP ツールを使用して、Bittle ロボットで使用可能なコマンドを検出し、呼び出すことができます。
    • 例 (MCP CLI を使用):
      mcp call move_forward mcp call sit mcp call rest
    • 利用可能なすべてのコマンドは、 server.py@mcp.tool()で装飾され、MCP サーバーに自動的に登録されます。

発達

  • メインロジックはserver.pyにあります。
  • ログはコンソールとbittle_mcp.log両方に出力するように設定されています。
  • コマンドは、MCP 公開のために@mcp.tool()で装飾されます。

トラブルシューティング

  • サーバーが接続に失敗した場合は、Bluetooth ペアリングを確認し、他のプロセスが Bittle 接続を使用していないことを確認します。
  • 詳細なエラー メッセージについては、 bittle_mcp.log確認してください。

ライセンス

MITライセンス

-
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.

モデル コンテキスト プロトコル (MCP) を使用して Bluetooth 経由で Bittle ロボットをリモート制御できる Python サーバー。これにより、ユーザーはプログラムで移動やポーズのコマンドを送信できます。

  1. 特徴
    1. 要件
      1. インストールとセットアップ
        1. 使用法
          1. 発達
            1. トラブルシューティング
              1. ライセンス

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  A Python implementation of an MCP server that enables secure, local Bitbucket integration for AI applications, providing tools for repository management, branch creation, file operations, issue tracking, and pull request creation.
                  Last updated -
                  10
                  3
                  Python
                  • Apple
                  • Linux
                • -
                  security
                  A
                  license
                  -
                  quality
                  A ModelContextProtocol server that enables Claude AI to detect and scan nearby Bluetooth devices, providing Bluetooth sensing capabilities to Claude through a compatible MCP interface.
                  Last updated -
                  1
                  Python
                  MIT License
                  • Linux
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Python-based server that enables AI assistants to control robots by integrating the Model Context Protocol (MCP) with ROS 2, allowing for natural language commands that translate into robot movement via the /cmd\_vel topic.
                  Last updated -
                  55
                  Python
                • A
                  security
                  A
                  license
                  A
                  quality
                  A server built on the Model Context Protocol that enables controlling the Unitree Go2 robot using natural language commands, which are translated into ROS2 instructions for the robot to perform corresponding actions.
                  Last updated -
                  12
                  6
                  Python
                  Apache 2.0
                  • 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/cluesang/pyBittle-mcp-server'

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