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-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
test
prysmaticlabsGo implementation of Ethereum proof of stake
コメント