Skip to main content

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mycobot_mcp-0.1.1.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mycobot_mcp-0.1.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

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

Hashes for mycobot_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb0421292fa69725766bfb4837a94bfcabbcda93850f8bea9899b89d42a855bc
MD5 f0a5d5d0dd38b86821fb9a33920b8876
BLAKE2b-256 b2206235d1929eb5b3a4886960dad11452a35af1cbf69ecd10f405d36fd5e4b9

See more details on using hashes here.

File details

Details for the file mycobot_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mycobot_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caaa42702982947a71978d4de5174c69e90f57c31d7ea172d609d6bad4df4ef4
MD5 b1a3453ea34c8f639e912641c38e3167
BLAKE2b-256 cf078b96a407fb41c1a83229dd80a1ae7ed282f5d3efaaa03165b238d04527ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page