mcp-use TypeScript API
    Preparing search index...

    Interface MCPServerConfig

    MCP server transport configuration used in simplified mode.

    interface MCPServerConfig {
        args?: string[];
        auth_token?: string;
        authToken?: string;
        command?: string;
        env?: Record<string, string>;
        headers?: Record<string, string>;
        url?: string;
    }
    Index
    args?: string[]

    Arguments passed to the stdio executable.

    auth_token?: string

    Legacy snake-case authentication token.

    authToken?: string

    Authentication token sent to a remote MCP server.

    command?: string

    Executable for a stdio server.

    env?: Record<string, string>

    Environment variables passed to the stdio process.

    headers?: Record<string, string>

    HTTP headers sent to a remote MCP server.

    url?: string

    URL for a remote MCP transport.