Lightweight MCP server exposing any OpenAPI-defined API endpoints with OAuth2 and JSON schema support.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Openapi To MCP.
operation.x-mcp-tool-nameCallable MCP tool function
operation.x-mcp-tool-descriptionCallable MCP tool function
operation.descriptionCallable MCP tool function
path.descriptionCallable MCP tool function
Use your OpenAPI specification to expose your API's endpoints as strongly typed tools.
Basic example for https://petstore3.swagger.io/ π
More complex example, using Github's API:
This example use the bearer token auth (with a Github Personal Access Token) and force the tool naming strategy to "verb and path", as Github's operation ids are not valid tool names.

As a Nuget tool: openapi-to-mcp
Or download the executables from the releases
A set of custom extensions is available to customize how your API should be exposed:
info.x-mcp-instructions (string): Textual instructions exposed by the MCP server during the initialize handshakeoperation.x-mcp-tool-name (string): Custom tool nameoperation.x-mcp-tool-description (string): Custom tool descriptionoperation.x-mcp-tool-enabled (boolean): Enabled/disabled a specific operation (enabled by default)Only STDIO transport is currently supported.
Operations ("endpoints") from your OpenAPI specification are translated to MCP tools
operation.x-mcp-tool-name extension, then the operation.operationId and then {httpMethod}_{escaped_path}
--tool-naming-strategy option.^[a-zA-Z0-9_-]{1,64}$operation.x-mcp-tool-description ?? operation.description ?? path.descriptionWhen a tool is called, the MCP server will call the underlying endpoint. To determine which host to call a combination of parameters are used:
--host-override optionFor example running openapi-to-mcp https://petstore3.swagger.io/api/v3/openapi.json:
A token can be provided as option --bearer-token. It'll be provided to all calls as the Authorization: Bearer {token} header.
It'll also be provided when fetching a remote specification.
ClientCredentials, RefreshToken, Password are supported.
If your OpenAPI specification declare securitySchemes for those flows, the corresponding tokenUrl will be used.
Create a new tag/release π€·
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ouvreboite-openapi-to-mcp)<a href="https://allmcps.com/mcp/ouvreboite-openapi-to-mcp"><img src="https://allmcps.com/api/badge/ouvreboite-openapi-to-mcp?style=directory" alt="Openapi To MCP on AllMCPs" /></a>