openapi-mcp

openapi-mcp

3.5

If you are the rightful owner of openapi-mcp 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.

OpenAPI-MCP is a dockerized MCP server that generates MCP tool definitions from Swagger/OpenAPI specification files, enabling AI agents to access APIs without additional coding.

OpenAPI-MCP is a powerful tool that allows developers to generate Model Context Protocol (MCP) toolsets directly from OpenAPI or Swagger specification files. By leveraging existing API documentation, it enables MCP-compatible clients, such as AI agents, to interact with APIs seamlessly. The server is dockerized, making it easy to deploy and run as a containerized service. It supports both OpenAPI v2 and v3 specifications and provides features like automatic tool generation, secure API key management, and flexible handling of local and remote specification files. OpenAPI-MCP is particularly useful for developers looking to integrate AI agents with various APIs without the need for manual endpoint configuration.

Features

  • OpenAPI v2 & v3 Support: Parses standard OpenAPI and Swagger specification formats.
  • Schema Generation: Creates MCP tool schemas from OpenAPI operation parameters and request/response definitions.
  • Secure API Key Management: Injects API keys into requests securely, keeping them hidden from the end MCP client.
  • Server URL Detection: Automatically uses server URLs from the spec as the base for tool interactions.
  • Filtering Options: Includes/excludes specific operations or tags for more precise tool generation.