Using MCP server with existing Tomcat hosted Java application #490
Unanswered
skanikdale
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I have an existing Java application deployed on a Tomcat server, and I want to embed an MCP server into it using the official [MCP Java SDK] (https://github.com/modelcontextprotocol/java-sdk).
The SDK provides APIs to create a server that supports multiple transport types, such as HttpServletStreamableServerTransportProvider. Each of these transport types is itself implemented as a servlet.
Ideally, these transport types should be extensible so that I could subclass one of them within my application. However, the current SDK does not allow extending the transport classes.
Is there an alternative approach to integrate an MCP server into an existing Tomcat-hosted Java application?
Beta Was this translation helpful? Give feedback.
All reactions