- robot-mcp-server
robot-mcp-server
Content
robot-mcp-server
为大语言模型提供机器人控制能力的MCP服务器
功能特性
- ✅ 支持宇树机器人运动控制
- ✅ 支持大疆无人机起飞/降落控制
- ✅ 基于Model Context Protocol (MCP) 的标准接口
- 📡 实时状态监控
- 🛑 紧急停止机制
- 📊 完善的日志记录
安装指南
前置要求
- Python 3.10+
- 宇树机器人SDK2 (自动安装)
- 大疆Tello无人机SDK (自动安装)
# 创建并激活虚拟环境
python -m venv .venv
.venv\Scripts\activate
# 安装依赖
pip install git+https://github.com/unitreerobotics/unitree_sdk2_python.git
pip install djitellopy
快速开始
from modelcontextprotocol import Client
# 连接MCP服务
client = Client.connect_stdio()
# 控制宇树机器人
client.call_tool("unitree_connect", {})
client.call_tool("unitree_move", {"velocity": 1.5})
# 控制大疆无人机
client.call_tool("dji_connect", {})
client.call_tool("dji_takeoff", {"height": 2.0})
API文档
宇树机器人工具
unitree_connect: 建立机器人连接unitree_move(velocity: float, duration: float): 控制移动unitree_stop(): 紧急停止
大疆无人机工具
dji_connect: 建立无人机连接dji_takeoff(height: float): 起飞到指定高度dji_land(): 安全降落
开发指南
项目结构:
├── src/
│ ├── main.py # 主服务入口
│ ├── unitree_adapter.py # 宇树机器人适配器
│ └── dji_adapter.py # 大疆无人机适配器
├── examples/ # 使用示例
├── requirements.txt # 依赖列表
└── README.md # 项目文档
贡献
欢迎提交Issue和PR,请遵循现有代码风格并添加适当测试。
授权协议
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp