MCP TypeScript SDK (V2) / @modelcontextprotocol/codemod / migrations/v1-to-v2/mappings/schemaToMethodMap
migrations/v1-to-v2/mappings/schemaToMethodMap
Variables
NOTIFICATION_SCHEMA_TO_METHOD
constNOTIFICATION_SCHEMA_TO_METHOD:Record<string,string>
Defined in: migrations/v1-to-v2/mappings/schemaToMethodMap.ts:20
REMOVED_TASK_SCHEMAS
constREMOVED_TASK_SCHEMAS:ReadonlySet<string>
Defined in: migrations/v1-to-v2/mappings/schemaToMethodMap.ts:40
v1 task-handler schema names. The experimental tasks feature was removed in v2 (SEP-2663) and the task method strings are excluded from the typed RequestMethod / NotificationMethod surface, so these are NOT in the rewrite maps above — the handler-registration transform emits a dedicated action-required diagnostic instead.
SCHEMA_TO_METHOD
constSCHEMA_TO_METHOD:Record<string,string>
Defined in: migrations/v1-to-v2/mappings/schemaToMethodMap.ts:1