mcp-annotated-java-sdk and api2mcp4j
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 api2mcp4j
TheEterna/api2mcp4j
This is a revolutionary AI MCP plugin with excellent pluggable and encapsulated features. With just a few lines of configuration, it can easily integrate into your Spring boot web program and give it MCP capabilities,inheriting the powerful engineering capabilities of the Spring series framework
# Technical Summary for api2mcp4j Automatically exposes existing Spring Boot REST controllers and services as Model Context Protocol tools by parsing Swagger/OpenAPI, Javadoc, and Spring metadata—requiring only configuration changes, not code refactoring. Supports multiple metadata parsers combined intelligently for optimal tool descriptions and parameter extraction, with fine-grained control via `@ToolScan` and `@ResourceScan` annotations. Fully compatible with the MCP Java SDK, enabling seamless integration with AI clients like Cursor and Continue without duplicating business logic. --- **Word count:** 72 | **Key technical details included:** metadata parsing strategy, zero-code-change approach, multi-source intelligence, MCP SDK compatibility, target clients
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work