Expand description
Server spawn context
Provides all the necessary context for spawning a protocol server.
Structs§
- Spawn
Context - Context passed to protocol servers during spawning
- Startup
Params - Type-safe wrapper for startup parameters
Enums§
- Startup
Param Error - Error returned when startup parameters supplied by the LLM or an MCP client cannot be used by the protocol.
Constants§
- MAX_
STARTUP_ PARAM_ BYTES - Maximum retained startup JSON content, including keys and node overhead.
- MAX_
STARTUP_ PARAM_ DEPTH - Maximum nesting depth in a constructed startup parameter object.
- MAX_
STARTUP_ PARAM_ NODES - Maximum nodes in a constructed startup parameter object.
Type Aliases§
- Startup
Param Result - Convenience alias for fallible startup-parameter access.