MCP
Connect an MCP-capable host to you-agent-factory with you mcp serve over stdio, host JSON configuration, serve modes, and Factory Session tools.
How To Integrate
Install the you CLI, then point your MCP-capable host at the canonical serve entrypoint. The host must launch you mcp serve as a stdio child process—not as an interactive terminal command—so the host owns stdin and stdout for MCP traffic.Canonical serve command
Generic MCP host JSON
Serve Modes
you mcp serve exposes the same you.factory_session.* tool catalog in two backing modes. The catalog and Factory Session vocabulary stay the same; only the execution service behind the tools changes.Fixture-backed mode is the default. Launch with you mcp serve (host args ["mcp", "serve"]). It uses the durable session fixture catalog so hosts can smoke-test tool discovery, validate_source, and async polling without a live factory HTTP server. Prefer this path for first-install smoke.Runtime-backed mode launches with you mcp serve --runtime (host args ["mcp", "serve", "--runtime"]). It uses the shared durable JavaScript runtime service for live Factory Session execution. Use it when the host needs real async start, status polling, and terminal or not-ready result reads against live workflow sources.Runtime-backed MCP host JSON
Factory Session Tools
After the host reloads and connects, it discovers Factory Session tools under the you.factory_session.* names. Prefer those names in new host configuration. The list below is a scannable overview of the primary tools most hosts use first—not a full OpenAPI dump.Primary Factory Session tools