MCP Java SDK Examples

July 2, 2026 ยท View on GitHub

A collection of MCP server examples developed with Java SDKs.

Requirements

  • Java 17 or later
  • Docker with Docker Compose

What is MCP?

The Model Context Protocol (MCP) lets servers expose data and functionality to LLM applications in a standardized way. MCP servers can expose resources, tools, prompts, and more.

Examples

  • mcp-server-mysql - Provides MCP access to MySQL database metadata, operations, and context