openapi-to-mcp-server
If you are the rightful owner of openapi-to-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The OpenAPI to MCP Converter bridges OpenAPI specifications with the Model Context Protocol (MCP), enabling LLM-based tools to interact with REST APIs.
The OpenAPI to MCP Converter is a tool designed to facilitate the interaction between OpenAPI specifications and the Model Context Protocol (MCP). It allows language model-based tools, such as the MCP Inspector, to seamlessly interact with REST APIs defined using OpenAPI. This converter dynamically translates OpenAPI specifications into MCP tools, making API endpoints accessible as callable functions for language models. It supports various HTTP methods, handles authentication, and is compatible with MCP Inspector and other MCP clients. The converter is built using Java and Maven, and it requires an OpenAPI specification file in JSON format to operate.
Features
- Dynamically converts OpenAPI specifications into MCP tools
- Exposes REST API endpoints as callable functions for LLMs
- Supports path parameters, query parameters, request bodies, and headers
- Handles authentication (Bearer tokens, Basic auth, API keys)
- Supports all HTTP methods (GET, POST, PUT, DELETE, etc.)