
Generate MCP tool definitions directly from a Swagger/OpenAPI specification file.
OpenAPI-MCP is a dockerized MCP server that reads a swagger.json or openapi.yaml file and generates a corresponding Model Context Protocol (MCP) toolset. This allows MCP-compatible clients like Cursor to interact with APIs described by standard OpenAPI specifications. Now you can enable your AI agent to access any API by simply providing its OpenAPI/Swagger specification - no additional coding required.
- Why OpenAPI-MCP?
- Features
- Installation
- Running the Weatherbit Example (Step-by-Step)
- Command-Line Options
Run the demo yourself: Running the Weatherbit Example (Step-by-Step)