AcademyMCP serversDevelopment

openapi-to-mcp

Development and integration teams that want an assistant to call an API based on its OpenAPI specification.

  • Listedour rating
  • 35gitHub stars
  • MITlicence
  • 15 months agolast update
claude mcp add petstore -- openapi-to-mcp https://petstore3.swagger.io/api/v3/openapi.json
README.md

Loading the file...

What it does

A tool that reads an OpenAPI specification and exposes each endpoint as a strongly typed tool for an MCP client. Parameters and request bodies follow JSON Schema, so the assistant receives clear input definitions. It is configured with the URL or path of the specification and, when the API needs it, a bearer token.

Use cases

  1. 01Let an assistant call an internal API without custom code
  2. 02Turn a public API specification into MCP tools
  3. 03Test endpoints from a chat using a bearer token

Questions about
openapi-to-mcp.

What is openapi-to-mcp used for?

Development and integration teams that want an assistant to call an API based on its OpenAPI specification. A tool that reads an OpenAPI specification and exposes each endpoint as a strongly typed tool for an MCP client. Parameters and request bodies follow JSON Schema, so the assistant receives clear input definitions. It is configured with the URL or path of the specification and, when the API needs it, a bearer token.

How do I install openapi-to-mcp?

Run this in your terminal: claude mcp add petstore -- openapi-to-mcp https://petstore3.swagger.io/api/v3/openapi.json

Is openapi-to-mcp open source?

Yes. The code is on GitHub (criteo/openapi-to-mcp) under the MIT licence.

Is openapi-to-mcp safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.