Spring MCP Bridge
@brunosantoslab
关于 Spring MCP Bridge
Spring MCP Bridge is a tool that automatically converts REST endpoints from Spring Boot applications into an MCP (Message Conversation Protocol) server, allowing AI assistants like Claude, Cursor, and other MCP-compatible tools to directly interact with your APIs.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"spring-mcp-bridge": {
"command": "python",
"args": [
"spring_boot_mcp_converter.py",
"--project",
"/path/to/spring-project",
"--output",
"./mcp_server",
"--name",
"MyAPI"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Spring MCP Bridge?
Spring MCP Bridge is a tool that automatically converts REST endpoints from Spring Boot applications into an MCP (Message Conversation Protocol) server, allowing AI assistants like Claude, Cursor, and other MCP-compatible tools to directly interact with your APIs. It is designed for developers who want to integrate existing Spring Boot APIs with AI assistants without manual coding.
How to use Spring MCP Bridge?
Clone the repository, then scan your Spring Boot project using python spring_boot_mcp_converter.py --project /path/to/spring-project --output ./mcp_server --name MyAPI. Run the generated MCP server with cd mcp_server && pip install -r requirements.txt && python main.py, and configure your MCP client to use http://localhost:8000.
Key features of Spring MCP Bridge
- Automatic scanning of all REST endpoints.
- Zero configuration – no modifications to existing Spring boot code.
- Preserves request/response models as MCP tools.
- Extracts Javadoc to enhance tool descriptions.
- Generates complete README and usage instructions.
Use cases of Spring MCP Bridge
- Letting Claude, Cursor, or other MCP clients query and mutate your Spring Boot APIs.
- Rapidly exposing existing RESTful services to AI agents without custom integration code.
- Exploring and testing Spring Boot APIs through natural language conversations.
FAQ from Spring MCP Bridge
Does Spring MCP Bridge include authentication?
No, it does not currently include authentication. If your Spring Boot API requires authentication, you need to modify the handler code to include the appropriate headers or tokens.
What Spring Boot features are supported?
It supports REST controllers (@RestController, @Controller), HTTP methods (@GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @PatchMapping), request parameters (@RequestParam), path variables (@PathVariable), request bodies (@RequestBody), and Java models/DTOs.
How does Spring MCP Bridge work?
It scans Java source code to extract metadata from REST endpoints, converts Java types to JSON Schema types, generates a FastAPI application that maps MCP calls to Spring REST calls, and forwards requests from the MCP client to the Spring Boot application.
What are the runtime requirements for Spring MCP Bridge?
You need Python 3.8+, Spring Boot 3.x, and FastAPI. The generated MCP server runs on HTTP port 8000 and expects the Spring Boot application to be available (default: http://localhost:8080). The SPRING_BASE_URL can be configured in the generated main.py.
开发工具 分类下的更多 MCP 服务器
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
Huoshan Test
volcengineMCP Framework
QuantGeekDevThe Typescript MCP Framework
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
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
评论