Add your description here
Project description
myCobot MCP
Overview
This project is a MCP server for myCobot.
This MCP can send simple pick-and-place instructions to myCobot.
[!NOTE] This MCP server requires image feedback. Please connect an MCP client that can handle image feedback.
Chat example
https://github.com/user-attachments/assets/e2c222b8-1ce2-4fb1-8b59-11ec5e973432
Setup
DDS API Token
This project uses the DDS API for object detection. Please register and issue an API key for DDS.
https://cloud.deepdataspace.com/
Claude-Desktop
If you want to run this project on Ubuntu, you can install Claude-Desktop from the following instructions.
https://github.com/aaddrick/claude-desktop-debian
Edit the claude_desktop_config.json file to add the following:
{
"mcpServers": {
"mycobot": {
"command": "uvx",
"args": [
"mycobot-mcp",
"--settings-path",
"/path/to/settings.json"
],
"env": {
"DDS_API_TOKEN": "your-api-token"
}
}
}
}
Or you can clone this repository and run the following command.
git clone https://github.com/neka-nat/mycobot-mcp.git
{
"mcpServers": {
"mycobot": {
"command": "uv",
"args": [
"--directory",
"/path/to/mycobot-mcp/",
"run",
"mycobot-mcp",
"--settings-path",
"/path/to/settings.json"
],
"env": {
"DDS_API_TOKEN": "your-api-token"
}
}
}
}
Hardware
This software assumes the following hardware configuration.
Parameters
Create a settings.json file to configure the myCobot hardware and the camera.
The sample is here.
{
"camera_id": 0,
"camera_parameter_path": "/path/to/camera_calibration/mtx_dist.npy",
"mycobot_settings": {
"urdf_path": "/path/to/mycobot.urdf",
"end_effector_name": "camera_flange",
"port": "/dev/ttyACM0",
"baud": 115200,
"default_speed": 40,
"default_z_speed": 20,
"suction_pin": 5,
"command_timeout": 5,
"use_gravity_compensation": false,
"end_effector_height": 0.065,
"object_height": 0.01,
"release_height": 0.05,
"places": [
{
"name": "home",
"description": "Home position",
"position": [0, 20, -130, 20, 0, 0]
},
{
"name": "capture",
"description": "Camera capture position",
"position": [0, 0, -30, -60, 0, -45]
},
{
"name": "drop",
"description": "Position to drop object",
"position": [-45, 20, -130, 20, 0, 0]
}
]
}
}
Change port permission
When you connect mycobot, you need to change the permission.
sudo chmod 666 /dev/ttyACM0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mycobot_mcp-0.1.1.tar.gz.
File metadata
- Download URL: mycobot_mcp-0.1.1.tar.gz
- Upload date:
- Size: 9.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb0421292fa69725766bfb4837a94bfcabbcda93850f8bea9899b89d42a855bc
|
|
| MD5 |
f0a5d5d0dd38b86821fb9a33920b8876
|
|
| BLAKE2b-256 |
b2206235d1929eb5b3a4886960dad11452a35af1cbf69ecd10f405d36fd5e4b9
|
File details
Details for the file mycobot_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mycobot_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caaa42702982947a71978d4de5174c69e90f57c31d7ea172d609d6bad4df4ef4
|
|
| MD5 |
b1a3453ea34c8f639e912641c38e3167
|
|
| BLAKE2b-256 |
cf078b96a407fb41c1a83229dd80a1ae7ed282f5d3efaaa03165b238d04527ea
|