
Ros Mcp Server
io.github.robotmcp由 GitHub 账号 robotmcp 发布v3.1.2更新于 Oct 24, 2026
Connect AI models like Claude & ChatGPT with ROS robots using MCP
概览
通过 rosbridge 把大语言模型助手连接到 ROS 机器人,使其能发布订阅话题、调用服务与动作并读取机器人状态。
- 可以做什么
- 发布和订阅 ROS 话题,向机器人发送指令并观察数据
- 调用 ROS 服务与动作,设置参数
- 读取传感器数据并实时监控机器人状态
- 自动发现可用的话题、服务、动作及其类型(含自定义类型),以便用正确语法调用
- 适用场景
- 当你希望助手控制或诊断 ROS 1 / ROS 2 机器人时使用,例如用自然语言导航、操作机械臂,或结合手册与实时数据排查硬件故障。
- 运行要求
- 以本地进程方式通过 stdio 运行,安装自 PyPI 包 ros-mcp。需要在现有 ROS 环境中添加 rosbridge 节点并可访问;无需修改机器人源码。未声明认证方式或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Ros Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ROS MCP Server 🧠⇄🤖
[Static Badge] [Static Badge] [Static Badge] [Python] [pip] [Dev Container] [GitHub Repo stars] [GitHub last commit]
ROS-MCP-Server connects large language models (such as Claude, GPT, and Gemini) to robots, enabling bidirectional communication with no changes to existing robot source code.
Why ROS-MCP?
- No robot source code changes → just add the
rosbridgenode to your existing ROS setup. - True two-way communication → LLMs can both control robots and observe everything happening on the Robot.
- Full context → publish & subscribe to topics, call services & actions, set parameters, read sensor data, and monitor robot state in real time.
- Deep ROS understanding → guides the LLM to discover available topics, services, actions, and their types (including custom ones) — enabling it to use them with the right syntax without manual configuration.
- Works with any MCP client → built on the open MCP standard, supporting Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, and more.
- Works across ROS versions → compatible across ROS 2 (Jazzy, Humble, and others) and ROS 1 distros.
🎥 Examples in Action
🏭 Example - AI Agent diagnosis of Industrial Robot End Effector (Video)
- The MCP server connects Claude to a production industrial robot, with only the technician manuals as reference.
- Claude discovers the robot's custom topic and service types and their syntax on its own.
- From a single prompt to test the gripper, it reads the manuals, runs its own tests, finds an anomaly, and reports the root cause.
[Testing and debugging an industrial robot]
🤖 Example - Controlling "Wilson" with natural language (video)
From a single prompt — "Grab a Coke from the fridge & go to the living room." — Google Gemini uses the MCP server to navigate and manipulate autonomously. Built on ROS 2 with Nav2 (SLAM) for mapping and navigation, and MoveIt to command the manipulator.
[Wilson robot controlled with natural language]
🐕 Example - Controlling Unitree Go2 in NVIDIA Isaac Sim (video)
The MCP server connects Claude to a simulated Unitree Go2 quadruped in NVIDIA Isaac Sim, interpreting natural language commands to navigate and control the robot.
[Controlling Unitree Go2 in NVIDIA Isaac Sim]
🛠 Getting Started
Follow the installation guide to get started.
ROS-MCP works with Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, or any MCP-compatible client.
📚 More Examples & Tutorials
Browse our examples to see the server in action.
We welcome community PRs with new examples and integrations!
🤝 Contributing
We love contributions of all kinds:
- Bug fixes and documentation updates
- New features (e.g., Action support, permissions)
- Additional examples and tutorials
Check out the contributing guidelines and see issues tagged good first issue to get started.
📜 License
This project is licensed under the Apache License 2.0.
来源:README.md,提交 476591a
工具
0版本历史
2- v3.1.2最新Sep 23, 2026
- v3.1.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分