About bbonnin/openapi-to-mcp
bbonnin/openapi-to-mcp is an MCP server published by bbonnin in the Data category: openApiMCPServer is an MCP server that automatically converts any OpenAPI/Swagger specification into a set of usable MCP tools.
The repository has 4 stars and 1 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/bbonnin/openapi-to-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about bbonnin/openapi-to-mcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
3 checks have not been run yet.
README
OpenApi MCP Server
OpenApiMCPServer is an MCP server that automatically converts any OpenAPI/Swagger specification into a set of usable MCP tools.
It analyzes all API endpoints, generates structured tool definitions, and routes tool calls to the underlying REST API. This allows AI agents to interact with any OpenAPI-based service instantly, without manual tool coding.
Modules
There are several modules:
-
openapi-mcp-server: the application that is a MCP server providing the tools defined in an OpenAPI definition (provided as a local file or an HTTP endpoint)- This server dynamically loads the Swagger content and provides the functions of the API through the MCP protocol, so they can be used in a generative AI architecture without recoding anything
- At startup:

- At runtime:

-
openapi-mcp-example: a simple example divided in two parts- In
apipackage : a fake infrastructure API for managing virtual machines. The API will be invoked by the OpenAPI MCP Server - In
assistantpackage : an assistant with a simple chat that will use the infrastructure API through the MCP server accessing the API
- In
Run
MCP Server
To start the MCP Server
java -jar $PATH_TO_JAR/openapi-mcp-server.jar --openapi.location=<swagger file or URL>
Example
-
Start the example parts, in your IDE, launch:
- The InfrastructureApiServer class
- The InfraAssistantApp class by providing the LLM URL and the MCP server
-
The MCP server, in the IDE:
- The OpenApiMcpServer class by providing the OpenAPI location and the Spring profile dev if needed

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.