MCP.so
Sign In

Swagger MCP Server

@marcin-sucharski

Basic information

Category

Other

Last updated

Transports

stdio

Author

marcin-sucharski

About Swagger MCP Server

No overview available yet

Swagger MCP Server 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>"
      ]
    }
  }
}

Swagger MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

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.

Frequently asked questions

1

How do I install Swagger MCP Server?

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

2

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.

3

Can I use Swagger MCP Server without installing globally?

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

4

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