
ilialarchenko/robot_mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
ilialarchenko/robot mcp - кандидат на сервер MCP, импортированный из https://github.com/ilialarchenko/robot_mcp.
Обзор
ilialarchenko/robot mcp - кандидат на сервер MCP, импортированный из https://github.com/ilialarchenko/robot_mcp.
Обзор (машинный перевод)
Сопутствующее хранилище моего видео о MCP-сервере для робота: MCP Server для ИИ-агентов на базе LLM (Claude Desktop, Cursor, Windsurf и др.) для управления роботом ** Прямое управление клавиатурой** для ручной работы CLI AI Agent может использовать его непосредственно для управления роботом с помощью модели Claude, Gemini или GPT.
Если вы хотите узнать больше о MCP, обратитесь к официальной документации MCP.
Предполагается, что это хранилище будет работать с роботами SO-ARM100/101. Обратитесь к руководству по настройке робота SO-101 для подробных инструкций по настройке робота.
Обновление! Теперь он частично поддерживает LeKiwi (только рука, управление мобильной базой через MCP — TBD). Я также добавил простой агент, который использует MCP-сервер для управления роботом. Поддерживает модели Claude, Gemini и GPT. По моему опыту, Клод лучший, а GPT не так хорош, Близнецы находятся между ними.
После того, как я выпустил видео и этот репозиторий, LeRobot выпустил значительное обновление библиотеки, которое нарушает совместимость с исходным кодом.
Если вы хотите использовать исходный код и точно следовать видео, пожалуйста, используйте этот релиз.
Быстрый старт
###1 Установите зависимость
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
SO-ARM100 Robot Control with MCP
A companion repository to my video about MCP server for the robot:
- MCP Server for LLM-based AI agents (Claude Desktop, Cursor, Windsurf, etc.) to control the robot
- Direct keyboard control for manual operation
- CLI AI Agent can use it directly to control the robot with Claude, Gemini or GPT model
If you want to know more about MCP refer to the official MCP documentation
This repository suppose to work with the SO-ARM100 / 101 robots. Refer to lerobot SO-101 setup guide for the detailed instructions on how to setup the robot.
Update! Now it partially supports LeKiwi (only arm, the mobile base control through MCP is TBD). I also added a simple agent that uses MCP server to control the robot. It supports Claude, Gemini and GPT models. In my experience Claude is the best and GPT is not so good, Gemini is in between.
After I released the video and this repository, LeRobot released a significant update of the library that breaks the compatibility with the original code.
If you want to use the original code and exactly follow the video, please use this release.
Quick Start
1. Install Dependencies
For simplicity I use simple pip instead of uv that is often recommended in MCP tutorials - it works just fine.
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
It may be required to install lerobot separately, just use the official instructions from the lerobot repository
2. Connect Your Robot
- Connect SO-ARM100 via USB
- Update
config.pywith your serial port for so-arm (e.g.,/dev/tty.usbmodem58FD0168731) or robot_ip for lekiwi (e.g.,192.168.1.1) - Connect cameras and update
config.pywith the correct indices and names (forlekiwionly names are important)
3. Use the robot
🔍 Check Robot Status and Calibration:
python check_positions.py
This will show you the current robot state without actual control. Move your robot manually to make sure it is properly calibrated and configured.
After the latest update, lerobot is using the normalized joints states instead of degrees. You can update MOTOR_NORMALIZED_TO_DEGREE_MAPPING in config.py to match your robot calibration. You will need to update these values every time you recalibrate the robot.
🎮 Manual Keyboard Control:
python keyboard_controller.py
Now you can try to control the robot manually using the keyboard. Test it before moving on to the MCP step, to make sure it works properly.
🛠️ MCP server in the dev mode
mcp dev mcp_robot_server.py
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"SO-ARM100 robot controller": {
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/mcp_robot_server.py"]
}
}
}