MCP.so
ログイン

Spring MCP Bridge

@brunosantoslab

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

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.

Spring MCP Bridge の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "spring-mcp-bridge": {
      "command": "python",
      "args": [
        "spring_boot_mcp_converter.py",
        "--project",
        "/path/to/spring-project",
        "--output",
        "./mcp_server",
        "--name",
        "MyAPI"
      ]
    }
  }
}

Spring MCP Bridge のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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.

よくある質問

1

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.

2

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.

3

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.

4

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`.

コメント

「開発者ツール」の他のコンテンツ