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.0.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.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file mycobot_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mycobot_mcp-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 bb3c35484e1af429b6e44e23a8b0e8cc80dd47bffa0c0262096ec78a43c4eff4
MD5 988f3e73e0f0a448a4f692ebccf92ad9
BLAKE2b-256 85e0dfe859493fa6e6518d0c2b0b8f8ee24b9bf77a0e31068eba8c90bf409fd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mycobot_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cfc540c6f468b333cce51c770af58531938180f964989f15683651bec8abd2b
MD5 9fd8170de4972015e83fcc46b6792b6c
BLAKE2b-256 ad6dc5ced5a1d171d8b2e0c9658a14532b99fe573f20cca28a8c647fc0e39a2c

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