Back to Home
robotmcp icon

ros-mcp-server

Verified Safe

by robotmcp

Overview

Connects large language models (LLMs) with ROS/ROS2 robots, enabling natural language control and real-time observation without modifying robot code.

Installation

Run Command
ros-mcp --transport streamable-http --host 127.0.0.1 --port 9000

Environment Variables

  • ROSBRIDGE_IP
  • ROSBRIDGE_PORT
  • MCP_TRANSPORT
  • MCP_HOST
  • MCP_PORT
  • MCP_DOMAIN

Security Notes

The system avoids direct execution of untrusted input (e.g., 'eval', 'os.system'). Network diagnostics use 'subprocess.run' for 'ping' which is a controlled execution. The primary security consideration is an unconstrained LLM potentially misusing the intended functionality (e.g., directing the robot to connect to malicious IPs/ports, publishing harmful commands, or accessing sensitive robot data). However, the server's internal mechanisms appear robust against common code injection vulnerabilities.

Similar Servers

Stats

Interest Score99
Security Score8
Cost ClassHigh
Avg Tokens3000
Stars867
Forks138
Last Update2025-12-06

Tags

ROSROS2LLM IntegrationRoboticsAI