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

MCP Server - No Spring #644

Unanswered
i23098 asked this question in Q&A
Oct 30, 2025 · 2 comments · 1 reply
Discussion options

Pre-submission Checklist

  • I have checked that this question would not be more appropriate as an issue in a specific repository
  • I have searched existing discussions and documentation for answers

Question Category

  • Protocol Specification
  • SDK Usage
  • Server Implementation
  • General Implementation
  • Documentation
  • Other

Your Question

I was looking into the java-sdk server implementations for HTTP but from what I understand there's only mcp-spring implementations available.

Would it be possible to implement a MCP Server in Java running inside Tomcat without Spring, just standard servlets?

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

Yes! This is possible today. See this sample: https://github.com/jamesward/hello-kotlin-mcp-server

It's in Kotlin but could easily be converted to Java.

You must be logged in to vote
1 reply
Comment options

Thank you, I will take a look 👍

Comment options

Implemented a simple hello world server in java: https://github.com/i23098/mcp-server-java

Although, not sure if I have a bug or the SDK has (#650)

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
2 participants

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