Skip to main content

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

chat

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

Metadata

Release files for mycobot-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mycobot-mcp 0.1.1
File Size Uploaded Provenance
mycobot_mcp-0.1.1.tar.gz 9.1 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mycobot-mcp 0.1.1
File Interpreter ABI Platform
mycobot_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 MB

Release files / mycobot_mcp-0.1.1.tar.gz

Download URL mycobot_mcp-0.1.1.tar.gz
Size 9.1 MB
Tags Source
SHA-256 checksum
How to use checksums
cb0421292fa69725766bfb4837a94bfcabbcda93850f8bea9899b89d42a855bc
BLAKE2b-256 checksum
How to use checksums
b2206235d1929eb5b3a4886960dad11452a35af1cbf69ecd10f405d36fd5e4b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / mycobot_mcp-0.1.1-py3-none-any.whl

Download URL mycobot_mcp-0.1.1-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caaa42702982947a71978d4de5174c69e90f57c31d7ea172d609d6bad4df4ef4
BLAKE2b-256 checksum
How to use checksums
cf078b96a407fb41c1a83229dd80a1ae7ed282f5d3efaaa03165b238d04527ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Security for mycobot-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page