Skip to content
Back to search

ros2_mcp

ROS2 MCP: the MCP server that lets AI agents see, understand and operate ROS 2 robots. MPL-2.0.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/wise-vision--ros2-mcp/badge.svg)](/listings/wise-vision--ros2-mcp)

HTML

<a href="/listings/wise-vision--ros2-mcp"><img src="/api/listings/wise-vision--ros2-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Follow the [installation guide](installation/README.md) for step-by-step instructions: - [🧩 Install in Visual Studio Code Copilot](installation/README.md#configure-visual-studio-code-copilot) - [🤖 Install in Claude Desktop](installation/README.md#configure-claude-desktop) - [💻 Install in Warp](installation/README.md#configure-warp) - [🐳 Build Docker Image locally](installation/README.md#build-docker-image-locally)

🧭 DDS discovery warm-up (Docker)

If the first tool call returns an incomplete list of topics/services right after container start, DDS discovery may still be in progress. The server performs a one-time warm-up on the first tool call in container environments; tune it via:

- `MCP_ROS_DISCOVERY_STABLE_SEC` (default: `1.0`) - `MCP_ROS_DISCOVERY_TIMEOUT_SEC` (default: `5.0`) - `MCP_ROS_DISCOVERY_WARMUP=false` to disable

💡 Want to try it in simulation?

[Check out the Gazebo Drone Demo section](docs/DEMO_DRONE.md)

🔧 ROS 2 Tools

📋 **Topics**

| Tool | Description | Inputs | Outputs | |------|-------------|--------|---------| | **`ros2_topic_list`** | Returns list of available topics | – | `topic_name` (string): Topic name <br> `topic_type` (string): Message type | | **`ros2_topic_subscribe`** | Subscribes to a ROS 2 topic and collects messages for a duration or message limit | `topic_name` (string) <br> `duration` (float) <br> `message_limit` (int) <br> *(defaults: first msg, 5s)* | `messages` <br> `count` <br> `duration` | | **`ros2_get_messages_stored_in_influx_data_base`** | Retrieves past messages from a topic (data black box) | `topic_name` (string) <br> `message_type` (string) <br> `number_of_messages` (int) <br> `time_start` (str) <br> `time_end` (str) | `timestamps` <br> `messages` | | **`ros2_get_message_fields`** | Gets field names and types for a message type | `message_type` (string) | Field names + types | | **`ros2_topic_publish`** | Publishes message to a topic *(hidden in read-only mode)* | `topic_name` (string) <br> `message_type` (string) <br> `data` (dict) | `status` | | **`ros2_subscribe_multiple_topics`** | Subscribes to several topics at once; `sensor_msgs/Image` and `CompressedImage` messages are returned as PNG images | `topics[]` (array of {`name` (string), `duration` (float), `message_limit` (int)}) *(default per topic: 5 s)* | per topic: `count` + messages (text) or images (PNG) \| `error` | | **`ros2_publish_multiple_topics`** | Publishes to several topics simultaneously at a given frequency for a given duration *(hidden in read-only mode)* | `topics[]` (array of {`topic_name` (string), `message_type` (string), `data` (object), `frequency` (Hz, default 1.0), `duration` (s, default 5.0)}) | per topic: status | | **`ros2_get_map_as_image`** | Gets one `nav_msgs/msg/OccupancyGrid` and returns it as a PNG (unknown = gray, free = white, occupied = black) | `topic_name` (string, e.g. `/map`) | PNG image | | **`ros2_get_pointcloud_as_bev`** | Gets one `sensor_msgs/msg/PointCloud2` and renders a bird's-eye view (XY projection) PNG | `topic_name` (string) <br> `resolution` (m/px, default 0.05) <br> `zmin`/`zmax` (m) <br> `timeout` (s, default 5.0) <br> `max_pixels` (int, default 2048) <br> `color_mode` (`intensity`\|`height`\|`rgb`) <br> `colormap` (`jet`\|`gray`) | PNG image |

---

🛠 **Services**

| Tool | Description | Inputs | Outputs | |------|-------------|--------|---------| | **`ros2_service_list`** | Returns list of available services | – | `service_name` (string) <br> `service_type` (string) <br> `request_fields` (array) | | **`ros2_service_call`** | Calls a ROS 2 service *(hidden in read-only mode)* | `service_name` (string) <br> `service_type` (string) <br> `fields` (array) <br> `force_call` (bool, default: false) | `result` (string) <br> `error` (string, if any) |

