reachy-mini-mcp
Verified Safeby OriNachum
Overview
Control a Reachy Mini robot through an MCP or OpenAI-compatible API, enabling dynamic execution of robot movements, gestures, and conversational interactions.
Installation
python server.pyEnvironment Variables
- REACHY_BASE_URL
- PIPER_MODEL
- AUDIO_DEVICE
- HF_TOKEN
- VLLM_ATTENTION_BACKEND
- PYTHONUNBUFFERED
- SOCKET_PATH
Security Notes
The server uses dynamic loading of Python scripts from a controlled 'tools_repository/scripts' directory for tool execution via `importlib.util.spec_from_file_location` and `spec.loader.exec_module`. While this is dynamic code execution, it's safer than `eval()` or `exec()` of arbitrary strings, which the `INLINE_REMOVAL_SUMMARY.md` explicitly states have been removed. The `tts_queue.py` module utilizes `subprocess.run` and `subprocess.Popen` to interact with `piper` (TTS) and `aplay` (audio playback); inputs for these commands appear to be reasonably handled (e.g., text via stdin, temporary files for audio) to mitigate injection risks. No obvious hardcoded secrets were found, with environment variables used for configuration. If `server_openai.py` is used, it binds to `0.0.0.0` which means it can be externally accessible if the host's firewall permits, posing a standard network exposure risk. The most significant inherent security consideration is the power of the `operate_robot` tool, especially in its 'sequence mode', when controlled by an external, potentially unconstrained LLM, which could lead to unintended or potentially destructive robot actions.
Similar Servers
agents-mcp-usage
Demonstrates how to build a Model Context Protocol (MCP) server and integrate various agent frameworks.
robot-mcp-server
An MCP server designed for controlling a robot, enabling actions like movement and navigation through a defined protocol and tools, bridging an LLM or control system with a ROS2 environment.
mcp-demo
This project is a demonstration of an MCP (Model Context Protocol) server built using the FastMCP framework, providing tools and resources for AI models to interact with.
mcp_hello_server
Minimal MCP-style server implemented with FastAPI for demonstrating and extending Model Context Protocol interactions.