Agent♥︎Age
Catalog

Swagger MCP Bridge

Official

by Neo1228 · Java

Spring Boot example that exposes SpringDoc OpenAPI operations as safe MCP tools.

Spring Boot example that exposes SpringDoc OpenAPI operations as safe Model Context Protocol (MCP) tools. It uses the MCP pattern to bridge OpenAPI-defined endpoints into tool calls, aligning API gateway and LLM tool workflows with Spring Boot and SpringDoc.

🛠️ Key Features

  • Spring Boot example
  • SpringDoc OpenAPI operations exposed as MCP tools
  • Tooling oriented around MCP and OpenAPI

🚀 Use Cases

  • Integrate OpenAPI services into MCP-enabled LLM tools
  • API gateway workflows using Java and MCP
  • Workflow orchestration with Spring AI and LLM tooling

⚡ Developer Benefits

  • Uses Java (Java-17+) and Spring Boot (3.5.x)
  • Leverages SpringDoc OpenAPI and swagger/OpenAPI concepts
  • Suitable as a reference implementation for MCP tool exposure

⚠️ Limitations

  • Described as an example; feature scope beyond MCP-exposed OpenAPI operations is not specified.

Topics

api-gatewayjavajava-17java-25llm-toolsmcpmodel-context-protocolopenapispring-aispring-bootspring-boot-starterspringdoc-openapiswaggerworkflow-orchestration