This is the documentation for v2 — looking for the v1 documentation?
Skip to content

MCP TypeScript SDK (V2) / @modelcontextprotocol/codemod / migrations/v1-to-v2/mappings/contextPropertyMap

migrations/v1-to-v2/mappings/contextPropertyMap ​

Interfaces ​

ContextMapping ​

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:1

Properties ​

from ​

from: string

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:2

to ​

to: string

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:3

Variables ​

CONTEXT_PROPERTY_MAP ​

const CONTEXT_PROPERTY_MAP: ContextMapping[]

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:6


CTX_PARAM_NAME ​

const CTX_PARAM_NAME: "ctx" = 'ctx'

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:20


EXTRA_PARAM_NAME ​

const EXTRA_PARAM_NAME: "extra" = 'extra'

Defined in: migrations/v1-to-v2/mappings/contextPropertyMap.ts:19