Skip to main content
Glama

Unitree Go2 MCP Server

Unitree Go2 MCP サーバー

ROS2静的バッジ

Unitree Go2 MCPサーバーは、モデルコンテキストプロトコル(MCP)上に構築されたサーバーであり、ユーザーは大規模言語モデル(LLM)によって解釈される自然言語コマンドを使用してUnitree Go2ロボットを制御できます。これらのコマンドはROS2命令に変換され、ロボットは対応するアクションを実行できます。

要件

  • Unitree Go2 ロボット
  • Ubuntu 20.04または22.04
  • ROS2 環境: Humble (推奨) またはFoxy

MCP機能

関数のリストはMCPFUNCTIONS.mdにあります。

インストール

1. unitree_ros2環境をセットアップする

https://github.com/unitreerobotics/unitree\_ros2

  • 上記のリンク先のリポジトリでStep 2: Connect and testまでセットアップを完了する必要があります。

2. このリポジトリをクローンする

git clone https://github.com/lpigeon/unitree-go2-mcp-server.git cd unitree-go2-mcp-server

3. uv設置

  • uvをインストールするには、次のコマンドを使用します。
curl -LsSf https://astral.sh/uv/install.sh | sh

または

pip install uv
  • 仮想環境を作成してアクティブ化する(オプション)
uv venv source .venv/bin/activate

4. MCPサーバーの構成

MCP 設定を mcp.json に設定します。

設定は Go2 に接続された PC で行う必要があることに注意してください。

{ "mcpServers": { "unitree-go2-mcp-server": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/unitree-go2-mcp-server", "run", "server.py" ] } } }

Claude Desktop を使用する場合は、次のコマンドを使用して mcp.json を見つけることができます。

  • macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • Linux(Ubuntu)

claude-desktop-debianを使用するには、Claude Desktop をインストールできます。

code ~/.config/Claude/claude_desktop_config.json
  • ウィンドウズ
code $env:AppData\Claude\claude_desktop_config.json

使い方

1. UNITREE_ROS2_SETUP_SH_PATHを設定します。

  • server.pyを開き、 UNITREE_ROS2_SETUP_SH_PATHを変更します (例: /home/lpigeon/unitree_ros2/setup.sh )
rosbridgeを使用する場合は、rosbridge に接続するために IP とポートを設定する必要があります (オプション)。
  • server.pyを開き、 LOCAL_IPROSBRIDGE_IPROSBRIDGE_PORTを変更します。( ROSBRIDGE_PORTのデフォルト値は9090です)

2. Go2 ロボットがネットワークに接続されていることを確認します。

ターミナルに次のコマンドを入力します。

ros2 topic list

次のトピックが表示されます。

/wirelesscontroller

トピックが表示されない場合は、Go2 ロボットとネットワーク間の接続を確認してください。

3. unitree-go2-mcp-serverインポートした AI システムを実行します。

4. 「Go2 ロボットを 0.5 m/s の速度で 3 秒間前進させる」と入力します。

5. Go2 ロボットの動きを確認します。

6. やりたいことを入力して、楽しんでください!

文脈理解

「Go2 は疲れているようです」のようなコマンドを入力すると、LLM はこれを文脈に応じて解釈し、ロボットには休憩や何らかのストレッチが必要であることを理解します。

簡単なタスク

このタスクは、Unitree Go2 ロボットの障害物回避、方向変更、ユーザーインタラクション機能を紹介する包括的なデモタスクです。

貢献

貢献を歓迎します!
タイプミスの修正、新しい機能の追加、改善の提案など、どのような場合でもご協力をお願いいたします。
このプロジェクトに貢献する方法の詳細については、貢献ガイドラインに従ってください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
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.

モデル コンテキスト プロトコル上に構築されたサーバーで、自然言語コマンドを使用して Unitree Go2 ロボットを制御できます。これらのコマンドは、ロボットが対応するアクションを実行するための ROS2 命令に変換されます。

  1. 要件
    1. MCP機能
      1. インストール
        1. unitree_ros2環境をセットアップする
        2. このリポジトリをクローンする
        3. uv設置
        4. MCPサーバーの構成
      2. 使い方
        1. UNITREE_ROS2_SETUP_SH_PATHを設定します。
        2. Go2 ロボットがネットワークに接続されていることを確認します。
        3. unitree-go2-mcp-serverインポートした AI システムを実行します。
        4. 「Go2 ロボットを 0.5 m/s の速度で 3 秒間前進させる」と入力します。
        5. Go2 ロボットの動きを確認します。
        6. やりたいことを入力して、楽しんでください!
      3. 文脈理解
        1. 簡単なタスク
          1. 貢献

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables Claude and other AI assistants to access and update Kintone data through natural language commands, supporting operations like record management, file handling, app administration, and space collaboration.
              Last updated -
              25
              8
              JavaScript
              AGPL 3.0
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with Zulip workspaces, supporting capabilities such as posting messages, listing channels, sending direct messages, and accessing conversation history.
              Last updated -
              JavaScript
              Apache 2.0
            • -
              security
              -
              license
              -
              quality
              A Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with Go's Language Server Protocol (LSP) and benefit from advanced Go code analysis features.
              Last updated -
              Go
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI platforms to invoke RPA (Robotic Process Automation) capabilities from YingDao, allowing automated execution of repetitive tasks through AI interactions.
              Last updated -
              3
              65
              11
              TypeScript
              MIT License
              • 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/lpigeon/unitree-go2-mcp-server'

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