Bug description
How does MCP Server define content path and connect to URL: localhost: port sse endpoint:/contentPath/sse using SSE after defining it? This format can be used for the first get request to connect, but for the second post request to access/mcp/message, the contentpath cannot be added, resulting in a 404 error
Environment
springboot:3.4.2 jdk 17 spring-ai 1.0.0-SNAPSHOT
Steps to reproduce
mcp:
client:
enabled: true
name: mock-client
version: 0.0.1
type: SYNC
request-timeout: 20s
sse:
connections:
soldier-server:
url: http://localhost:port
sse-endpoint: /content-path/sse