Documentation
    Preparing search index...

    Interface IOptions

    Configuration options for McpAdaptor.upgrade.

    contracts/common.md#principled-implementation The two options are the route path, with /mcp as the default, and the server information reported to clients, with a default name and version.

    contracts/common.md#clear-and-simple-design A flat record of two optional values.

    contracts/common.md#prohibited-implementation-shortcuts It is a type; the defaults are stated in the code that reads them.

    contracts/common.md#meaningful-documentation Each option documents its meaning.

    contracts/portability.md#os-neutral-implementation MCP tool discovery and HTTP transport callbacks carry protocol values; optional SDK imports use Node module resolution and no native file identity or child process is defined here.

    interface IOptions {
        path?: string;
        serverInfo?: { name: string; version: string };
    }
    Index
    path?: string

    HTTP path where the MCP endpoint will be mounted.

    "/mcp"
    
    serverInfo?: { name: string; version: string }

    Identity advertised to MCP clients during the initialize handshake. Shows up in Claude Desktop / Cursor's MCP panel.

    { name: "nestia-mcp", version: "1.0.0" }