ros-mcp-server

Level ALocal

Connect AI models like Claude & GPT with robots using MCP and ROS.

Overview

ROS MCP Server connects LLMs such as Claude, GPT, and Gemini to robots for true two-way communication without changing existing robot source code—just add a rosbridge node. Models can publish and subscribe to topics, call services and actions, set parameters, read sensor data, and monitor robot state in real time, while discovering custom topic and service types automatically. It works across ROS 1 and ROS 2 and with any MCP-compatible client.

⭐ 1.5kDevelopment ToolsPythonRepo ↗Updated 2026-11-20

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "robotmcp-ros-mcp-server": {
      "command": "uvx",
      "args": [
        "ros-mcp",
        "--transport=stdio"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/robotmcp/ros-mcp-server

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "robotmcp-ros-mcp-server": {
      "command": "uvx",
      "args": [
        "ros-mcp",
        "--transport=stdio"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers