Specification · section 2
Architecture
| Role | Responsibility |
|---|---|
| Host | Any agent harness: Claude Code, Codex, OpenClaw, Hermes, Claude Science, Open Science, a MADSci workcell manager, or your own program on any SDK. It owns the conversation with the model, decides what to do, holds one client per device, and presents human confirmation prompts. Most hosts reach MHP through the mhp-mcp bridge (§10.1) rather than speaking MHP directly. |
| Client | One connection to one server. Sends requests, receives responses and notifications, tracks the lease. |
| Server (driver) | Owns exactly one device. Serves the descriptor, enforces the safety envelope, translates primitives into vendor commands, runs jobs. |
| Device | The physical thing. A single instrument, or a coordinated cell exposed as one logical device. |
| Directory | A server whose role is finding devices rather than being one. Indexes cards, answers searches, holds no device connections (§3.2). |