Interface McpHttpServerRuntimeConfig.Http.Streamable
- Enclosing interface:
- McpHttpServerRuntimeConfig.Http
public static interface McpHttpServerRuntimeConfig.Http.Streamable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf set to `true` then the server performs a dummy initialization when the first message from the client is not `initialize`.
-
Method Details
-
dummyInit
@WithDefault("false") boolean dummyInit()If set to `true` then the server performs a dummy initialization when the first message from the client is not `initialize`. A new MCP session is created for each request. The capability negotiation and protocol version agreement is completely skipped, so the dummy client supports no capabilities. Dummy initialization can be used to simulate stateless communication. However, it's not efficient and some features may not work properly. This config property will be deprecated once the stateless mode is codified in the MCP specification.
-