MCP Cobot Server

MCP Cobot Server

Controls a MyCobot280 robot arm through MCP tools, allowing joint angle manipulation, home position, LED color, and dance routines.

Category
Visit Server

README

MCP Cobot Server

This repository contains the MCP Cobot Server, a FastMCP server implementation for the M5 MyCobot280 robot.

Based on the model context protocol python-sdk: https://github.com/modelcontextprotocol/python-sdk?tab=readme-ov-file#quickstart

Features

  • Implements the MCP standard for efficient context management.
  • Built with FastMCP for high performance and scalability.
  • Designed for integration with collaborative robot (myCobot) systems.

Requirements

  • Python 3.8+
  • FastMCP library

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/mcp-cobot-server.git
    cd mcp-cobot-server
    
  2. Install dependencies:

    uv sync
    source .venv/bin/activate
    

Note This project uses uv to install manage the python virtual environment and dependencies. Learn more here: https://docs.astral.sh/uv/guides/projects/

Usage

Start the server:

# launch a standalone MCP server with:
uvx mcpo --port 8000 -- uv run --with mcp[cli] --with pymycobot mcp run ./server.py

# Install the mcp profile with claude
mcp install server.py

For development:

# debug the mcp interface
mcp dev server.py

Available Functions

The following functions are exposed to mcp.tool in server.py:

  1. get_angles: Retrieves the current angles of all servos.
  2. move_angle: Moves a specific joint (servo) to a target angle at a specified speed.
  3. move_angles: Moves all joints to specified angles at a given speed.
  4. go_home: Moves all joints to a predefined "home" position.
  5. set_home: Sets the current joint angles as the new "home" position.
  6. change_color: Changes the LED matrix color of the robot.
  7. relax: Releases all servos, allowing the robot arms to relax.
  8. interpretive_dance_routine: Executes a creative dance routine based on a description, involving joint movements and LED color changes.

MyCobot M5 280

The myCobot SDK I'm using is documented here: https://github.com/elephantrobotics/pymycobot/blob/main/docs/MyCobot_280_en.md The robot I'm using is here: Elephant Robotics myCobot 280 M5Stack 2023 - 6 DOF Collaborative Robot

Joint ranges

Joint Id Range
1 -168 ~ 168
2 -135 ~ 135
3 -150 ~ 150
4 -145 ~ 145
5 -165 ~ 165
6 -180 ~ 180

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured