Back to MCP Servers

Swagger

A Model Context Protocol (MCP) server that converts OpenAPI/Swagger specifications to MCP format, enabling AI assistants to interact with REST APIs through standardized protocol.

developer-toolsapirestai

Installation

npx -y mcp-swagger-server

Configuration

{
  "mcpServers": {
    "mcp-swagger-server": {
      "command": "npx",
      "args": ["-y", "mcp-swagger-server"]
    }
  }
}

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