approvedcompleteApache-2.0

The MCP face: statecraft mcp (stdio server)

005-mcp-server

Milestone M4's core: `statecraft mcp` runs a Model Context Protocol server over stdio exposing the governance verbs as tools, so a coding agent (Claude Code first) operates under Statecraft governance natively: listing tenants, launching and watching stamps, inspecting and operating fleets, all with the same auth, the same guards, and the same JSON shapes as the CLI face. The MCP face is not a privileged side door: it calls the identical verb layer from spec 004, and destructive guards (explicit posture, confirm-name) pass through to the agent verbatim.

Establishes
  • ? (symbol)
Sections
  • 005: MCP server
  • 1. Behavior
  • Transport decision (2026-07-15 amendment)
  • 2. Acceptance
  • 3. Out of scope
  • 4. Status (2026-07-15)
Source
specs/005-mcp-server/spec.md @ ac2fa199be29as of 2026-07-17 ยท shard 3b2d09c65623