Server2MCP Spring Boot Starter
@TheEterna
Server2MCP Spring Boot Starter について
Spring Boot Starter: Auto-convert existing REST APIs (@RestController) to MCP Server with zero/low-code. Expose controllers as MCP Tools instantly.
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Server2MCP Spring Boot Starter?
Server2MCP Spring Boot Starter automatically scans existing Spring Boot @RestController and @Service beans and exposes them as MCP (Model Context Protocol) tools with minimal configuration. It combines parsers from Swagger/OpenAPI, Javadoc, Spring MVC metadata, Jackson, and Spring AI to turn REST APIs into AI-callable tools without rewriting business logic. It is designed for developers who want to add MCP support to existing Spring Boot projects with zero-to-low code changes.
How to use Server2MCP Spring Boot Starter?
Add the dependency (build from source — not yet on Maven Central), enable it in application.yml with plugin.mcp.enabled: true, configure parser order and scan scope, and optionally set up Javadoc parsing by packaging source files. Start your application; the MCP endpoint is ready at /mcp by default and can be tested with any MCP client like Cursor or Continue.
Key features of Server2MCP Spring Boot Starter
- Non-intrusive — no need to change existing business code
- Auto-discovery — scans controllers and services to register methods as MCP tools
- Multi-parser support — combines descriptions from Swagger, Javadoc, Spring MVC, and more
- Custom annotations —
@ToolScan,@ResourceScan,@PromptScanfor fine-grained control - Isolated MCP tool system — uses its own
McpToolannotation independent of Spring AI - Full MCP SDK compatibility — supports callbacks, resources, and prompts
Use cases of Server2MCP Spring Boot Starter
- Expose internal management system APIs to AI agents quickly
- Build multi-agent systems by turning microservices into MCP tools
- Prototype AI features on top of production REST services
- Avoid duplicating logic between REST and MCP endpoints
FAQ from Server2MCP Spring Boot Starter
How does this differ from manually adding @Tool annotations?
It automatically scans existing REST controllers, requiring only configuration changes instead of annotating every method. The comparison table shows minimal code changes compared to medium-to-high for alternatives.
What are the runtime requirements?
Java 17 or later and Spring Boot 3.x.
Is the project available on Maven Central?
Not yet — you must build from source by cloning the repository and running mvn clean install.
How do I enable Javadoc parsing in production?
Package source files using the maven-resources-plugin to copy .java files into the build output directory, since bytecode does not contain Javadoc comments.
What is the default MCP endpoint?
The MCP endpoint is available at /mcp by default and can be configured via spring.ai.mcp.* properties.
「開発者ツール」の他のコンテンツ
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
コメント