mhs_demo_server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mhs_demo_serverSet incubator temperature to 37°C"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mhs-demo
A demo agent that operates simulated lab hardware (a CO2 incubator and a centrifuge) through an MCP server, in the pattern described by Anthropic's Model Hardware Standard (MHS) research preview.
This is not Anthropic's real MHS SDK. As of this writing MHS is a gated
research preview — no public spec, package, or sample code has been released.
This repo reimplements the pattern from that announcement (device
discovery + read/write primitives + natural-language safety-limit
metadata) against two simulated instruments, so the agent-loop shape is ready
to swap onto real MHS drivers once they ship.
What's here
mhs_demo_server.py— an MCP server exposing three tools over stdio:list_devices— discover devices, parameters, units, and safety limitsread— get a parameter's current valuewrite— set a parameter; rejected if unwritable or outside safety limits (includes a cross-parameter interlock example: the centrifuge door can't unlock while it's spinning)
mhs_demo_agent.py— a Claude agentic loop that discovers the MCP server's tools, converts them to Anthropic tool schemas, and calls them to satisfy a user request end to end.
Simulated devices:
Device | Parameters |
|
|
|
|
Related MCP server: plr-mcp
Setup
pip install -r requirements.txt
export ANTHROPIC_API_KEY=sk-ant-... # or create a .env file with this lineRun
python mhs_demo_agent.py
# or with a custom prompt:
python mhs_demo_agent.py "Set the incubator to 39C and spin the centrifuge at 20000 RPM"The agent spawns mhs_demo_server.py as a subprocess over stdio, discovers
its tools, and runs a tool-use loop with Claude until the model returns a
final answer.
Model
Uses claude-opus-4-6 via the Anthropic SDK.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Public MCP digital twin with synthetic systems and an agent firewall. No customer data.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceExposes the Nodus orchestration runtime as MCP tools for memory management, goal/workflow execution, and sandboxed code execution.MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server for PyLabRobot that exposes liquid handler, plate reader, thermocycler, and heater-shaker as MCP tools. It ships in simulation mode by default, allowing end-to-end testing without hardware.10MIT
- AlicenseAqualityBmaintenanceExposes live industrial IoT telemetry to any MCP client, streaming simulated sensor data from a fleet of machines and detecting anomalies, with the ability to inject faults on demand.4MIT
- AlicenseNot gradedqualityCmaintenanceSimulates a network of IoT environmental sensors and exposes their data and controls as MCP tools that any MCP client can query and act on.1MIT