Use your OpenAPI specification to expose your API's endpoints as strongly typed tools.
Connect Openapi To MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Use your OpenAPI specification to expose your API's endpoints as strongly typed tools. The openapi to mcp mcp server is what makes that connection.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
info.x-mcp — instructions (string): Textual instructions exposed by the MCP server during the initialize handshakeoperation.x-mcp-tool — name (string): Custom tool nameTools — The Tools tool exposed by this serverOAuth2 — ClientCredentials, RefreshToken, Password are supported. If your OpenAPI specification declareAmong the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Openapi To MCP's toolset — info.x-mcp, operation.x-mcp-tool, Tools and 1 more — is a fair guide to whether it matches your workflow. It is maintained by ouvreboite; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| info.x-mcp | instructions (string): Textual instructions exposed by the MCP server during the initialize handshake |
| operation.x-mcp-tool | name (string): Custom tool name |
| Tools | The Tools tool exposed by this server. |
| OAuth2 | ClientCredentials, RefreshToken, Password are supported. If your OpenAPI specification declare [securitySchemes](https://swagger.io/docs/specification/v3_0/authentication/oauth2/) for those flows, the corresponding token |
{
"mcpServers": {
"petstore": {
"command": "openapi-to-mcp",
"args": [
"https://petstore3.swagger.io/api/v3/openapi.json"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.