SuperAPI AI Directory

ros-mcp-server

Control robots by converting natural language commands into ROS or ROS2 control commands.

Open website

About this tool

The ROS MCP Server is designed to connect large language models with robotic systems, enabling the conversion of natural language into ROS/ROS2 control commands. Built on MCP (Model Context Protocol), it is an open-source project hosted on GitHub.

Main purpose: to enable two-way communication between large language models such as Claude, GPT, and Gemini and robots. Users can issue commands in natural language, and the model generates and executes the corresponding ROS control commands while receiving real-time robot status feedback.

Main capabilities:

  • No need to modify existing robot source code; simply add the rosbridge node to an existing ROS setup to connect.
  • True two-way communication: the LLM can both control the robot and observe everything happening on the robot.
  • Full context: supports publishing and subscribing to topics, calling services and actions, setting parameters, reading sensor data, and monitoring robot status in real time.
  • Deep ROS understanding: guides the LLM to discover available topics, services, actions, and their types (including custom types), so it can use these interfaces with the correct syntax without manual configuration.
  • Compatible with any MCP client: supports Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, and more.
  • Cross-ROS versions: compatible with ROS 2 (Jazzy, Humble, and other versions) and ROS 1 distributions.

Usage: the project provides installation guides, and you need to follow the installation guide to get started. ROS-MCP can work with Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, or any MCP-compatible client. The project also provides examples and tutorials for reference.

Example use cases:

  • An AI agent diagnosing an industrial robot end effector: the MCP server connects Claude to a production industrial robot, using only the technical manual as reference. Claude discovers the robot's custom topics, service types, and their syntax on its own; with just a single prompt to test the gripper, it reads the manual, runs its own tests, detects the anomaly, and reports the root cause.
  • Controlling the robot "Wilson" in natural language: with just a single prompt, "get a can of cola from the fridge and go to the living room," Google Gemini uses the MCP server to navigate and manipulate autonomously. This example is based on ROS 2, using Nav2 (SLAM) for mapping and navigation, and MoveIt to command the robotic arm.
  • Controlling a Unitree Go2 in NVIDIA Isaac Sim: the MCP server connects Claude to a simulated Unitree Go2 quadruped robot in NVIDIA Isaac Sim, interpreting natural language instructions to navigate and control the robot.

Limitations and notes: information such as whether there is a fee, pricing, and specific performance metrics is not provided in the original material. The project uses the Apache License 2.0. Community contributions are welcome, including bug fixes, documentation updates, new features (such as action support and permissions), and more examples and tutorials.