thought2code/mcp-annotated-java-sdk

View on GitHub ↗

Build lightweight MCP servers in plain Java with annotations, generated schemas, and no Spring runtime

32 ★12 forksJavaUpdated 20d ago

What you need to know

Annotation-driven Java SDK for building MCP servers with zero framework boilerplate (no Spring), published to Maven Central.

Install

Maven Central: io.github.thought2code/mcp-annotated-java-sdk
Requires Java 17+

Usage

  • Annotate plain Java classes/methods and the SDK exposes them as MCP tools automatically

Key features

  • Annotation-driven MCP server development
  • No Spring dependency
  • Java 17+
  • Maven Central distribution

Best for

Java developers building MCP servers with annotations instead of boilerplate.

Reviewed 2026-08-11

Topics

ai-agentsannotation-drivendeclarativejavamcpmcp-servermodel-context-protocolno-springsdk
Stars
32★
Forks
12
Language
Java
License
MIT
Created
2025-04-04
Last push
2026-08-15