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ライブラリ
インストールとセットアップ
uv をインストールします (高速で信頼性の高い Python パッケージ管理に推奨)。
依存関係をインストールします:
使用法
Bluetooth を構成する: Bittle ロボットの電源がオンになっており、Bluetooth ペアリング モードになっていることを確認します。
MCP サーバーを実行します。
サーバーは Bittle に接続し、ステータスを
bittle_mcp.log
に記録しようとします。MCP ツールとの統合:
このサーバーは、MCP プロトコルを介してコマンドを公開し、MCP 互換のクライアントまたはツールからアクセスできるようにします。
MCP CLIまたはその他の MCP ツールを使用して、Bittle ロボットで使用可能なコマンドを検出し、呼び出すことができます。
例 (MCP CLI を使用):
利用可能なすべてのコマンドは、
server.py
で@mcp.tool()
で装飾され、MCP サーバーに自動的に登録されます。
発達
メインロジックは
server.py
にあります。ログはコンソールと
bittle_mcp.log
両方に出力するように設定されています。コマンドは、MCP 公開のために
@mcp.tool()
で装飾されます。
トラブルシューティング
サーバーが接続に失敗した場合は、Bluetooth ペアリングを確認し、他のプロセスが Bittle 接続を使用していないことを確認します。
詳細なエラー メッセージについては、
bittle_mcp.log
確認してください。
ライセンス
MITライセンス
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
モデル コンテキスト プロトコル (MCP) を使用して Bluetooth 経由で Bittle ロボットをリモート制御できる Python サーバー。これにより、ユーザーはプログラムで移動やポーズのコマンドを送信できます。
Related MCP Servers
- AsecurityFlicenseAqualityA 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 -105
- -securityAlicense-qualityA 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 -12MIT License
- -securityFlicense-qualityA 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 -66
- AsecurityAlicenseAqualityA 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 -1245Apache 2.0