File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
sample-mcp-server-api-key/src/main/resources
sample-mcp-server-secured-tools/src/main/resources
sample-mcp-server/src/main/resources Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11spring.application.name =mcp-server-weather-apikey
22server.port =${PORT:8092}
33spring.ai.mcp.server.name =mcp-server-weather-apikey
4- spring.ai.mcp.server.protocol =STREAMABLE
4+ # using stateless because of https://github.com/modelcontextprotocol/inspector/issues/905
5+ spring.ai.mcp.server.protocol =STATELESS
56logging.level.org.springframework.security =TRACE
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ spring.application.name=sample-mcp-server-streamable-http-secured-tools
22server.port =8091
33server.servlet.session.cookie.name =MCP_SERVER_STREAMABLE_HTTP_SECURED_TOOLS_SESSIONID
44spring.ai.mcp.server.name =mcp-server-weather-streamable-http-secured-tools
5- spring.ai.mcp.server.protocol =STREAMABLE
5+ spring.ai.mcp.server.protocol =STATELESS
66
77spring.security.oauth2.resourceserver.jwt.issuer-uri =http://localhost:9000
88
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ spring.application.name=sample-mcp-server-streamable-http
22server.port =${PORT:8090}
33server.servlet.session.cookie.name =MCP_SERVER_STREAMABLE_HTTP_SESSIONID
44spring.ai.mcp.server.name =mcp-server-weather-streamable
5- spring.ai.mcp.server.protocol =STREAMABLE
5+ # using stateless because of https://github.com/modelcontextprotocol/inspector/issues/905
6+ spring.ai.mcp.server.protocol =STATELESS
67
78spring.security.oauth2.resourceserver.jwt.issuer-uri =${ISSUER_URI:http://localhost:9000}
89
You can’t perform that action at this time.
0 commit comments