Package mcp is the MCP front door (docs/adr/0016): agents read, draft
and propose through the same engine as people, with their person's
authority and no more. Like the HTTP API and the sync socket, it is a
driving adapter; it decides nothing the engine does not.
It is stateless: every request stands alone (MCP's sessionless
transport), so it holds nothing open and a deployment still scales to
zero (docs/adr/0015).
ServeStdio serves MCP over stdin and stdout, for an agent on the
operator's own machine: anonymous, as the command line is, and held to
the same ceiling.
type Options struct {
Engine *engine.Engine// Authz decides whether a principal may act through an agent at all// (auth.ResourceAgent); nil allows it. Authz auth.Authorizer Reports reporting.Reporter Presence Presence Version string}