Skip to content

MCP Server can not support cluster #201

Description

@yu199195

Hi the this code :

if (this.isClosing) {
returnServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE)
.body("Server is shutting down");
}
if (request.param("sessionId").isEmpty()) {
returnServerResponse.badRequest()
.body(newMcpError("Session ID missing in message endpoint"));
}
StringsessionId = request.param("sessionId").get();
McpServerSessionsession = sessions.get(sessionId);
if (session == null) {
returnServerResponse.status(HttpStatus.NOT_FOUND)
.body(newMcpError("Session not found: " + sessionId));
}

when mcp server is cluster model. McpServerSession session = sessions.get(sessionId); is null

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions