Skip to main content
Glama
marcin-sucharski

Swagger MCP Server

Swagger MCP Server

A Model Context Protocol server for Swagger/OpenAPI endpoints. This tool allows you to expose Swagger-defined APIs through the Model Context Protocol, making them accessible to AI agents.

Installation

You can install the package globally:

npm install -g swagger-mcp-server

Or use it directly with npx:

npx swagger-mcp-server <config-file>

Related MCP server: OpenAPI MCP Server

Usage

  1. Create a configuration file (JSON) that defines the Swagger endpoints you want to expose:

{
  "endpoints": [
    {
      "name": "example-api",
      "url": "https://example.com/api/swagger.json"
    }
  ]
}
  1. Run the server:

swagger-mcp-server config.json

Or with npx:

npx swagger-mcp-server config.json

Configuration Options

The configuration file supports the following options:

  • endpoints: An array of Swagger endpoints to expose

    • name: A unique identifier for the endpoint

    • url: URL to the Swagger/OpenAPI JSON definition

Development

To build the project:

npm run build

To run locally:

npm run run

License

ISC

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    A Model Context Protocol server that enables LLMs to explore and interact with API specifications by providing tools for loading, browsing, and getting detailed information about API endpoints.
    4
    17
    14
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Exposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.
    14
    10
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Exposes REST API endpoints defined in an OpenAPI Specification as MCP tools, allowing AI models to call them via the ModelContext Protocol.

View all related MCP servers

Related MCP Connectors

  • MCP server for AI access to Swagger by SmartBear.

  • Point Gecko at an OpenAPI spec; get first-call-correct, auth-hidden agent tools.

  • Connect AI agents to Replynodes over the Model Context Protocol.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marcin-sucharski/swagger-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server