Built using pure MCP Java SDK – No Spring Framework Required.
For another easier way to develop your own MCP server, you can explore this Annotation-driven MCP Java SDK.
- Java 17 or later (Restricted by MCP Java SDK)
The Model Context Protocol (MCP) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but specifically designed for LLM interactions. MCP servers can:
- Expose data through Resources (think of these sort of like GET endpoints; they are used to load information into the LLM's context)
- Provide functionality through Tools (sort of like POST endpoints; they are used to execute code or otherwise produce a side effect)
- Define interaction patterns through Prompts (reusable templates for LLM interactions)
- And more!
You can start exploring everything about MCP from here.
If you are looking for servers implemented with Typescript MCP SDK or Python MCP SDK, see here.
These servers aim to demonstrate MCP features and the MCP Java SDK.
- Chat2MySQL - Use AI agent that supports multi-language to chat with your MySQL database
- Filesystem - Secure file operations with configurable access controls