@runloop/api-client - v1.31.0
    Preparing search index...

    Interface McpConfigView

    An McpConfig defines a configuration for connecting to an upstream MCP (Model Context Protocol) server. It specifies the target endpoint and which tools are allowed.

    interface McpConfigView {
        id: string;
        allowed_tools: string[];
        auth_mechanism: AuthMechanism;
        create_time_ms: number;
        endpoint: string;
        name: string;
        custom_headers?: CustomHeader[] | null;
        description?: string | null;
    }
    Index

    Properties

    id: string

    The unique identifier of the McpConfig.

    allowed_tools: string[]

    Glob patterns specifying which tools are allowed from this MCP server (e.g., ['github.search_', 'github.get_'] or ['*'] for all tools).

    auth_mechanism: AuthMechanism

    How the primary credential is applied to upstream requests.

    create_time_ms: number

    Creation time of the McpConfig (Unix timestamp in milliseconds).

    endpoint: string

    The target MCP server endpoint URL (e.g., 'https://mcp.example.com').

    name: string

    The human-readable name of the McpConfig. Unique per account.

    custom_headers?: CustomHeader[] | null

    Additional headers applied to upstream requests after the credential. Secret-backed entries reference the secret by 'sec_' id; values are never returned.

    description?: string | null

    Optional description for this MCP configuration.