Lightlines
By github

java-mcp-server-generator

github8.8k installs

Turn Java code into tested tools for AI agents.

What it does

Creates a tested Java MCP server project with tools tailored to the user's request and configuration for connecting a client.

When to use it

Use when creating a Java or Spring Boot MCP server or exposing Java code, an API, or a database to AI agents, even without an explicit MCP request; exclude Quarkus servers, MCP clients, and other languages.

How to use it

Give it a request for a Java MCP server; it creates the project, implements its tools, tests it, and configures a client.

Uses

Latest review

What you need · 2

Requires JDK 17 or later.

Requires Maven 3.9 or later for the default build workflow.


Access · 1

This skill

https://github.com/modelcontextprotocol/java-sdk/blob/main/MIGRATION-2.0.md

Read

Reads SDK migration instructions