🎯 **Actions**

| Tool | Description | Inputs | Outputs | |------|-------------|--------|---------|

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 259 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # ROS2 MCP
  2. [![Tests](https://github.com/wise-vision/ros2_mcp/actions/workflows/server_tests.yml/badge.svg?branch=main&event=schedule)](https://github.com/wise-vision/ros2_mcp/actions/workflows/server_tests.yml)
  3. [![Release](https://img.shields.io/github/v/release/wise-vision/ros2_mcp)](https://github.com/wise-vision/ros2_mcp/releases)
  4. [![License: MPL-2.0](https://img.shields.io/badge/License-MPL--2.0-brightgreen)](LICENSE)
  5. ![ROS 2 Humble](https://img.shields.io/badge/ROS%202-Humble-blue)
  6. ![ROS 2 Jazzy](https://img.shields.io/badge/ROS%202-Jazzy-purple)
  7. ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
  8. [![Docker pulls](https://img.shields.io/docker/pulls/wisevision/ros2_mcp?logo=docker)](https://hub.docker.com/r/wisevision/ros2_mcp)
  9. [![Discord](https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord)](https://discord.gg/9aSw6HbUaw)
  10. [![Docs](https://img.shields.io/badge/docs-wisevision.tech%2Fdocs-3CFFB4)](https://wisevision.tech/docs/)
  11. <!-- mcp-name: io.github.wise-vision/ros2_mcp -->
  12. ![Flow graph](docs/assets/flow-graph.gif)
  13. **ROS2 MCP** is an open-source (MPL-2.0) **Model Context Protocol** server that lets AI agents (Claude, Cursor, Codex and any other MCP client) list, subscribe to, publish on and call ROS 2 topics, services and actions on a live robot. It talks to ROS 2 directly through `rclpy`: no rosbridge, no changes to your robots. Transports: **stdio** (default), **Streamable HTTP** and SSE (deprecated by the MCP spec).
  14. Every tool is free and open source. [Commercial support](#-commercial-support--integration) is available if you want help putting it on a real machine.
  15. ## ⚡ Quickstart (30 seconds, Docker)
  16. You need Docker and an MCP client. ROS 2 itself does not have to be installed: the image contains it.
  17. ```bash
  18. # Claude Code (use :humble for a ROS 2 Humble system). Read-only: the agent can look, not act.
  19. claude mcp add ros2 -- docker run -i --rm -e ROS2_MCP_READONLY=1 wisevision/ros2_mcp:jazzy
  20. ```
  21. Any other MCP client: run `docker run -i --rm -e ROS2_MCP_READONLY=1 wisevision/ros2_mcp:jazzy` as its stdio command. Then ask: *"List the ROS 2 topics"* and *"Read three messages from /chatter"*.
  22. No robot at hand? Start a demo publisher first:
  23. ```bash
  24. docker run -d --name demo-robot ros:jazzy-ros-base bash -c \
  25. 'source /opt/ros/jazzy/setup.bash && ros2 topic pub -r 2 /chatter std_msgs/msg/String "{data: hello from the robot}"'
  26. ```
  27. Prefer `uv`? On a machine with ROS 2 installed and sourced (the server needs `rclpy`; use the Python that matches your distro, e.g. 3.12 on Jazzy):
  28. ```bash
  29. source /opt/ros/jazzy/setup.bash
  30. uvx --python /usr/bin/python3 --from git+https://github.com/wise-vision/ros2_mcp mcp_ros_2_server
  31. ```
  32. Remove `-e ROS2_MCP_READONLY=1` (or the `--read-only` flag) only when you want the agent to be able to move things; see [Security](#-security-read-only-mode). Client-specific setup (VS Code Copilot, Claude Desktop, Warp, Codex CLI, custom messages): [installation guide](installation/README.md). Docs: [wisevision.tech/docs](https://wisevision.tech/docs/).
  33. > `mcp/ros2` in Docker's official MCP catalog (13,750 pulls at the time of writing) is built by Docker and lags our releases: it was last updated on 2026-02-04 and predates read-only mode. `wisevision/ros2_mcp` is built and pushed by this repository's CI and is the one the commands above use.
  34. ## 🧰 Tools
  35. 24 tools. ⚠ marks tools that can change robot state; [read-only mode](#-security-read-only-mode) removes them. The complete, generated reference with input schemas is [`docs/generated/tools.md`](docs/generated/tools.md) (a CI check keeps it in sync with the code).
  36. | Area | Tools |
  37. |---|---|
  38. | **Discover** | `ros2_topic_list`, `ros2_service_list`, `ros2_list_actions`, `ros2_interface_list`, `ros2_get_message_fields` (field names and types of a message type) |
  39. | **Topics** | `ros2_topic_subscribe`, `ros2_subscribe_multiple_topics` (images come back as PNG), ⚠ `ros2_topic_publish`, ⚠ `ros2_publish_multiple_topics` (set frequency and duration) |
  40. | **Services** | ⚠ `ros2_service_call` |
  41. | **Actions** | ⚠ `ros2_send_action_goal` (optionally waits for the result), `ros2_action_request_result`, `ros2_action_subscribe_feedback`, `ros2_action_subscribe_status`, ⚠ `ros2_cancel_action_goal` |
  42. | **Perception** | `ros2_get_map_as_image` (`nav_msgs/OccupancyGrid` to PNG), `ros2_get_pointcloud_as_bev` (`sensor_msgs/PointCloud2` to bird's-eye-view PNG) |
  43. | **History** | `ros2_get_messages_stored_in_influx_data_base` (past messages from the [WiseVision Data Black Box](https://github.com/wise-vision/wisevision_data_black_box), an [InfluxDB](https://www.influxdata.com)-based alternative to [Rosbag2](https://github.com/ros2/rosbag2)) |
  44. | **Viewer app** | `ros2_viewer_app`, `ros2_viewer_config`, `ros2_stream_start`, `ros2_stream_next`, `ros2_stream_next_image`, `ros2_stream_stop` (interactive image / point cloud / plot viewer for MCP clients that support Apps; the stream tools also serve clients that cannot render it) |
  45. Also included: four built-in [prompts](#-prompts), automatic QoS selection for topics, nested message fields, and custom message types (source your package before starting; see the [installation guide](installation/README.md#add-custom-messages)).
  46. ## 🧭 Supported ROS 2 distributions
  47. | Distro | Status |
  48. |---|---|
  49. | **Jazzy Jalisco** (Ubuntu 24.04, Python 3.12) | Supported. Tests run in CI on `ros:jazzy-ros-base`; Docker image `wisevision/ros2_mcp:jazzy`. |
  50. | **Humble Hawksbill** (Ubuntu 22.04, Python 3.10) | Supported. Tests run in CI on `ros:humble-ros-base`; Docker image `wisevision/ros2_mcp:humble`. |
  51. | Iron, Kilted, Rolling | Not tested and not shipped. It may work from source; we make no promise. [Open an issue](https://github.com/wise-vision/ros2_mcp/issues) if you need one. |
  52. ROS 1 is not supported (the server uses `rclpy`). Python 3.10 or newer.
  53. ## 🆚 How it compares
  54. Other open-source ROS MCP servers exist. They make different trade-offs; pick by what you need. Facts below were read from each project's README, `pyproject.toml` and GitHub page on 2026-10-14.
  55. | | **ROS2 MCP** (this repo) | [robotmcp/ros-mcp-server](https://github.com/robotmcp/ros-mcp-server) | [LCAS/ros2_mcp](https://github.com/LCAS/ros2_mcp) |
  56. |---|---|---|---|
  57. | How it reaches ROS | `rclpy`, directly on the ROS 2 graph (runs where ROS 2 is sourced, or in the Docker image) | `rosbridge` WebSocket; the MCP server can run on a different machine from the robot | ROS 2 package built in your colcon workspace |
  58. | ROS versions | ROS 2 Humble, Jazzy | ROS 1 and ROS 2 | ROS 2 Humble, Iron, Jazzy (per its README) |
  59. | Install | Docker image `wisevision/ros2_mcp`, or `uvx`/`uv` from git | `uvx ros-mcp` (on PyPI) | `git clone`, `rosdep`, `colcon build`; Docker Compose with an SSE endpoint |
  60. | Transports | stdio, Streamable HTTP, SSE | stdio, `http`, `streamable-http` (`--transport`) | SSE endpoint documented |
  61. | Read-only mode | Yes: mutating tools are not registered, and a test enforces the classification | No such switch found in its code; tools carry the MCP `readOnlyHint` annotation | Its README lists observation features only |
  62. | Publish / services / actions | Yes, including goal, result, feedback, status and cancel | Yes (topics, services and actions tools) | Not listed in its README |
  63. | Nodes and parameters | **No** dedicated tools yet | Yes (node and parameter tools) | Node listing |
  64. | Images and maps | Image topics as PNG, occupancy-grid map, point-cloud bird's-eye view | Image tool | Image retrieval for VLM analysis |
  65. | License | MPL-2.0 | Apache-2.0 | Apache-2.0 |
  66. | GitHub stars | 90 | 1,493 | 9 |
  67. When to pick another one: you need **ROS 1**, node or parameter tools, or you want the MCP server **off the robot** with only rosbridge exposed there: use `robotmcp/ros-mcp-server`. We do not claim to be better on every axis. What we offer: native `rclpy` access (no bridge process between the agent and DDS), a read-only mode that fails closed (a tool is registered in that mode only if it was explicitly reviewed as read-only, and a test fails when a new tool is unclassified), images, maps and point clouds returned as PNGs, the complete action lifecycle (goal, result, feedback, status, cancel), and commercial support if you need it. Something here is wrong or out of date? [Open an issue](https://github.com/wise-vision/ros2_mcp/issues) and we will fix it.
  68. ## 🗺️ Roadmap (proposed, not committed)
  69. What users ask for that is **not** in ROS2 MCP today. No dates; open an issue or a Discussion to vote or to pay for one.
  70. - **Parameter tools**: get / set / list node parameters.
  71. - **TF tools**: transform lookup and frame tree.
  72. - **Authentication for Streamable HTTP** (bearer token or a documented reverse-proxy recipe). The transport itself is in [#55](https://github.com/wise-vision/ros2_mcp/pull/55); until auth exists, keep it on loopback or a private network.
  73. - **Node tools** (list nodes, node info), Nav2-specific helpers, a PyPI package, ROS 1 (not planned).
  74. ## 🤖 For AI agents
  75. If you are an agent (or building one) using this server:
  76. - **Discover before you act.** Call `ros2_topic_list`, `ros2_service_list`, `ros2_list_actions` and `ros2_interface_list`, then `ros2_get_message_fields` for the exact message type, before any publish, service call or action goal. Do not guess field names.
  77. - **Prefer read-only.** If `ros2_topic_publish`, `ros2_service_call`, `ros2_send_action_goal` are absent from `list_tools`, the operator started the server in read-only mode; do not try to work around it.
  78. - **Mutating tools move real machines.** Confirm intent with the human before calling a ⚠ tool, start with small values and a short duration, and keep `ros2_cancel_action_goal` in mind.
  79. - **Right after container start the graph may be incomplete** (DDS discovery). If a topic you expect is missing, retry once before concluding it does not exist; see [DDS discovery warm-up](#-dds-discovery-warm-up-docker).
  80. - **Machine-readable references:** [`docs/generated/tools.json`](docs/generated/tools.json) (every tool and its input schema), [`server.json`](server.json) (MCP registry manifest), [`AGENTS.md`](AGENTS.md) (repo layout, how to build, test and add a tool), [wisevision.tech/llms.txt](https://wisevision.tech/llms.txt).
  81. ## 🏢 Commercial support & integration
  82. ROS2 MCP is free software under the **MPL-2.0**: you can use it in a commercial product without asking us. Nothing in this section changes that.
  83. If you are putting it on a real robot or fleet and want more than the public issue tracker, WiseVision (the maintainers) can help with:
  84. - **Integration support**: getting the server running against your stack, your message types and your QoS constraints.
  85. - **Custom tools and prompts**: handlers for your own interfaces, beyond the built-in topic, service and action set.
  86. - **Priority fixes**: a defect that blocks your deployment, handled on a schedule instead of a backlog.
  87. **How to reach us:** use the form at [wisevision.tech/contact](https://wisevision.tech/contact/) (choose *ROS2 MCP on a real fleet*) or write to **hello@wisevision.tech**. Tell us the problem first: what robot, what stack, what is blocking you. We scope and quote per project; there is no price list, so please contact us. Questions that other users could learn from belong in [Discussions](https://github.com/wise-vision/ros2_mcp/discussions/categories/q-a) or [issues](https://github.com/wise-vision/ros2_mcp/issues).
  88. Want to see it on real data first? The [forklift rosbag demo](examples/forklift_rosbag_demo/README.md) replays a warehouse forklift recording and walks through three MCP calls in about ten minutes.
  89. ## ⚙️ Installation
  90. Follow the [installation guide](installation/README.md) for step-by-step instructions:
  91. - [🧩 Install in Visual Studio Code Copilot](installation/README.md#configure-visual-studio-code-copilot)
  92. - [🤖 Install in Claude Desktop](installation/README.md#configure-claude-desktop)
  93. - [💻 Install in Warp](installation/README.md#configure-warp)
  94. - [🐳 Build Docker Image locally](installation/README.md#build-docker-image-locally)
  95. ## 🔒 Security: read-only mode
  96. 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:
  97. ```bash
  98. ROS2_MCP_READONLY=1 uv run mcp_ros_2_server # env var
  99. uv run mcp_ros_2_server --read-only # or CLI flag
  100. docker run -i --rm -e ROS2_MCP_READONLY=1 mcp/ros2
  101. ```
  102. In read-only mode the tools that change robot state are **not registered at all**: they do not appear in `list_tools`, and calling one returns an `Unknown tool` error. The hidden tools are:
  103. `ros2_topic_publish`, `ros2_publish_multiple_topics`, `ros2_service_call`, `ros2_send_action_goal`, `ros2_cancel_action_goal`.
  104. Read-only mode fails closed: only tools that were explicitly reviewed as read-only (listed in [`server/tool_safety.py`](server/tool_safety.py)) are registered, and a test fails if a new tool is added without being classified.
  105. `ros2_service_call` is hidden because the server cannot know whether an arbitrary service has side effects.
  106. ## 🌐 Streamable HTTP (remote / multi-client)
  107. stdio is the default and needs no network. To serve several clients, or a client on another machine, use **Streamable HTTP**, the transport the current MCP specification defines (the older `sse` transport is deprecated by the spec and kept only for existing clients).
  108. ```bash
  109. uv run mcp_ros_2_server --transport streamable-http # http://127.0.0.1:8123/mcp
  110. claude mcp add --transport http ros2 http://127.0.0.1:8123/mcp # Claude Code; other clients: use the URL
  111. ```
  112. Docker (publish the port on loopback only):
  113. ```bash
  114. docker run --rm -p 127.0.0.1:8123:8123 \
  115. -e ROS2_MCP_TRANSPORT=streamable-http -e ROS2_MCP_HOST=0.0.0.0 -e ROS2_MCP_READONLY=1 \
  116. wisevision/ros2_mcp:jazzy # http://127.0.0.1:8123/mcp
  117. ```
  118. `ROS2_MCP_HOST=0.0.0.0` is needed inside the container (a loopback bind is unreachable through `-p`); the `127.0.0.1:` in `-p` keeps it off your network. If the first tool call lists no topics, DDS discovery is not crossing the container boundary; on Linux `--network host` (then drop `-p` and `ROS2_MCP_HOST`) is the usual fix, but that depends on your DDS and network setup.
  119. | Option | Env var | Default | |
  120. |---|---|---|---|
  121. | `--transport` | `ROS2_MCP_TRANSPORT` | `stdio` | `stdio`, `streamable-http`, `sse` |
  122. | `--host` | `ROS2_MCP_HOST` | `127.0.0.1` | `0.0.0.0` inside a container |
  123. | `--port` | `ROS2_MCP_PORT` | `8123` | |
  124. | `--allowed-host HOST[:PORT]` | `ROS2_MCP_ALLOWED_HOSTS` | localhost only on a loopback bind | accepted `Host` headers (DNS-rebinding protection); repeatable / comma-separated; `*` matches any port |
  125. | `--stateless`, `--json-response` | | off | no per-client session state; plain JSON instead of an event stream |
  126. > ⚠️ **There is no authentication.** Anyone who can reach the port can use every tool, including publishing to topics. Keep it on loopback or a private network, put an authenticating reverse proxy in front of anything wider, and consider [read-only mode](#-security-read-only-mode). The server prints a warning when it binds to a non-loopback address.
  127. ## 🧭 DDS discovery warm-up (Docker)
  128. If the first tool call returns an incomplete list of topics/services right after container start, DDS discovery may still be in progress.
  129. The server performs a one-time warm-up on the first tool call in container environments; tune it via:
  130. - `MCP_ROS_DISCOVERY_STABLE_SEC` (default: `1.0`)
  131. - `MCP_ROS_DISCOVERY_TIMEOUT_SEC` (default: `5.0`)
  132. - `MCP_ROS_DISCOVERY_WARMUP=false` to disable
  133. ## 🤖 Prompts
  134. ### 📘 Want to create a custom prompt? [Check the guide here](docs/CREATE_PROMPT.md)
  135. ### 📊 base.ros2-topic-echo-and-analyze
  136. Subscribe to a ROS2 topic, collect messages for a specified duration, and provide statistical analysis of the collected data.
  137. ➡️ Can auto-detect topic if only one is available. Analyzes message rates, counts, and statistics on numeric fields.
  138. ### 🔄 base.ros2-topic-relay
  139. Subscribe to one ROS2 topic and republish messages to another topic with optional transformations.
  140. ➡️ Supports identity relay, rate limiting, and change-based filtering.
  141. ### 🏥 base.ros2-node-health-check
  142. Check if expected ROS2 topics and services are available and functioning correctly with optional publication rate monitoring.
  143. ➡️ Provides comprehensive health report with status indicators and recommendations.
  144. ### 🔍 base.ros2-topic-diff-monitor
  145. Compare two ROS2 topics and report differences in their messages with detailed field-by-field analysis.
  146. ➡️ Useful for comparing raw sensor data with filtered/processed versions or verifying topic synchronization.
  147. ROS2 MCP also has a prompts extension with additional prompts: [see here](https://github.com/wise-vision/ros2_mcp_prompts)
  148. ### 💡 Don’t know what prompts are? [See the MCP spec here](https://modelcontextprotocol.io/specification/2025-06-18/server/prompts#user-interaction-model).
  149. **Note:** To call a service with a custom (non-default) type, source the package that defines it before starting the server.
  150. ## 🎬 Demos
  151. ### 🚀 Drone mission using prompts
  152. ![Drone mission demo](docs/assets/drone_mcp_prompts.gif)
  153. ### 🌍 Real-world example
  154. ![Demo](docs/assets/mcp-ros2-server.gif)
  155. Want to try it in simulation? See the [Gazebo drone demo](docs/DEMO_DRONE.md).
  156. ## 🐞 Debugging
  157. Since MCP servers run over stdio, debugging can be challenging. For the best debugging
  158. experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).
  159. You can launch the MCP Inspector via [ `npm` ](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:
  160. ```bash
  161. npx @modelcontextprotocol/inspector uv --directory /path/to/ros2_mcp run mcp_ros_2_server
  162. ```
  163. Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
  164. ## 🤝 Contributing
  165. Contributions are welcome. Check the [open issues](https://github.com/wise-vision/ros2_mcp/issues), open a pull request, or drop by our [Discord](https://discord.gg/9aSw6HbUaw) to discuss ideas first. See [`AGENTS.md`](AGENTS.md) for dev setup and tests. By participating you agree to our [Code of Conduct](CODE_OF_CONDUCT.md).
  166. ## 📚 Origins
  167. We built this server to make AI‑assisted ROS 2 development fast and reliable. Internally, we needed a simple way for agents to discover message types, publish/subscribe to topics, and call services—without boilerplate or flaky networking. That led to a few core design goals:
  168. - Handle all ROS 2 message types (including nested fields) so agents can write and test any code
  169. - Integrate topic pub/sub and service calls to validate behavior end‑to‑end
  170. - Work seamlessly with GitHub Copilot in VS Code and other MCP clients
  171. - Use a simple stdio transport to avoid network complexity
  172. After dogfooding it, we open‑sourced the project (MPL-2.0) to help the broader ROS 2 community build faster with AI. It’s now useful not only for development, but also for controlling robots, running QoS experiments, and analyzing live data and robot/swarm state. The project is actively maintained—features and improvements ship regularly based on user feedback. If this project helps you, share your use case in [Discussions](https://github.com/wise-vision/ros2_mcp/discussions)!

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.