@nevermined-io/payments
    Preparing search index...

    Interface HttpRouterConfig

    Configuration for the HTTP router.

    interface HttpRouterConfig {
        agentId: string;
        baseUrl: string;
        corsOrigins?: string | string[];
        enableClientRegistration?: boolean;
        enableHealthCheck?: boolean;
        enableOAuthDiscovery?: boolean;
        enableServerInfo?: boolean;
        environment: EnvironmentName;
        oauthUrls?: Partial<OAuthUrls>;
        prompts?: string[];
        protocolVersion?: string;
        resources?: string[];
        scopes?: string[];
        serverName?: string;
        tools?: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    agentId: string

    Agent ID (client_id) for OAuth flows

    baseUrl: string

    Base URL of the MCP server (e.g., http://localhost:5001)

    corsOrigins?: string | string[]

    Custom CORS origins (default: '*')

    enableClientRegistration?: boolean

    Enable dynamic client registration (/register)

    enableHealthCheck?: boolean

    Enable health check endpoint (/health)

    enableOAuthDiscovery?: boolean

    Enable OAuth discovery endpoints (/.well-known/*)

    enableServerInfo?: boolean

    Enable server info endpoint (/)

    environment: EnvironmentName

    Nevermined environment to derive OAuth URLs

    oauthUrls?: Partial<OAuthUrls>

    Custom OAuth URLs (overrides environment defaults)

    prompts?: string[]

    List of prompt names exposed by this server

    protocolVersion?: string

    MCP protocol version

    resources?: string[]

    List of resource names exposed by this server

    scopes?: string[]

    Scopes supported by this server

    serverName?: string

    Server name for MCP protocol

    tools?: string[]

    List of tool names exposed by this server