Skip to main content
Glama

IvoryOS MCP server

License: MIT

Serve as a robot control interface using IvoryOS and Model Context Protocol (MCP) to design, manage workflows, and interact with the current hardware/software execution layer.

🧩 One-click install in Claude Desktop (desktop extension)

  1. Download ivoryos-mcp-<version>.mcpb.

  2. Double-click it (or drag it into Claude Desktop, or Settings → Extensions → Advanced settings → Install Extension…).

  3. Fill in your ivoryOS URL, username and password, then enable the extension.

Claude Desktop sets up Python and the dependencies itself; nothing else to install. The extension runs on your computer, so it only needs to reach ivoryOS on your network.

To build the .mcpb (from this repo, needs Node.js):

npx @anthropic-ai/mcpb pack . ivoryos-mcp-<version>.mcpb

Keep version in manifest.json in sync with pyproject.toml. .mcpbignore keeps .env and build files out of the bundle.

Related MCP server: ClawLab

🚀 Quickstart with Claude Desktop (manual config)

Install uv. Open up the configuration file, and add IvoryOS MCP config.

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "IvoryOS MCP": {
      "command": "uvx",
      "args": [
        "ivoryos-mcp"
      ],
      "env": {
        "IVORYOS_URL": "http://127.0.0.1:8000/ivoryos",
        "IVORYOS_USERNAME": "<IVORYOS_USERNAME>",
        "IVORYOS_PASSWORD": "<IVORYOS_PASSWORD>"
      }
    }
  }
}

📦 Installation

Install uv.

1. Clone the Repository

git clone https://gitlab.com/heingroup/ivoryos-mpc
cd ivoryos-mcp

2. Install dependencies

When using IDE (e.g. PyCharm), the uv environment might be configured, you can skip this section.

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -r uv.lock

⚙️ Configuration

Option 1: in .env, change ivoryOS url and login credentials.

IVORYOS_URL=http://127.0.0.1:8000/ivoryos
IVORYOS_USERNAME=admin
IVORYOS_PASSWORD=admin

Option 2: In ivoryos_mcp/server.py, change ivoryOS url and login credentials.

url = "http://127.0.0.1:8000/ivoryos"
login_data = {
    "username": "admin",
    "password": "admin",
}

🚀 Install the server (in Claude Desktop)

mcp install ivoryos_mcp/server.py

✨ Features

Category

Feature

Route

Description

ℹ️ General Tools

platform-info

GET /instruments

Get ivoryOS info and signature of the platform

execution-status

GET /executions/status

Check if system is busy and current/last task status

ℹ️ Workflow Design

list-workflow-scripts

GET /library/<deck_name>

List all workflow scripts from the database

load-workflow-script

GET /library/<workflow_name>

Load a workflow script from the database

submit-workflow-script

POST /draft/submit_python

Save a workflow Python script to the database

get-optmizer-schema

POST /executions/optimizer_schema

Get all optimizers schema

ℹ️ Workflow Data

list-workflow-data

GET /executions/records

List available workflow execution data

load-workflow-data

GET /executions/records/<workflow_id>

Load execution log and data file

🤖 Direct Control

execute-task

POST /instruments/<component>

Call platform function directly

🤖 Workflow Run

run-workflow-repeat

POST /executions/config

Run workflow scripts repeatedly with static parameters

run-workflow-kwargs

POST /executions/config

Run workflow scripts with dynamic parameters

run-workflow-campaign

POST /executions/campaign

Run workflow campaign with an optimizer

🤖 Workflow Control

pause-and-resume

GET /executions/pause-resume

Pause or resume the workflow execution

abort-pending-workflow

GET /executions/abort/next-iteration

Finish current iteration, abort future executions

stop-current-workflow

GET /executions/abort/next-task

Safe stop of current workflow

⚠️ ℹ️ are resources, but decorated as tool due to the current issue with MCP Python SDK and Claude Desktop integration.
It's recommended to only use allow always for ℹ️ tasks
and use allow once for 🤖 tasks. These tasks will trigger actual actions on your hosted Python code.

🧪 Examples

The example prompt uses the abstract SDL example.

Platform info

status.gif

