| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
| title | Overview |
|---|---|
| description | Introduction to the Model Context Protocol (MCP) Java SDK |
The SDK follows a layered architecture with clear separation of concerns:
The MCP Client is a key component in the Model Context Protocol (MCP) architecture, responsible for establishing and managing connections with MCP servers. It implements the client-side of the protocol.
The MCP Server is a foundational component in the Model Context Protocol (MCP) architecture that provides tools, resources, and capabilities to clients. It implements the server-side of the protocol.
Key Interactions:
The SDK is organized into modules to separate concerns and allow adopters to bring in only what they need:
| Module | Artifact ID | Group | Purpose |
|---|---|---|---|
| mcp-bom | mcp-bom | io.modelcontextprotocol.sdk | Bill of Materials for dependency management |
| mcp-core | mcp-core | io.modelcontextprotocol.sdk | Core reference implementation (STDIO, JDK HttpClient, Servlet, Streamable HTTP) |
| mcp-json-jackson2 | mcp-json-jackson2 | io.modelcontextprotocol.sdk | Jackson 2.x JSON serialization implementation |
| mcp-json-jackson3 | mcp-json-jackson3 | io.modelcontextprotocol.sdk | Jackson 3.x JSON serialization implementation |
| mcp | mcp | io.modelcontextprotocol.sdk | Convenience bundle (mcp-core + mcp-json-jackson3) |
| mcp-test | mcp-test | io.modelcontextprotocol.sdk | Shared testing utilities and integration tests |
| mcp-spring-webflux (external) | mcp-spring-webflux | org.springframework.ai | Spring WebFlux integration — part of Spring AI 2.0+ |
| mcp-spring-webmvc (external) | mcp-spring-webmvc | org.springframework.ai | Spring WebMVC integration — part of Spring AI 2.0+ |
!!! tip A minimal adopter may depend only on mcp (core + Jackson 3). Spring-based applications should use the mcp-spring-webflux or mcp-spring-webmvc artifacts from Spring AI 2.0+ (group org.springframework.ai), no longer part of this SDK.
🚀{ .lg .middle } Quickstart
Get started with dependencies and BOM configuration.
:material-monitor:{ .lg .middle } MCP Client
Learn how to create and configure MCP clients.
:material-server:{ .lg .middle } MCP Server
Learn how to implement and configure MCP servers.
:fontawesome-brands-github:{ .lg .middle } GitHub
View the source code and contribute.
| Back | FazBrowse Home | New Git URL |