HomeDevelopment › ros2_mcp

ros2_mcp

View ROS 2 nodes and topics, and call services and actions via MCP

Python
★ 89 stars Last pushed 2026-09-22 License: MPL-2.0

Topics: Developer Tools

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (oci)

docker run -i --rm docker.io/mcp/ros2:latest

Or add to your MCP client config:

{
  "mcpServers": {
    "ros2_mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ],
      "env": {
        "MCP_CUSTOM_PROMPTS": "<YOUR_VALUE>",
        "MCP_PROMPTS_LOCAL": "<YOUR_VALUE>",
        "MCP_PROMPTS_PATH": "<YOUR_VALUE>",
        "MCP_PROMPTS_MODULE": "<YOUR_VALUE>"
      }
    }
  }
}
  • MCP_CUSTOM_PROMPTS — Enable custom prompts
  • MCP_PROMPTS_LOCAL — Use local prompts
  • MCP_PROMPTS_PATH — Path to custom prompts directory
  • MCP_PROMPTS_MODULE — Name of the prompts module

This server takes extra arguments — see its repository.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry