Run subagents on any model opencode can reach, from many coding agents.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add subharness \ -- npx -y [email protected]
Environment
SUBHARNESS_MODEL (optional, not in the config above): Default model for every agent (else opencode's default).SUBHARNESS_READ_MODEL (optional, not in the config above): Default model for read-only runs when no model is given.SUBHARNESS_PREFERRED_PROVIDERS (optional, not in the config above): Comma-separated providers preferred when a loose model name matches several.SUBHARNESS_SERVER (optional, not in the config above): opencode server to use: private (default), shared or an http(s):// URL.SUBHARNESS_MAX_TASKS (optional, not in the config above): Tasks running at once; more are queued.SUBHARNESS_OPENCODE_BIN (optional, not in the config above): The opencode binary.We don't run packages, so we can't list this server's tools.