Cell API
    Preparing search index...

    Class McpCommand

    cell mcp: an MCP server on stdio (newline-delimited JSON-RPC) with the project tools of docs/design/agent-first.md R8 and those of toolchain modules. Runs until stdin closes. stdout carries protocol messages only: console output of anything else goes to stderr.

    Hierarchy (View Summary)

    Index
    arguments: string = ''

    Positional arguments for --help, e.g. get <key>; commands without them reject positionals.

    description: "Serve the project tools to coding agents over MCP (stdio)" = 'Serve the project tools to coding agents over MCP (stdio)'
    io?: McpIo
    name: "mcp" = 'mcp'
    options: ParseArgsOptionsConfig = {}

    Options of this command in addition to the common ones (--root, --json, --help).

    runner: CellRunner
    usage: string[] = []

    One line per option for --help.

    • stdin/stdout of the process, with stdout kept for protocol messages: process.stdout.write and console.log/info/debug of modules, hooks and Vite go to stderr while the server runs.

      Returns McpIo & { restore(): void }