mcp-annotated-java-sdk and aj-mcp
About mcp-annotated-java-sdk
thought2code/mcp-annotated-java-sdk
Annotation-driven MCP dev 🚀 No Spring, Zero Boilerplate, Pure Java
Leverages annotation-driven design to eliminate JSON schema definitions and boilerplate, automatically exposing Java methods as MCP resources, tools, and prompts with full type safety. Operates as a lightweight stdio/HTTP transport server supporting SYNC and ASYNC modes with built-in i18n and Spring AI configuration compatibility. Targets developers building MCP servers in pure Java 17+ without framework dependencies, reducing typical server implementation from 50-100 lines to under 10.
About aj-mcp
lightweight-component/aj-mcp
Simple MCP SDK in Java
Implements the Model Context Protocol with modular client and server components, enabling Java applications to bridge AI systems with custom data sources. Minimal dependencies (Jackson and OKHttp only) and Java 8+ compatibility make it lightweight for integration into existing Spring Boot 2.x projects. The SDK abstracts protocol complexity while remaining extensible for connecting databases, internal systems, or custom backends to LLM-powered applications.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work