stateset-agents mcp exposes StateSet’s improvement loop, 3D Weight Studio, Live RL
Cockpit, SQLite trace/rollout ledger, 7-domain verifiable sandbox pool, and production
trace-to-sandbox compiler as annotated
MCP tools over stdio, while stateset-agents studio exposes the canonical Weight Studio
subset over Streamable HTTP (/api/weight-studio/mcp) with live 3D SSE browser sync
and fail-closed Bearer authentication.
Install and run
The server is an optional extra rather than a core dependency:stateset-agents mcp exits with an install hint rather than a
traceback. Register the stdio server in Claude Code or any MCP client:
The tools
improve_run calls the same orchestration function as stateset-agents improve run, so a curated set produced through MCP is byte-for-byte
comparable with one produced from the shell. That matters when an agent
curates a set and a person needs to check it.A loop through the tools
What an agent driving this actually does, in order:Studio, RL Cockpit & SQLite Ledger Tools
In addition to the 7 core improvement-loop tools above,v1.3.0 registers 39
canonical Weight Studio & Open-Weight RL tools (available over both stdio MCP and
POST /api/weight-studio/mcp), 8 live stateset://studio/* resources, and 7 workflow
prompts:
TypeScript and Node.js callers can invoke the Streamable HTTP endpoint directly through
@stateset/agents (client.mcp.initialize(), client.mcp.listTools(),
client.mcp.callTool(...), client.mcp.readResource(...)).
Verifying it works
Use an MCP client to complete initialization and calltools/list, then read
list_rewards or list_model_presets. A visible catalog proves discovery, not successful
curation or training. Inspect returned artifacts and controlled errors from the actual tool.
The v1.3.0 release registers 46 stdio tools and 39 canonical HTTP Studio tools
(verified December 1, 2026 against stateset_agents/mcp_server.py and
stateset_agents/weight_studio/mcp_bridge.py). Discover the live catalog at runtime instead
of treating a static count as a capability guarantee.
Next steps
Agents quickstart
The same loop from the command line, including the training step MCP will not run.
CLI reference
What each wrapped command does natively.
MCP servers
The other servers StateSet publishes.
Agent Gate
Requiring an authorization proof before any MCP tool call takes effect.