What are the prerequisites for the target project?
The target project must use Spring Boot 3.2+ (3.2.0 or newer), Spring Web MVC, and Maven build tool. Java 17+ and Maven 3.6+ are required to run the converter.
@addozhang
Basic information
Convert Spring REST API to MCP Server with OpenRewrite
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Spring Web to MCP Converter is an OpenRewrite recipe collection that automatically converts traditional Spring Web REST APIs into Spring AI Model Context Protocol (MCP) server tools. It is designed for developers migrating Spring Boot REST controllers to expose their APIs through the MCP standard, making them accessible to AI agents.
After building the project with mvn clean install, apply the recipes to your Spring Web project by running the Maven command twice: the first execution updates pom.xml with required repositories and dependencies, and the second performs the actual code conversion. The command is mvn org.openrewrite.maven:rewrite-maven-plugin:6.4.0:run -Drewrite.activeRecipes=RewriteWebToMCP -Drewrite.recipeArtifactCoordinates=com.atbug.rewrite:web-to-mcp:1.0-SNAPSHOT -Drewrite.exportDatatables=true.
@Tool and @ToolParam annotationsToolCallbackProvider bean to register all toolsapplication.properties or application.ymlThe target project must use Spring Boot 3.2+ (3.2.0 or newer), Spring Web MVC, and Maven build tool. Java 17+ and Maven 3.6+ are required to run the converter.
The command must be executed twice: the first run updates the POM with necessary repositories and dependencies, and the second run performs the actual code conversion of controllers to MCP tools.
No. After conversion, the application continues to function as a traditional REST API while also acting as an MCP server. All existing endpoints remain unchanged.
It adds MCP server configuration to `application.properties` or `application.yml`, setting server name, version, type, and SSE message endpoint.
Run the converted application and use the official MCP Inspector (configured with SSE transport at `http://localhost:8080/sse`) to view and test all available tools.

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
Painless E2E Automation for Mobile and Web

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
不止于 CSS
Comments