Skip to content

MCP Server session has wrong session id #4493

@AgAngle

Description

@AgAngle

Bug description
I debug the WebMvcSseServerTransportProvider find that the session.id is different with sessionId.Was this intentional? It's a little strange.

Image

Environment
Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
Spring AI version: 1.0.2
Java version: 21
MCP server dependency: spring-ai-starter-mcp-server-webmvc
Config:

spring.ai.mcp.server.stdio=false
spring.ai.mcp.server.type=ASYNC
spring.ai.mcp.server.name=cordys-crm-mcp-server
spring.ai.mcp.server.version=1.0.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions