MCP.so
Sign In

Swagger MCP Server

@marcin-sucharski

About Swagger MCP Server

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "swagger-mcp-server-marcin-sucharski": {
      "command": "npx",
      "args": [
        "swagger-mcp-server",
        "<config-file>"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Swagger MCP Server?

A Model Context Protocol server that exposes Swagger/OpenAPI-defined APIs, making them accessible to AI agents.

How to use Swagger MCP Server?

Install the package globally with npm install -g swagger-mcp-server or use it directly with npx. Create a JSON configuration file listing the Swagger endpoints (each with a unique name and the url to the Swagger/OpenAPI JSON definition), then run the server with swagger-mcp-server <config-file>.

Key features of Swagger MCP Server

  • Exposes Swagger/OpenAPI endpoints via Model Context Protocol.
  • Simple JSON configuration for one or multiple endpoints.
  • Can be used globally or on-the-fly with npx.
  • Makes REST APIs accessible to AI agents without custom code.
  • Easy to run and integrate into existing toolchains.

Use cases of Swagger MCP Server

  • Enable AI agents to query live REST APIs documented with Swagger.
  • Give language models real-time access to your organization’s API catalog.
  • Rapidly prototype AI assistants that interact with existing API definitions.
  • Expose third-party Swagger APIs to AI workflows without building adapters.

FAQ from Swagger MCP Server

How do I install Swagger MCP Server?

Install globally with npm install -g swagger-mcp-server or use it directly with npx without installing.

How do I configure Swagger MCP Server?

Create a JSON configuration file with an endpoints array. Each endpoint object requires a unique name and a url pointing to a Swagger/OpenAPI JSON definition.

Can I use Swagger MCP Server without installing globally?

Yes, you can run it using npx: npx swagger-mcp-server <config-file>.

How do I develop or build Swagger MCP Server locally?

Use npm run build to build the project and npm run run to start it locally.

Frequently asked questions

How do I install Swagger MCP Server?

Install globally with `npm install -g swagger-mcp-server` or use it directly with npx without installing.

How do I configure Swagger MCP Server?

Create a JSON configuration file with an `endpoints` array. Each endpoint object requires a unique `name` and a `url` pointing to a Swagger/OpenAPI JSON definition.

Can I use Swagger MCP Server without installing globally?

Yes, you can run it using npx: `npx swagger-mcp-server <config-file>`.

How do I develop or build Swagger MCP Server locally?

Use `npm run build` to build the project and `npm run run` to start it locally.

Comments

More Other MCP servers