Skip to content
Grok

mcp server ros 2 for Grok

io.github.wise-vision/mcp_server_ros_2

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

client:Grok transport:stdio runtime:oci

Install mcp server ros 2 in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp_server_ros_2": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ],
      "env": {
        "MCP_CUSTOM_PROMPTS": "<MCP_CUSTOM_PROMPTS>",
        "MCP_PROMPTS_LOCAL": "<MCP_PROMPTS_LOCAL>",
        "MCP_PROMPTS_PATH": "<MCP_PROMPTS_PATH>",
        "MCP_PROMPTS_MODULE": "<MCP_PROMPTS_MODULE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp server ros 2 in other clients