ros-mcp-server  by robotmcp

AI-powered robot control and monitoring via ROS

Created 5 months ago
584 stars

Top 55.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project enables bidirectional AI integration for robots by connecting Large Language Models (LLMs) like Claude, GPT, and Gemini with ROS/ROS2 environments. It allows natural language control and real-time robot monitoring without modifying existing robot source code, benefiting developers and researchers seeking advanced AI-robot interaction.

How It Works

The server acts as a bridge, leveraging rosbridge to translate natural language commands from MCP-compatible LLMs into ROS/ROS2 commands. It subscribes to robot topics and services, providing LLMs with real-time sensor data and state information, facilitating comprehensive robot observation and control. This approach avoids direct robot code modification.

Quick Start & Requirements

Installation involves cloning the repository, installing uv and rosbridge, setting up an MCP-compatible LLM client (e.g., Claude Desktop), configuring the client, and running rosbridge on the target robot. Prerequisites include a ROS1 or ROS2 environment and an MCP-enabled LLM. Further details are available in the installation guide and examples/tutorials.

Highlighted Details

  • Enables robot control and monitoring via natural language.
  • Requires no changes to existing robot source code, only rosbridge integration.
  • Supports both ROS1 and ROS2 environments out-of-the-box.
  • Integrates with any MCP-compatible LLM (e.g., Claude, Gemini, ChatGPT).
  • Provides introspection capabilities: list/view ROS topics, services, and message types.

Maintenance & Community

The project actively welcomes community contributions, including bug fixes, documentation updates, new features, and examples. Contributing guidelines and issues tagged good first issue are available to facilitate community involvement.

Licensing & Compatibility

Licensed under the Apache License 2.0, this project permits commercial use and integration with closed-source applications.

Limitations & Caveats

Upcoming features include support for ROS Actions and permission controls for enhanced functionality and security.

Health Check
Last Commit

21 hours ago

Responsiveness

Inactive

Pull Requests (30d)
49
Issues (30d)
20
Star History
411 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.