mcp-openapi

mcp-openapi

41

The @reapi/mcp-openapi server helps developers integrate multiple OpenAPI specifications into LLM-powered IDEs. It acts as a bridge between API definitions and development tools to enhance productivity and enable intelligent features like code completion.

@reapi/mcp-openapi

A Model Context Protocol (MCP) server designed to load and serve multiple OpenAPI specifications, facilitating integrations with LLM-powered IDEs like Cursor.

Features

  • Supports multiple OpenAPI specifications.
  • Offers dereferenced schemas for complete API context.
  • Creates and maintains an API catalog for LLMs.

How It Works

  • Scans directories for OpenAPI files and processes them.
  • Exposes API operations and schemas through MCP protocol.

Tools

  • refresh-api-catalog: Refreshes API catalog.
  • get-api-catalog: Retrieves full API catalog.
  • search-api-operations: Searches API operations.

Example Prompts

  • "What are the required parameters for creating a new pet?"
  • "Generate an Axios client for the create pet API"

Powered by ReAPI

ReAPI sponsors this MCP server, offering modules such as API CMS and API Testing. Try ReAPI at reapi.com.