-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Can multiple MCP servers with different endpoints be published in one service? #3299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 |
@alexanderqiu have you found a solution now? |
You can give it a try, but it will likely require some additional setup. Specifically, you'll need to ensure that each MCP server exposes its endpoints under a distinct path or port to avoid conflicts. Also, session management could become a challenge, as the MCP server maintains its own state. This might require a deeper look into the server implementation to fully understand how sessions are handled and whether multiple instances can safely coexist. |
I tried to rewrite McpServerAutoConfiguration and McpWebFluxServerAutoConfiguration and have succeeded |
+1 |
@alexanderqiu Contribute your code, thank you very much! |
@alexanderqiu can you contribute your code? spirng-ai-alibaba nocos should be a good choice?but , I didn't use nocos。 |
rewrite McpServerAutoConfiguration and McpWebFluxServerAutoConfiguration |
rewrite McpServerAutoConfiguration and McpWebFluxServerAutoConfiguration |
Can multiple MCP servers with different endpoints be published in one service?
An entry application needs to have a unified capability to implement routing forwarding for multiple MCP servers.
The text was updated successfully, but these errors were encountered: