Ros 2 MCP server
io.github.wise-vision/mcp_server_ros_2·v1.0.0·89 starsView ROS 2 nodes and topics, and call services and actions via MCP
89 stars
Reviews
Write oneNobody has reviewed Ros 2 yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ros 2 tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Ros 2 compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 90/100
- higher than 83% of 48,255 servers
- GitHub stars
- 89
- more than 95% of 28,688 servers
Install Ros 2 in Claude Code, Cursor or VS Code
claude mcp add mcp_server_ros_2 -- docker run -i --rm docker.io/mcp/ros2:latest
What the publisher says
From the Ros 2 repository's README, as published. We do not edit it. Read it on GitHub
ROS2 MCP
ROS2 MCP is an open-source (MPL-2.0) Model Context Protocol (MCP) server for ROS 2 Humble and Jazzy, written in Python. It lets AI tools such as Claude, Cursor and Codex list, subscribe to, publish on and call ROS 2 topics, services and actions over stdio (or SSE). It is listed in Docker's official MCP catalog as mcp/ros2.
Every tool is free and open source, including multi-topic subscribe/publish, map-to-image and point-cloud bird's-eye view.
🌐 Website: wisevision.tech · 📚 Documentation: wisevision.tech/docs
🔒 Security: read-only mode
An agent connected to a real robot can move it. Start the server in read-only mode to let the agent observe but not act:
ROS2_MCP_READONLY=1 uv run mcp_ros_2_server # env var
uv run mcp_ros_2_server --read-only # or CLI flag
docker run -i --rm -e ROS2_MCP_READONLY=1 mcp/ros2In read-only mode the tools that change robot state are not registered at all: they do not appear in listtools, and calling one returns an Unknown tool error. The hidden tools are: ros2topicpublish, ros2publishmultipletopics, ros2servicecall, ros2sendactiongoal, ros2cancelactiongoal. Read-only mode fails closed: only tools that were explicitly reviewed as read-only (listed in server/toolsafety.py) are registered, and a test fails if a new tool is added without being classified. ros2service_call is hidden because the server cannot know whether an arbitrary service has side effects.
✨ Tools
- List available topics
- List available services
- Lists available actions with their types and request fields
- Call services
- Subscribe to topics to collect messages
- Publish messages to topics
- Echo messages on topics
- Get fields from message types
- Sends an action goal and optionally waits for the result
- Requests the result of an action goal
- Subscribes to feedback messages from an action
- Subscribes to status updates of an action
🤖 Available Prompts
📘 Want to create a custom prompt? Check the guide here
📊 base.ros2-topic-echo-and-analyze
Subscribe to a ROS2 topic, collect messages for a specified duration, and provide statistical analysis of the collected data.
➡️ Can auto-detect topic if only one is available. Analyzes message rates, counts, and statistics on numeric fields.
🔄 base.ros2-topic-relay
Subscribe to one ROS2 topic and republish messages to another topic with optional transformations.
➡️ Supports identity relay, rate limiting, and change-based filtering.
🏥 base.ros2-node-health-check
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ros 2: common questions
- Is Ros 2 MCP server safe?
- Yes, by our scan: it is graded A (90/100). Read the Ros 2 safety report
- How do I install Ros 2?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ros 2 need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Ros 2 maintained?
- The last commit was 35 days ago (2026-09-30). The latest release is v1.0.0.
- How does Ros 2 compare with other MCP servers?
- safety score 90/100 (higher than 83% of 48,255 servers); github stars 89 (more than 95% of 28,688 servers). Full comparison.