Cell API
    Preparing search index...

    Class ProjectMcpTools

    The tools of cell mcp (docs/design/agent-first.md R8): info, check, config_get, docs_search, build and deploy_plan (cell deploy --dry-run) run the commands with --json and return their result, so the two interfaces never disagree. Deploying is not a tool. Tools of toolchain modules (cell.addMcpTool) follow; the toolchain is loaded again when cell.config.*, package.json or a module file changes.

    Index
    env: ProcessEnv
    fingerprint: string = ''
    log: (message: string) => void
    moduleTools: McpToolDefinition[] = []
    root: string
    toolchain?: Toolchain
    • Runs the command with --json and returns its result; a failure becomes the CellError it reported.

      Parameters

      • argv: string[]
      • success: number[] = ...

      Returns Promise<Record<string, unknown>>

    • Arguments as flags: arrays repeat, true is a bare flag, false and positional keys are left out.

      Parameters

      • input: Record<string, unknown>
      • names: Record<string, string> = {}
      • skip: string[] = []

      Returns string[]