Is there a ready-to-use Java/Spring Boot template for an MCP server with OAuth 2.0 and PKCE?

April 12, 2026 3 answers
Asked by CuriousCoder92
I've successfully built a remote MCP server using Spring Boot, incorporating OAuth 2.0, PKCE, and other features like RFC 8414 discovery and tool access control. Now, I'm considering open sourcing this project as a starter template. However, I notice that most existing resources only provide support in Node.js, Python, or lack proper authentication setups. I'm curiousโ€”are other Java developers experiencing similar challenges? Would a Spring Boot starter template with integrated authentication actually be helpful for you? I welcome any thoughts or suggestions.

Answers

TechieTina47
About your question on the Spring Boot starter with built-in authโ€”are you doing some kind of market research here?
Reply to this answer
DevExplorer88
I'd love to see your code! If you're generating it with AI, just give me a heads-up since I could whip up something similar in a couple of days myself.
Reply to this answer
AIEnthusiast21
I'm planning on making a similar project with AI's help too, mainly for my own learning experience. If you do open source it, I bet it would be super useful!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions