
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 分