Skip to content
Developer Preview

SessionConfig

The open configuration extension object shared by session/start and session/resume (ADR 32760 D1).

Unknown keys are ignored on the wire, never rejected: the live decoder is ’s tolerant path, and keeps every exported bundle free of additionalProperties: false. The Rust typed model’s deny_unknown_fields is internal and never exported — the closedness export applies nowhere, and the x-msp-closed opt-in mechanism stays inert. Recognized mcpServers values are typed and validated before they leave the wire boundary.

  • mcpServers
Source

schema/msp/experimental/msp.schema.json#/types/SessionConfig

{
"description": "The open configuration extension object shared by `session/start` and\n`session/resume` (ADR 32760 D1).\n\nUnknown keys are ignored on the wire, never rejected: the live decoder\nis 's tolerant path, and keeps every exported bundle free\nof `additionalProperties: false`. The Rust typed model's\n`deny_unknown_fields` is internal and never exported — the\nclosedness export applies nowhere, and the `x-msp-closed` opt-in\nmechanism stays inert. Recognized `mcpServers` values are typed and\nvalidated before they leave the wire boundary.",
"properties": {
"mcpServers": {
"additionalProperties": {
"$ref": "#/$defs/SessionMcpServerConfig"
},
"description": "Native MCP servers added only to this session runtime.",
"type": "object"
}
},
"type": "object"
}