技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
Java MCP SDK

Java MCP SDK

The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 modelcontextprotocol/servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

MCP Java SDK

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A set of projects that provide Java SDK integration for the Model Context Protocol.
This SDK enables Java applications to interact with AI models and tools through a standardized interface, supporting both synchronous and asynchronous communication patterns.
📚 Reference Documentation
MCP Java SDK documentation
For comprehensive guides and SDK API documentation
- Features - Overview the features provided by the Java MCP SDK
- Architecture - Java MCP SDK architecture overview.
- Java Dependencies / BOM - Java dependencies and BOM.
- Java MCP Client - Learn how to use the MCP client to interact with MCP servers.
- Java MCP Server - Learn how to implement and configure a MCP servers.
Spring AI MCP documentation
Spring AI MCP extends the MCP Java SDK with Spring Boot integration, providing both client and server starters.
The MCP Annotations - provides annotation-based method handling for MCP servers and clients in Java.
The MCP Security - provides comprehensive OAuth 2.0 and API key-based security support for Model Context Protocol implementations in Spring AI.
Bootstrap your AI applications with MCP support using Spring Initializer.
Development
Building from Source
Running Tests
To run the tests you have to pre-install Docker and npx.
Conformance Tests
The SDK is validated against the MCP conformance test suite at 0.1.15 version.
Full details and instructions are in conformance-tests/VALIDATION_RESULTS.md.
**Latest results:**
| Suite | Result |
|---------------|-----------------------------------------------------|
| Server | ✅ 40/40 passed (100%) |
| Client | 🟡 3/4 scenarios, 9/10 checks passed |
| Auth (Spring) | 🟡 12/14 scenarios fully passing (98.9% checks) |
To run the conformance tests locally you need npx installed.
Contributing
Contributions are welcome!
Please follow the Contributing Guidelines.
Team
- Christian Tzolov
- Dariusz Jędrzejczyk
- Daniel Garnier-Moiroux
Links
- GitHub Repository
- Issue Tracker
- CI/CD
Architecture and Design Decisions
Introduction
Building a general-purpose MCP Java SDK requires making technology decisions in areas where the JDK provides limited or no support. The Java ecosystem is powerful but fragmented: multiple valid approaches exist, each with strong communities.
Our goal is not to prescribe "the one true way," but to provide a reference implementation of the MCP specification that is:
* **Pragmatic** – makes developers productive quickly
* **Interoperable** – aligns with widely used libraries and practices
* **Pluggable** – allows alternatives where projects prefer different stacks
* **Grounded in team familiarity** – we chose technologies the team can be productive with today, while remaining open to community contributions that broaden the SDK
Key Choices and Considerations
The SDK had to make decisions in the following areas:
1. **JSON serialization** – mapping between JSON and Java types
2. **Programming model** – supporting asynchronous processing, cancellation, and streaming while staying simple for blocking use cases
3. **Observability** – logging and enabling integration with metrics/tracing
4. **Remote clients and servers** – supporting both consuming MCP servers (client transport) and exposing MCP endpoints (server transport with authorization)
The following sections explain what we chose, why it made sense, and how the choices align with the SDK's goals.
1. JSON Serialization
* **SDK Choice**: Jackson for JSON serialization and deserialization, behind an SDK abstraction (package io.modelcontextprotocol.json in mcp-core)
* **Why**: Jackson is widely adopted across the Java ecosystem, provides strong performance and a mature annotation model, and is familiar to the SDK team and many potential contributors.
* **How we expose it**: Public APIs use a bundled abstraction. Jackson is shipped as the default implementation (mcp-json-jackson3), but alternatives can be plugged in.
来源
awesome · https://github.com/modelcontextprotocol/java-sdk
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引