Load prebuilt workflow script

load script.gif

Available Tools

15 tools
abort-pending-workflowB

Abort pending workflow execution

Inputs: no named parameters.

execute-taskC

Execute a robot task, wait for it to finish and return its success and output.

Inputs: method (required), component (required), kwargs.

execution-statusC

Get workflow status

Inputs: no named parameters.

get-optimizer-schemaA
Get optimizer schema with an optimizer type in ["baybe", "ax", "nimo"]
Get all optimizer schemas if optimizer_type is None

Inputs: optimizer_type.

list-workflow-dataD

List workflow data

Inputs: workflow_name.

list-workflow-scriptsD

List workflow scripts

Inputs: deck_name, search_key.

load-workflow-dataD

Load workflow data

Inputs: workflow_id (required).

load-workflow-scriptD

Load a workflow script

Inputs: workflow_name (required).

pause-and-resumeC

Toggle pause and resume for workflow execution

Inputs: no named parameters.

platform-infoA

summarize ivoryOS and the current deck functions, no authentication required.

Inputs: no named parameters. Returns: result

run-workflow-campaignC

Run the loaded workflow with optimizers

:param optimizer_type: Optimizer type in ["baybe", "ax", "nimo"]
:param parameters: List of parameter definitions    [
    {"name": "x1", "type": "range", "value": 10.0},
    {"name": "x2", "type": "fixed", "bounds": [0.0, 10.0]},
    {"name": "c1", "type": "choice", "values": ["A", "B", "C"]},
]
:param objectives: List of objective definitions    [
    {"name": "obj_1", "minimize": True},
    {"name": "obj_2", "minimize": False},
]
:param repeat: Number of iterations
:param batch_size: Batch size
:param steps: Steps for each iteration {"step_1": {"model": "Sobol", "num_samples": 5}, "step_2": {"model": "BoTorch"}}
:param parameter_constraints: List of parameter constraints ["x1 + x2 <= 15.0"]
:param existing_data: Existing data filename, use `load-workflow-data` to get the filename from workflow id

Inputs: optimizer_type (required), steps, repeat, batch_size, +4 more.

run-workflow-kwargsC

Run the loaded workflow with a list of keyword arguments

Inputs: batch_size, kwargs_list.

run-workflow-repeatC

Run the loaded workflow with repeat times

Inputs: batch_size, repeat_time.

stop-current-workflowB

Stop workflow execution after current step

Inputs: no named parameters.

submit-workflow-scriptD

Submit a workflow script

Inputs: workflow_name (required), main_script, prep_script, cleanup_script.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 15 tools

    Disambiguation3/5

    Several tools share the same workflow-execution space: run-workflow-kwargs, run-workflow-campaign, and run-workflow-repeat differ by mode but can be confused when selecting the right execution path. Similarly, pause-and-resume, abort-pending-workflow, and stop-current-workflow are related control actions that require careful reading to distinguish.

    Naming Consistency4/5

    Most names use a consistent kebab-case verb-noun pattern such as list-workflow-data, load-workflow-script, and execute-task. A few names are noun phrases or less action-oriented, like platform-info and execution-status, which is a minor deviation from the overall convention.

    Tool Count4/5

    The 15 tools are reasonable for a workflow orchestration server covering execution, optimization, scripts, data, and status control. The set is feature-rich but not obviously bloated, though the multiple run-workflow variants add some surface area.

    Completeness4/5

    The surface covers the main workflow lifecycle: loading, running, repeating, optimizing, checking status, pausing, aborting, and stopping, plus script and data access. Minor gaps exist around workflow script editing/deletion and richer result or log retrieval, but core operations are present.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLM agents to connect to and control OPC UA LADS laboratory instruments, with approval-gated execution of state-changing operations and retrievable SHA-256 witnessed provenance records.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to orchestrate high-throughput screening and life-science laboratory workflows through MCP, including experiment planning, simulated instrument execution, assay QC, candidate hit analysis, and next-experiment recommendations, while requiring scientist approval for final decisions.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to control the local Open Science research application, including creating projects, starting or continuing research sessions, inspecting progress and plans, canceling runs, and reading generated artifacts.
      12
      Apache 2.0