Opentrons MCP Server

Opentrons MCP Server

opentrons•byyerbymatey

A Model Context Protocol server that provides Opentrons API documentation and direct robot control tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Offers API documentation tools for searching endpoints, retrieving endpoint details, listing endpoints by category, and getting an API overview.
  • •Provides robot automation tools for uploading and listing protocols, creating and controlling runs, checking robot health, controlling lights, and homing the robot.
  • •The control_run tool supports play, pause, stop, and resume-from-recovery actions for a run.

BEST FOR

  • •Using natural language to upload a protocol file to a specified robot and start a run.
  • •Checking a robot's health and monitoring the status of an existing run.
  • •Looking up Opentrons HTTP API endpoints by functionality, method, path, keyword, or category.

ABOUT OPENTRONS

Opentrons MCP Server is cataloged as an MCP server attributed to yerbymatey. A Model Context Protocol server that provides Opentrons API documentation and direct robot control tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Opentrons MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What kind of documentation tools does the server provide?

It lets users search API endpoints, get endpoint details, list endpoints by category, and view an API overview.

What robot operations can be performed through the automation tools?

It supports protocol management, run control, robot health checks, and hardware control such as homing and lights.

How can a user control a run's execution?

It supports play, pause, stop, and resume-from-recovery actions.

Upstream README

View this exact version on GitHub

README.md · 10ef58c8980a · Fetched 2026-11-13 08:20:55 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Opentrons MCP Server

A Model Context Protocol (MCP) server for Opentrons robot automation and API documentation. This tool provides both comprehensive API documentation and direct robot control capabilities for Opentrons Flex and OT-2 robots.

Features

API Documentation Tools

  • Search Endpoints: Find API endpoints by functionality, method, or keyword
  • Endpoint Details: Get comprehensive information about specific API endpoints
  • Category Browsing: List endpoints by functional category
  • API Overview: High-level overview of the entire Opentrons HTTP API

Robot Automation Tools

  • Protocol Management: Upload, list, and manage protocol files
  • Run Control: Create runs, start/stop execution, monitor progress
  • Robot Health: Check connectivity and system status
  • Hardware Control: Home robot, control lights, and basic operations

Installation

npm install -g opentrons-mcp

From source

git clone https://github.com/yerbymatey/opentrons-mcp.git
cd opentrons-mcp
npm install

Configuration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "opentrons": {
      "command": "opentrons-mcp",
      "args": []
    }
  }
}

If installed from source:

{
  "mcpServers": {
    "opentrons": {
      "command": "node",
      "args": ["/path/to/opentrons-mcp/index.js"]
    }
  }
}

Available Tools

Documentation Tools

search_endpoints

Search Opentrons HTTP API endpoints by functionality, method, path, or keyword.

  • query (required): Search term
  • method (optional): Filter by HTTP method (GET, POST, PUT, DELETE, PATCH)
  • tag (optional): Filter by API category
  • include_deprecated (optional): Include deprecated endpoints

get_endpoint_details

Get comprehensive details about a specific API endpoint.

  • method (required): HTTP method
  • path (required): API endpoint path

list_by_category

List all endpoints in a specific functional category.

  • category (required): API category (Health, Control, Protocol Management, etc.)

get_api_overview

Get high-level overview of the Opentrons HTTP API structure and capabilities.

Automation Tools

upload_protocol

Upload a protocol file to an Opentrons robot.

  • robot_ip (required): Robot IP address
  • file_path (required): Path to protocol file (.py or .json)
  • protocol_kind (optional): "standard" or "quick-transfer" (default: "standard")
  • key (optional): Client tracking key
  • run_time_parameters (optional): Runtime parameter values

get_protocols

List all protocols stored on the robot.

  • robot_ip (required): Robot IP address
  • protocol_kind (optional): Filter by protocol type

create_run

Create a new protocol run on the robot.

  • robot_ip (required): Robot IP address
  • protocol_id (required): ID of protocol to run
  • run_time_parameters (optional): Runtime parameter values

control_run

Control run execution (play, pause, stop, resume).

  • robot_ip (required): Robot IP address
  • run_id (required): Run ID to control
  • action (required): "play", "pause", "stop", or "resume-from-recovery"

get_runs

List all runs on the robot.

  • robot_ip (required): Robot IP address

get_run_status

Get detailed status of a specific run.

  • robot_ip (required): Robot IP address
  • run_id (required): Run ID to check

robot_health

Check robot health and connectivity.

  • robot_ip (required): Robot IP address

control_lights

Turn robot lights on or off.

  • robot_ip (required): Robot IP address
  • on (required): true to turn lights on, false to turn off

home_robot

Home robot axes or specific pipette.

  • robot_ip (required): Robot IP address
  • target (optional): "robot" for all axes, "pipette" for specific mount
  • mount (optional): "left" or "right" (required if target is "pipette")

Usage Examples

With Claude Desktop

Opentrons MCP in action Screenshot showing the Opentrons MCP server in action with Claude Desktop after asking for current protocols with opentrons for the Flex, give it the robot ip!

Once configured, you can use natural language to control your robot:

Upload a protocol:

Upload the protocol file at /path/to/my_protocol.py to my robot at 192.168.1.100

Check robot status:

Check if my robot at 192.168.1.100 is healthy and ready

Run a protocol:

List all protocols on my robot, then create and start a run for the latest one

Monitor progress:

Show me the status of run abc123 on my robot

Programmatic Usage

import { Client } from "@modelcontextprotocol/sdk/client/index.js";

// Connect to MCP server
const client = new Client(/* transport */);

// Upload protocol
await client.request({
  method: "tools/call",
  params: {
    name: "upload_protocol",
    arguments: {
      robot_ip: "192.168.1.100",
      file_path: "/path/to/protocol.py",
      protocol_kind: "standard"
    }
  }
});

Requirements

  • Node.js 18+
  • Opentrons robot with HTTP API enabled (port 31950)
  • Network connectivity between client and robot

Robot Setup

Ensure your Opentrons robot is:

  1. Connected to the same network as your client
  2. Running robot software version 7.0.0+
  3. Accessible on port 31950 (default for HTTP API)

You can verify connectivity by visiting http://your-robot-ip:31950/health in a browser.

API Reference

This tool provides access to the complete Opentrons HTTP API, including:

  • Protocol Management: Upload, analyze, and manage protocol files
  • Run Management: Create, control, and monitor protocol runs
  • Hardware Control: Robot movement, homing, lighting, and calibration
  • System Management: Health monitoring, settings, and diagnostics
  • Module Control: Temperature modules, magnetic modules, thermocyclers
  • Data Management: CSV files for runtime parameters

For detailed API documentation, use the search and documentation tools provided by this MCP server.

Troubleshooting

Cannot connect to robot

  • Verify robot IP address is correct
  • Ensure robot is powered on and connected to network
  • Check that port 31950 is accessible
  • Confirm robot software is running

Protocol upload fails

  • Verify file path exists and is readable
  • Ensure protocol file is valid Python (.py) or JSON format
  • Check available disk space on robot
  • Confirm protocol is compatible with robot type (OT-2 vs Flex)

Run execution issues

  • Verify all required labware and modules are attached
  • Check robot calibration status
  • Ensure protocol analysis completed successfully
  • Confirm no hardware errors or conflicts

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

No license go brazy

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Opentrons MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/opentrons)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools