
mcp-java-sdk-examples
MCP Server Examples: Built using pure MCP Java SDK – No Spring Framework Required
3 years
Works with Finder
8
Github Watches
1
Github Forks
8
Github Stars
MCP Server Examples
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.
Requirements
- Java 17 or later (Restricted by MCP Java SDK)
What is MCP?
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.
Examples
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
相关推荐
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.
Artifact2MCP Generator allows generation of MCP server automatically & dynamically given smart contract's compiled artifact (chain‑agnostic)