ros-mcp-server
Verified Safeby robotmcp
Overview
Connects large language models (LLMs) with ROS/ROS2 robots, enabling natural language control and real-time observation without modifying robot code.
Installation
ros-mcp --transport streamable-http --host 127.0.0.1 --port 9000Environment 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
npcpy
A comprehensive Python library and framework for building, evaluating, and serving LLM-powered agents and multi-agent systems, integrating fine-tuning capabilities, knowledge graphs, and scalable model operations, with a built-in Flask API server for deployment.
ros2_mcp
The ROS2 MCP server allows AI tooling to connect with ROS 2 nodes, topics, services, and actions using the Model Context Protocol over stdio or SSE for real-time robotic control, data analysis, and AI-powered debugging.
Web-Algebra
Translates natural language instructions into RDF operations for loading, querying, and writing Linked Data, consumable via executable JSON or as MCP tools for AI agents.
NiFiMCP
Provides a natural language chat interface for interacting with Apache NiFi instances, enabling users to retrieve information, document flows, and perform creation, modification, and operational actions on NiFi components using Large Language Models and custom tools.