Back to MCP Servers

Openapi To

Lightweight MCP server to access any API using their OpenAPI specification. Supports OAuth2 and full JSON schema parameters and request body.

code-executionapi

Installation

npx -y openapi-to-mcp

Configuration

{
  "mcpServers": {
    "openapi-to-mcp": {
      "command": "npx",
      "args": ["-y", "openapi-to-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub