Skip to main content
Glama

ROS MCP Server

Apache 2.0
214
  • Apple
  • Linux

ROS MCP Server 🧠⇄🤖

Static Badge Static Badge Static Badge

The ROS MCP Server bridges large language models (LLMs) with robot control, allowing users to issue natural language commands that are translated into ROS/ROS2 instructions. It is compatible with any language model that supports MCP, can run with both ROS and ROS2, and communicatess via WebSocket for cross-platform compatibility.

It does not require changes to existing robot code, since it is built on rosbridge — making it fast and easy to integrate into any robotic stack.


Highlights

  • Universal compatibility: Works with both ROS and ROS2 via rosbridge
  • Cross-platform support: Compatible with Linux, Windows, and macOS
  • AI-ready: Seamlessly integrates with LLMs and AI systems to drive robot behavior via natural language
  • No ROS node modification required: Fully interoperable with existing systems

Features

  • List topics, services, and types
  • View message type details (incl. custom)
  • Publish/subscribe to any topic (incl. custom)
  • Call any service (incl. custom)
  • Get/set parameters
  • (Coming soon): Full Action support
  • (Coming soon): Permission controls for write access

Examples in action:

Controlling the MOCA mobile manipulator in the NVIDIA Isaac Sim environment. In this example, the user inputs commands directly into Claude desktop, which can now use the MCP server to directly control a robot simulated in Isaac Sim.


Getting Started

Below are instructions to install and run the MCP server with your robot. The MCP server is agnostic to the version of ROS/ROS2 that you are running and works with any LLM that supports MCP.

Our examples use Claude desktop as the LLM client, but any client that supports the MCP protocol can be used!

Installation and Use

Follow the installation guide for full setup instructions on:

  • Cloning the ROS-MCP-server repository
  • Installing uv and rosbridge
  • Installing Claude desktop
  • Configuring Claude to connect to the ROS-MCP-server.
  • Installing and starting rosbridge on the target robot

More Examples and Tutorials

Look into our list of examples for inspiration and tutorials of the ROS-MCP server in use. Feel free to submit PRs adding examples that you have successfully implemented!

Contributing

Contributions are welcome!
Whether you're fixing a typo, adding a feature, or suggesting an improvement — thank you.

Please see the contributing guidelines to get started.


License

This project is licensed under the Apache License 2.0.

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Facilitates robotic movement control by providing functions that enable precise manipulation of linear and angular velocities through natural language commands, compatible with both ROS and ROS2.

  1. Supported Types
    1. Features
      1. Contributing
        1. Installation
          1. Installing via Smithery
          2. Installing Locally
          3. uv Installation
          4. MCP Server Configuration
        2. MCP Functions
          1. How To Use
            1. 1. Set IP and Port to connect rosbridge.
            2. 2. Run rosbridge server.
            3. 3. Run any AI system that has imported ros-mcp-server.
            4. 4. Type "Make the robot move forward.".
            5. 5. Check rosbridge_server and ros topic.
          2. Simulation Test

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Provides code manipulation, execution, and version control capabilities. It allows AI assistants to read, write, and execute code while maintaining a history of changes.
              Last updated -
              9
              MIT License
            • -
              security
              F
              license
              -
              quality
              A Python-based server that enables AI assistants to control robots by integrating the Model Context Protocol (MCP) with ROS 2, allowing for natural language commands that translate into robot movement via the /cmd\_vel topic.
              Last updated -
              61
            • A
              security
              A
              license
              A
              quality
              A server built on the Model Context Protocol that enables controlling the Unitree Go2 robot using natural language commands, which are translated into ROS2 instructions for the robot to perform corresponding actions.
              Last updated -
              12
              41
              Apache 2.0
              • Linux
            • A
              security
              A
              license
              A
              quality
              A server that provides both comprehensive API documentation and direct robot control capabilities for Opentrons Flex and OT-2 robots, enabling users to manage protocols, control runs, and monitor robot health through natural language.
              Last updated -
              14
              295
              5
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/robotmcp/ros-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server