Interface McpHttpServerBuildTimeConfig.Http

Enclosing interface:
McpHttpServerBuildTimeConfig

public static interface McpHttpServerBuildTimeConfig.Http
  • Method Details

    • rootPath

      @WithDefault("/mcp") String 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

      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.