AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Dev Tooling/
java-sdk
java-sdk logo

java-sdk

Active·★ 3.7k·MIT·Updated 2026-10-13
★ Essential

This is the official Java SDK for the Model Context Protocol, letting Java applications act as MCP clients or servers through a standard interface. It supports both synchronous and asynchronous styles and is published to Maven Central as `io.modelcontextprotocol.sdk:mcp`; the README badge points to JDK 17. The README links to documentation for features, architecture, dependencies and BOM, and separate client and server guides, and notes that Spring AI MCP extends the SDK with Spring Boot client and server starters.

Most of the README explains design decisions. JSON uses Jackson behind an SDK abstraction in `mcp-core`, so other libraries can be plugged in. The public programming model is Reactive Streams, implemented internally with Project Reactor, with a synchronous facade on top for simple blocking use. Logging uses SLF4J, with Reactor Context for observability propagation, and the SDK supports both client transports and server transports with authorization. The README also covers building from source, running unit and conformance tests, and lists future directions.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-11.

License
MIT
Latest release
v2.0.1 · 2026-08-19
Last commit
2026-10-09
Contributors
85
Forks
1,157
Open issues and PRs
278
First published
2025-01-20

Source: GitHub, npm and PyPI public APIs.

#Java SDK#AI Integration#API Wrapper#Asynchronous#Reactive Programming#Spring Boot#JSON Serialization
$ Install
$ ./mvnw clean install -DskipTests
↗ Visit site★ GitHub
01

Features

01Standardized AI model and tool interaction
02Support for synchronous and asynchronous communication
03Pluggable JSON serialization (Jackson by default)
04Reactive Streams programming model (Project Reactor) with synchronous facade
05Comprehensive Spring Boot integration via Spring AI MCP
02

Why choose it

+Official SDK from the MCP project, published on Maven Central
+Both synchronous and asynchronous APIs, so simple blocking use does not require learning Reactor
+Pluggable JSON layer instead of hard-wiring Jackson into the public API
+Works with Spring through the Spring AI MCP starters
03

Trade-offs

!Requires JDK 17 or newer
!The README is mostly design rationale and links; code samples live on the separate documentation site
!The async API is built on Reactor, which adds a learning curve; the README also says the public API is still being moved to plain Reactive Streams interfaces
!Spring Boot support is in the separate Spring AI project, not in this repository
04

Compatibility

Java
Runtime
Verified via docs
Spring AI
Integration
Verified via docs
Jakarta Servlet
Server Transport
Verified via docs
JDK HttpClient
Client Transport
Verified via docs
Jackson
JSON Serialization
Verified via docs
Project Reactor
Reactive Programming
Verified via docs
05

Quick start

1
$ ./mvnw clean install -DskipTests
06

Use cases

↳Developing Java applications that consume Model Context Protocol servers
↳Implementing and configuring custom Model Context Protocol servers in Java
↳Bootstrapping AI applications with integrated Model Context Protocol support
↳Building non-blocking, stream-processing AI applications
07

Alternatives

CopilotKit logo
CopilotKit★ 38.0k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
1Panel logo
1Panel★ 37.2k
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
mcp-context-forge logo
mcp-context-forge★ 4.6k
A Model Context Protocol (MCP) Gateway & Registry. Serves as a central management point for tools, resources, and prompts that can be accessed by MCP-compatible LLM applications. Converts REST API endpoints to MCP, composes virtual MCP servers with added security and observability, and converts between protocols (stdio, SSE, Streamable HTTP).

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases
MCP-Chinese-Getting-Started-Guide logo
MCP-Chinese-Getting-Started-Guide★ 3.6k
Model Context Protocol(MCP) 编程极速入门
cursor-talk-to-figma-mcp logo
cursor-talk-to-figma-mcp★ 7.1k
TalkToFigma: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
google_workspace_mcp logo
google_workspace_mcp★ 3.3k
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace / G Suite MCP Server
xiaohongshu-mcp logo
xiaohongshu-mcp★ 16.3k
MCP for xiaohongshu.com
FIRERPA (LAMDA) logo
FIRERPA (LAMDA)★ 8.6k
FIRERPA (formerly LAMDA) is an all-in-one Android automation and device-control platform with on-device server, remote desktop, UI automation, OCR, packet capture and a built-in MCP server for AI agents.
See all alternatives →
07
Alternatives
Stats
GitHub Stars★ 3.7k
Last commit2d ago
StatusActive
LicenseMIT
CategoryDev Tooling
Trend (30d)
+0.1k↑ 3.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad