Converts OpenAPI 3.x specifications into callable MCP tools with generated schemas and configurable authentication.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Openapi.
list_endpointsReturns all operations grouped by tag with operationIds, methods, paths, and parameters
call_endpointExecutes any operation by `operationId` with path/query/header/body parameters
Turn any OpenAPI spec into MCP tools for Claude โ zero config, instant API access.
Point mcp-openapi-runner at any OpenAPI 3.x spec and Claude can call every endpoint through natural language. No custom integration code. No manual tool definitions. One line of config.
| Without mcp-openapi | With mcp-openapi |
|---|---|
| Write custom MCP server per API | One config line per API |
| Define tool schemas manually | Auto-generated from OpenAPI spec |
| Handle auth, params, body yourself | Built-in auth + parameter handling |
| Maintain code as API evolves | Spec changes = tools update automatically |
Add to your Claude Desktop / Claude Code / Cursor / Cline MCP config:
That's it. Claude can now discover and call every endpoint in that API.
You: What pets are available? Add a new dog named Buddy.
Claude: Let me check what's available. [calls
list_endpointsโ discoversfindPetsByStatus,addPet, ...] [callscall_endpointโfindPetsByStatuswithstatus=available]There are 3 pets currently available. Now I'll add Buddy... [calls
call_endpointโaddPetwith{"name":"Buddy","status":"available"}]Done! Buddy has been added with ID 12345.
$ref auto-resolved--filter--header--server-urllist_endpoints โ call_endpoint workflowPass credentials via environment variables:
| Variable | Description |
|---|---|
OPENAPI_BEARER_TOKEN | Bearer token โ Authorization: Bearer <token> |
OPENAPI_API_KEY | API key value |
OPENAPI_API_KEY_HEADER | Header name for API key (default: X-Api-Key) |
OPENAPI_BASIC_USER | HTTP Basic auth username |
OPENAPI_BASIC_PASS | HTTP Basic auth password |
mcp-openapi-runner exposes exactly two tools:
| Tool | Description |
|---|---|
list_endpoints | Returns all operations grouped by tag with operationIds, methods, paths, and parameters |
call_endpoint | Executes any operation by operationId with path/query/header/body parameters |
The two-tool design means Claude always has a clear workflow: discover โ call.
$ref schemas using @apidevtools/swagger-parser--filter is setlist_endpoints generates a human+LLM-readable summary of all operationscall_endpoint resolves params, builds the URL, attaches auth + custom headers, returns the responseContributions welcome! See CONTRIBUTING.md for guidelines.
MIT
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/saurav61091-mcp-openapi)<a href="https://allmcps.com/mcp/saurav61091-mcp-openapi"><img src="https://allmcps.com/api/badge/saurav61091-mcp-openapi?style=directory" alt="MCP Openapi on AllMCPs" /></a>