ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias McpServerStdioExperimental

    Stdio transport configuration for MCP.

    type McpServerStdio = {
        name: string;
        command: AbsolutePath;
        args?: string[];
        env?: EnvVariable[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    name: string

    Human-readable name identifying this MCP server. MUST be unique within mcpServers.

    Agents reject a request with a duplicate name with -32602.

    command: AbsolutePath

    Path to the MCP server executable. Must be an absolute path.

    Agents reject a request with a relative command with -32602.

    args?: string[]

    Command-line arguments to pass to the MCP server.

    env?: EnvVariable[]

    Environment variables to set when launching the MCP server. Names SHOULD be unique. Agents MAY reject duplicates with -32602, and otherwise the last entry wins.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility