Skip to main content

MCP server for Universal Robots control

Project description

Universal Robot MCP Server

A Model Context Protocol (MCP) server that provides AI assistants and LLM applications with secure, controlled access to Universal Robots functionality. This server enables real-time robot control, status monitoring, and motion planning through a standardized MCP interface.

Features

  • Robot Connection Management - Connect/disconnect from UR robots safely
  • Real-time Status Monitoring - Get joint positions, poses, and robot health
  • Joint Motion Control - Precise angular movement with safety limits
  • Linear Motion Control - Cartesian path planning and execution
  • Simulation Mode - Test and develop without physical hardware
  • Safety First - Built-in collision detection and movement validation

Installation

Quick Start with uvx (Recommended)

uvx universal-robot-mcp

Install via pip

pip install universal-robot-mcp

Development Installation

git clone <repository-url>
cd universal-robot-mcp
pip install -e .

Usage

AI Assistant Integration

Claude Desktop

{
  "mcpServers": {
    "universal-robot": {
      "command": "uvx",
      "args": ["universal-robot-mcp"]
    }
  }
}

Cursor / Other MCP Clients

{
  "mcpServers": {
    "universal-robot": {
      "command": "universal-robot-mcp"
    }
  }
}

VS Code with MCP

{
  "mcp.servers": {
    "universal-robot": "uvx universal-robot-mcp"
  }
}

Direct Usage

# Run the server directly
python -m universal_robot_mcp.server

# Or use the installed script
universal-robot-mcp

Available Tools

Tool Description Parameters
connect_robot Establish connection to UR robot robot_ip (default: 192.168.1.100)
disconnect_robot Safely disconnect from robot None
get_robot_status Get current joint positions and pose None
move_robot_joints Move to specific joint angles joint1-6, acceleration, velocity
move_robot_linear Linear movement in Cartesian space x,y,z,rx,ry,rz, acceleration, velocity

Example Conversations

Once configured with your AI assistant:

  • "Connect to the robot and show me its current status"
  • "Move the robot to home position safely"
  • "Execute a pick and place motion from coordinates X to Y"
  • "What are the current joint angles?"
  • "Move the robot 10cm up in the Z direction"

Robot Configuration

Network Setup

  • Default robot IP: 192.168.1.100
  • Ensure robot is connected to your network
  • Verify robot is in Remote Control mode

Safety Features

  • Automatic TCP and payload configuration
  • Movement speed and acceleration limits
  • Connection timeout handling
  • Emergency stop capabilities

Supported Platforms

  • AI Assistants: Claude Desktop, Cursor, Roo Code, Cline
  • IDEs: VS Code, JetBrains IDEs (with MCP plugins)
  • Platforms: macOS, Linux, Windows
  • Python: 3.8, 3.9, 3.10, 3.11

License

Apache-2.0

Contributing

Contributions welcome! See our contributing guide for details.

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

universal_robot_mcp-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

universal_robot_mcp-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file universal_robot_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: universal_robot_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for universal_robot_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 28ed9e61bb67088a69dbe2a53447a9baab634235c7e52d6dd230f4a55476d1c4
MD5 ca50bb774e80fb2fc539902e8e5057c8
BLAKE2b-256 3535ba7ecc1fd215897c177f76f26773a8c51c0edfe5166bbae92c1727f1d93d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for universal_robot_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3657e487c72d20dfebe1daa13e8fc2dcc191f3031745d6903b502fd6926d13ca
MD5 c8898d97a1c57f5e339dc13cf53aca0f
BLAKE2b-256 934535db396e9f661c5db4083f09f27961d1b50368339cb6786c10e402932793

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