Swagger MCP Server

MCP Server for exploring Swagger/OpenAPI specifications

Local serverstdioTypeScript

What is the Swagger MCP Server?

MCP Server for exploring Swagger/OpenAPI specifications.

What Swagger does

A Model Context Protocol (MCP) server that allows LLMs to explore and interact with Swagger/OpenAPI specifications. This server provides tools and resources for loading API specifications, browsing endpoints, and getting detailed information about API operations.

Practical notes

  • Maintained by gulbaki, written in TypeScript.

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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
load_api
get_endpoint_details
list_apis
search_endpoints

How to install the Swagger MCP Server

{
  "mcpServers": {
    "swagger-explorer": {
      "command": "node",
      "args": [
        "/path/to/your/swagger-mcp-server/build/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Swagger to load api.”
  • “Use Swagger to get endpoint details.”
  • “Use Swagger to list apis.”

Frequently asked questions

MCP Server for exploring Swagger/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.