OpenAPI MCP Server

Exposes HTTP methods from an OpenAPI specification as tools for Model Context Protocol (MCP) servers.

Local serverstdio★ 8

What is the OpenAPI MCP Server?

Exposes HTTP methods from an OpenAPI specification as tools for Model Context Protocol (MCP) servers.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the OpenAPI MCP Server

{
  "mcpServers": {
    "todos": {
    "command": "uvx",
    "args": [
        "mcp-openapi",
        "--openapi-url=http://localhost:8000/openapi.json",
        "stdio"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MCP_OPENAPI_URLEndpoint or connection string the server talks to.Yes

Frequently asked questions

MCP-OpenAPI supports OpenAPI versions 3.0 and 3.1, in both JSON and YAML formats.