OpenAPI MCP Server

A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources. This server allows Large Language Models to discover and interact with REST…

Local serverstdioMIT

What is the OpenAPI MCP Server?

OpenAPI MCP Server source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources. This server allows Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the MCP protocol.”

Installation

The documented npm package is @ivotoby/openapi-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares API_BASE_URL, OPENAPI_SPEC_PATH, API_HEADERS. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
alldefault): Load all tools from the OpenAPI spec, applying any specified filters
dynamicLoad only dynamic meta-tools (list-api-endpoints, get-api-endpoint-schema, invoke-api-endpoint). --exclude-tag still applies to dynamic endpoint discovery…
explicitLoad only tools explicitly listed in --tool options, ignoring include filters. --exclude-tag still applies as a deny filter.

How to install the OpenAPI MCP Server

{
  "mcpServers": {
    "openapi": {
      "command": "npx",
      "args": [
        "-y",
        "@ivotoby/openapi-mcp-server"
      ],
      "env": {
        "API_BASE_URL": "https://api.example.com",
        "OPENAPI_SPEC_PATH": "https://api.example.com/openapi.json",
        "API_HEADERS": "Authorization:Bearer token123,X-API-Key:your-api-key"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
API_BASE_URLDeclared in the maintainer’s client configuration.Check documentation
OPENAPI_SPEC_PATHDeclared in the maintainer’s client configuration.Check documentation
API_HEADERSDeclared in the maintainer’s client configuration.Check documentation