MCP OpenAPI ServerServer

ReAPI-com
GitHub
API IntegrationOpenAPIDeveloper Tools

💡 Description

An open-source Model Context Protocol (MCP) server that loads and serves multiple OpenAPI specifications to facilitate integration with LLM-based IDEs. This server acts as a bridge between OpenAPI specifications and LLM based development tools like Cursor.

📝 JSON Entries

{
  "mcpServers": [
    {
      "@reapi/mcp-openapi": {
        "env": {},
        "args": [
          "-y",
          "@reapi/mcp-openapi@latest",
          "--dir",
          "./specs"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

refresh-api-catalogget-api-catalogsearch-api-operationssearch-api-schemasload-api-operation-by-operationIdload-api-operation-by-path-and-methodload-api-schema-by-schemaName

Features

  • Loads multiple OpenAPI specifications from a directory
  • Exposes API operations and schemas via the MCP protocol
  • Enables LLMs to understand and work directly with APIs in their IDE

💬 Example Queries

  • Show me all available APIs in the catalog with their operations
  • Generate mock data for the Pet schema
  • Create a TypeScript interface for the Pet schema