by janwilmake
OpenAPI MCP Server enables AI models like Claude/Cursor to understand and interact with complex OpenAPI specifications using simple language.
OpenAPI MCP Server is a Model Context Protocol (MCP) server designed for AI models such as Claude and Cursor. Its primary function is to facilitate the searching and exploration of OpenAPI specifications from oapis.org, allowing AI to process and understand these complex API definitions through natural language.
OpenAPI MCP Server can be installed via Smithery or npx. Once installed, AI clients like Claude Desktop can leverage it to interact with OpenAPI specifications. For example, you can ask Claude to "Find information about the Stripe API" or "Explain how to use the GitHub API's repository endpoints." The MCP server will then process these requests by first getting an overview of the requested API and then retrieving specific operation details as needed.
npx -y @smithery/cli install @janwilmake/openapi-mcp-server --client claude
npx openapi-mcp-server@latest init
Does OpenAPI MCP Server allow executing API endpoints directly? No, OpenAPI MCP v2 does not currently allow executing endpoints directly as tools, primarily due to unsolved authentication problems within the MCP framework. Its focus is on exploration and providing context.
What are the system requirements for OpenAPI MCP Server? You need Node.js version 16.17.0 or higher and an MCP client such as Claude Desktop or Cursor.
Can I contribute to the OpenAPI MCP Server project? Yes, the project is open to contributors. You can reach out to the owner via DM on X (formerly Twitter).
How does the MCP process work? The MCP follows a 3-step process: 1) Identifies the necessary OpenAPI identifier, 2) Requests a summary of it in simple language, and 3) Determines required endpoints and explains their functionality in simple language.
Is there an older version of OpenAPI MCP Server available? Yes, versions prior to v2.0.0 are still accessible, and their README is available here.
A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.
The MCP works by applying a 3 step process :
[!IMPORTANT] OpenAPI MCP has found a new owner and has been migrated from v1.2 to v2, which works different to the previous version. You can still access any version prior to v2.0.0 and their README is here
OpenAPI MCP v2 is a Work In Progress and focuses on exploration and providing context about APIs. It does not allow executing the endpoints as tools directly, as authentication isn't a solved problem with MCP yet. However, it's great for codegen!
Expect bugs. Open To Contributers, DM
Summary | Prompt it |
---|---|
Basic understanding of the OpenAPI MCP Server | |
Core implementation details of the MCP server | |
How to extend or contribute to the project |
To install openapi-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @janwilmake/openapi-mcp-server --client claude
Run and follow instructions:
npx openapi-mcp-server@latest init
Once installed, you can ask Claude to:
Claude will use the MCP server to:
MIT
Reviews feature coming soon
Stay tuned for community discussions and feedback