McpCodeModeSurface
Defined in: types.ts:97
What a code-mode provider contributes to the server.
Properties
Section titled “Properties”resources?
Section titled “resources?”
optionalresources?:McpResourceDefinition[]
Defined in: types.ts:101
Same rules as app-authored resources (unique URI, mantle://events/ reserved).
tools:
McpToolDefinition[]
Defined in: types.ts:99
Same collision rules as app-authored tools: a name clash with any registered tool throws BadRequest.