openapi-mcp
Provides tools to load and explore OpenAPI/Swagger specifications, including searching endpoints, inspecting schemas, and retrieving operations from a given API spec.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openapi-mcpload the Petstore API spec"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenAPI MCP
MCP server for loading and exploring OpenAPI/Swagger specifications. Lets AI assistants browse API contracts dynamically — load any OpenAPI spec, search endpoints, inspect schemas, retrieve operations, diff versions — all through MCP tools.
Usage
Prerequisites
Node.js >= 22 or Bun >= 1.0
oasdiff (optional) — required only for the
diff_specstool. Install from github.com/oasdiff/oasdiff.
Manually
Add to your MCP client config:
{
"mcpServers": {
"openapi-mcp": {
"command": "npx",
"args": ["-y", "@ceski23/openapi-mcp"]
}
}
}Via AI agent
Ask your AI assistant to add it:
Add the MCP server
@ceski23/openapi-mcpto my config. Run it withnpx -y @ceski23/openapi-mcpvia stdio.
Most assistants can modify your MCP config file directly.
Related MCP server: apifable
Tools
Tool | Description |
| Load an OpenAPI/Swagger spec from a URL or local file path. Parses and validates the spec, returns a |
| Search operations in a loaded spec by operationId, path, summary, tags, or description. Supports filtering by HTTP method and tags, with pagination. |
| Get full details for a single operation by operationId — method, path, parameters, requestBody, and responses. |
| Get all HTTP methods defined on a specific path. Returns a summary of each method. |
| Search component/definition schema names in a loaded spec. Supports pagination. |
| Retrieve a fully dereferenced component/definition schema by name. |
| Search both operations and schemas in a single call — matches against operationIds, summaries, tags, paths, schema names, schema descriptions, property names, and enum values. The best first call when exploring an API. |
| Compare two loaded OpenAPI specs. Supports summary, detailed (JSON), and markdown changelog output. Requires |
| List all currently cached specs with their specIds, sources, titles, and versions. |
| List all cached versions for a specId (tracked across repeated loads of the same source). |
| Remove a loaded spec (and its version history) from the cache by specId. |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ceski23/openapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server