thought2code/mcp-java-sdk-examples
A collection of MCP server examples developed by various Java SDKs
Demonstrates Model Context Protocol (MCP) server implementations across three Java frameworks—the declarative, official, and Spring AI SDKs—enabling Java developers to expose resources, tools, and prompts to LLM applications. Each example implements practical patterns like filesystem operations with access controls, showcasing how to standardize LLM integrations using MCP's resource/tool abstraction layer. Requires Java 17+ and serves as reference implementations for building production MCP servers in the Java ecosystem.
Stars
32
Forks
8
Language
Java
License
MIT
Category
Last pushed
Oct 25, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/thought2code/mcp-java-sdk-examples"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
joreilly/GalwayBus
Galway Bus Kotlin Multiplatform project using Jetpack Compose and SwiftUI
spring-ai-community/spring-ai-playground
Spring AI Playground is a self-hosted web UI for low-code AI tool development with live MCP...
dtkmn/mcp-zap-server
A Spring Boot application exposing OWASP ZAP as an MCP (Model Context Protocol) server. It lets...
thought2code/mcp-annotated-java-sdk
Annotation-driven MCP dev 🚀 No Spring, Zero Boilerplate, Pure Java
TheEterna/api2mcp4j
This is a revolutionary AI MCP plugin with excellent pluggable and encapsulated features. With...