ClaudeMap

MCP Java SDK

The official Java SDK for MCP, maintained in collaboration with the Spring AI team.

SDKs & Toolingofficialjavasdkspring

The official Java implementation of the Model Context Protocol, developed in collaboration with the Spring AI team. Provides sync and async MCP clients and servers with protocol-complete tool, resource, and prompt handling; integrates naturally with Spring Boot starters for auto-configuration. Completes the official MCP SDK language matrix — TypeScript, Python, Go, Rust, C#, Swift, Kotlin, and now Java.

What it does

  • Java SDK (Java 17+) supporting both synchronous and asynchronous communication patterns
  • Published on Maven Central as io.modelcontextprotocol.sdk:mcp, with a BOM for dependency management
  • Spring AI builds on top: client and server Boot starters plus annotation-based method handling via MCP Annotations
  • Reference docs split into features, architecture, client and server guides on the SDK site

When to use it

The base layer for JVM MCP integrations — Spring Boot teams reach it through Spring AI's starters.

Getting started

<dependency>
  <groupId>io.modelcontextprotocol.sdk</groupId>
  <artifactId>mcp</artifactId>
  <version>see BOM / quickstart</version>
</dependency>

Things to know

Java 17+ floor; docs are split between the SDK site and the Spring AI reference — follow the quickstart for current BOM coordinates.

Repository

modelcontextprotocol/java-sdk

Charted

Related on the map

  • Harness Bridge

    SDK / Tool

    A local launcher that points Claude Code and seven other coding harnesses at any OpenAI-, Anthropic- or Responses-compatible endpoint — without editing a single config file.

    • launcher
    • local-models
    • cli
    • menu-bar
  • Claude for Siri

    SDK / Tool

    Answers macOS Spotlight and Siri prompts with your signed-in Claude Code account — an experimental macOS 27 model-delegation provider.

    • macos
    • siri
    • spotlight
    • model-delegation
  • Extract your own local chat history from ten AI coding assistants into one normalized JSONL — for fine-tuning, analytics, or backing up years of conversations. Standard library only.

    • cli
    • data-export
    • jsonl
    • backup