unitree-go2-mcp-server
by lpigeon·★ 78·综合分 37
MCP服务器将自然语言命令转换为ROS2指令,控制宇树Go2机器人。
概述
宇树Go2 MCP服务器是一个专门工具,通过模型上下文协议将自然语言处理与机器人控制连接起来。它使用户能够通过对话命令控制宇树Go2四足机器人,这些命令由LLM解释并转换为ROS2指令。该服务器支持上下文理解,使机器人能够解释微妙的命令并执行复杂任务,如避障、转向和用户交互。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
如果您有宇树Go2机器人并希望通过LLM接口使用自然语言控制它,请选择此MCP服务器。
什么时候不要选它
如果您没有宇树Go2机器人,请不要选择它,因为它专门为此硬件平台设计。
此 server 暴露的工具
从 README 抽取出 6 个工具move_forwardMakes the Go2 robot move forward at a specified velocity for a duration
move_backwardMakes the Go2 robot move backward at a specified velocity for a duration
turn_leftMakes the Go2 robot turn left at a specified angular velocity for a duration
turn_rightMakes the Go2 robot turn right at a specified angular velocity for a duration
stop_movementStops all movement of the Go2 robot
avoid_obstaclesEnables the Go2 robot to autonomously avoid obstacles
说明:Tool names inferred from usage examples and descriptions in the README, as the actual tools are documented in a separate file (MCPFUNCTIONS.md) which wasn't provided in full. The README shows examples of natural language commands that would
可对比工具
安装
安装
- 设置
unitree_ros2环境(遵循 https://github.com/unitreerobotics/unitree_ros2 中直到'第2步:连接和测试'的说明)
- 克隆此仓库:
git clone https://github.com/lpigeon/unitree-go2-mcp-server.git
cd unitree-go2-mcp-server- 安装
uv:
curl -LsSf https://astral.sh/uv/install.sh | sh- 通过添加到 mcp.json 配置 MCP 服务器:
{
"mcpServers": {
"unitree-go2-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/unitree-go2-mcp-server",
"run",
"server.py"
]
}
}
}- 在 server.py 中设置环境变量(UNITREE_ROS2_SETUP_SH_PATH、LOCAL_IP 等)
unitree-go2-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。