Back to MCP Servers

Openapi To

MCP server that automatically converts any OpenAPI/Swagger specification into a set of usable MCP tools. Unlike manual tool definition, this approach auto-generates tools directly from the Swagger spec, ensuring consistency, reducing maintenance effort, and preventing mismatches…

developer-toolsapiai

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