mcp-annotated-java-sdk
Verified Safeby thought2code
Overview
Annotation-driven framework for building Model Context Protocol (MCP) servers in Java, simplifying the definition and integration of resources, prompts, and tools for LLM applications.
Installation
mvn clean package && java -jar target/your-app.jarSecurity Notes
The SDK primarily focuses on facilitating server development and does not inherently expose critical security flaws. Configuration loading from YAML (classpath) and basic type conversions for method parameters (client input) are handled. The use of Reflection for component discovery is standard for this type of framework. The Jetty HTTP server for SSE/Streamable mode requires proper network security considerations (firewalls, access control) when deployed. The 'disallow-delete: true' setting in the default streamable configuration is a good security practice.
Similar Servers
solon-ai
The Model Context Protocol (MCP) server provides a standardized interface for AI models to interact with external tools, resources, and prompt templates through a structured, bidirectional communication protocol.
quarkus-mcp-server
This server demonstrates a secure Model Context Protocol (MCP) using Server-Sent Events (SSE) for exposing tools, prompts, and resources, with authentication handled by Keycloak or GitHub OAuth2.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
easy-code-reader
Provides a Model Context Protocol (MCP) server for AI assistants to intelligently read Java source code from local projects and Maven dependencies, supporting decompilation and multi-module analysis.