Interface McpHttpServerBuildTimeConfig.Http
- Enclosing interface:
- McpHttpServerBuildTimeConfig
public static interface McpHttpServerBuildTimeConfig.Http
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionThe SSE endpoint (as defined in the specification `2024-11-05`) sends a message endpoint as the first event to the client.rootPath()The MCP endpoint (as defined in the specification `2025-03-26`) is exposed at `\{rootPath}`.
-
Method Details
-
rootPath
The MCP endpoint (as defined in the specification `2025-03-26`) is exposed at `\{rootPath}`. By default, it's `/mcp`. The SSE endpoint (as defined in the specification `2024-11-05`) is exposed at `\{rootPath}/sse`. By default, it's `/mcp/sse`. -
messageEndpoint
McpHttpServerBuildTimeConfig.Http.MessageEndpoint messageEndpoint()The SSE endpoint (as defined in the specification `2024-11-05`) sends a message endpoint as the first event to the client. And the client should use this endpoint for all subsequent requests.
-