Openapi MCP Server

Generates MCP server code from OpenAPI specifications

Local serverstdioTypeScript

What is the Openapi MCP Server?

Generates MCP server code from OpenAPI specifications

What it actually does

Generate Model Context Protocol (MCP) servers from OpenAPI specifications.

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": {
    "openapi-mcp-generator": {
      "command": "npx",
      "args": ["-y", "openapi-mcp-generator"],
      "env": {
        "API_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
API_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Openapi to Extension.”
  • “Use Openapi to Default.”
  • “Use Openapi to Precedence.”

Frequently asked questions

Generates MCP server code from OpenAPI specifications Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.