Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The packaged Java JAR supports both SSE and stdio modes. #3237

Unanswered
wang-qijia asked this question in Q&A
Discussion options

Question: I want to generate an MCP-style JAR where users can optionally choose between SSE or stdio mode. Is there an elegant way to implement this? Thanks.

You must be logged in to vote

Replies: 2 comments

Comment options

This would be a nice feature to have. Supports dev use cases as well infra deploy scenarios.

You must be logged in to vote
0 replies
Comment options

You should be able to switch mcp to SSE or stdio mode by adding -Dspring.ai.mcp.server.stdio=false/true to the startup command. You can try it.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /