Types of McpAdaptor: the options of upgrade and the record of a
registered tool.
Evidence
contracts/common.md#principled-implementation The class exposes one static entry point, so the adapter has no instance state: the tool list is closed over by the registered route handler.
Evidence
contracts/common.md#clear-and-simple-design One static method and two nested types.
Evidence
contracts/common.md#prohibited-implementation-shortcuts It has no fixture or tool name, and the MCP SDK is loaded lazily so an application that never enables MCP does not need it.
Evidence
contracts/common.md#meaningful-documentation The class comment explains what an MCP route is and how to enable it.
Evidence Exclude
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.
Types of McpAdaptor: the options of
upgradeand the record of a registered tool.Evidence
contracts/common.md#principled-implementation The class exposes one static entry point, so the adapter has no instance state: the tool list is closed over by the registered route handler.
Evidence
contracts/common.md#clear-and-simple-design One static method and two nested types.
Evidence
contracts/common.md#prohibited-implementation-shortcuts It has no fixture or tool name, and the MCP SDK is loaded lazily so an application that never enables MCP does not need it.
Evidence
contracts/common.md#meaningful-documentation The class comment explains what an MCP route is and how to enable it.
Evidence Exclude
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.