Base configuration interface for MCP servers

interface McpServerConfig {
    env?: Record<string, any>;
    debug?: boolean;
    description?: string;
    retryOptions?: {
        maxRetries?: number;
        initialDelay?: number;
    };
    samplingHandler?: SamplingHandler;
}

Properties

env?: Record<string, any>

Environment variables to pass to the MCP server

debug?: boolean

Enable debug logging

description?: string

Custom description for the MCP server

retryOptions?: {
    maxRetries?: number;
    initialDelay?: number;
}

Retry configuration

samplingHandler?: SamplingHandler

Sampling handler for processing MCP sampling requests