🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

mcp-java-sdk-examples
MCP Server Examples: Built using pure MCP Java SDK – No Spring Framework Required
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
相关推荐
Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
Memory for AI Agents; SOTA in AI Agent Memory; Announcing OpenMemory MCP - local and secure memory management.
🧑🚀 全世界最好的LLM资料总结(视频生成、Agent、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Reviews

user_3tc3xiIz
I'm truly impressed with the mcp-java-sdk-examples created by codeboyzhou. It's an excellent resource for those looking to get a solid grasp on using MCP with Java. The examples are clear, well-documented, and incredibly helpful for both beginners and experienced developers. This SDK has significantly streamlined my development process, and I highly recommend it to anyone working in a Java environment.

user_K9Ql5sN8
As a dedicated user of the mcp-java-sdk-examples by codeboyzhou, I must say it has been an invaluable resource for my Java development projects. The examples provided are clear, comprehensive, and easy to follow, making the integration process smooth and efficient. Highly recommend for anyone working with MCP!

user_UmJjPjaw
I'm highly impressed with mcp-java-sdk-examples by codeboyzhou. The examples provided are comprehensive and well-documented, making it extremely easy to understand and implement. The code is clean and the instructions are clear, which significantly enhances the learning experience. As a developer, this resource has become indispensable for my projects involving MCP applications. Highly recommended!

user_l8zF2hwv
I've been using the mcp-java-sdk-examples from codeboyzhou and it has significantly streamlined my development process. The comprehensive examples and clear documentation make it easy to integrate and utilize the SDK. Highly recommend it for anyone working with Java and MCP services!