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

    Type Alias McpServerHttp

    HTTP transport configuration for MCP.

    type McpServerHttp = {
        name: string;
        url: string;
        headers?: HttpHeader[];
        _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.

    url: string

    URL to the MCP server.

    headers?: HttpHeader[]

    HTTP headers to set when making requests to the MCP server. Headers the MCP transport defines are owned by the transport, and Agents use the transport's values for them.

    _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