MCP Swagger Server

MCP Swagger Server

mcp-swagger•byandersmandersen

An MCP server that exposes Swagger/OpenAPI documentation and makes API requests based on the specification.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Loads Swagger documentation from a URL, caches it, and exposes it as a swagger-doc resource at swagger://documentation.
  • •Provides a makeRequest tool that makes API requests based on the Swagger spec, taking path, method, optional parameters, and optional body.
  • •Supports authentication via API key and validates requests against the Swagger spec.

BEST FOR

  • •Making API requests from an assistant guided by an OpenAPI specification.
  • •Accessing a full Swagger API documentation within an MCP client.

ABOUT MCP-SWAGGER

MCP Swagger Server is cataloged as an MCP server attributed to andersmandersen. An MCP server that exposes Swagger/OpenAPI documentation and makes API requests based on the specification. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Swagger Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How is the Swagger specification supplied to the server?

It is loaded from a URL given by the required SWAGGER_URL environment variable.

Does the server support authenticated API requests?

Yes, it supports authentication via API key using the optional AUTH_KEY environment variable.

Upstream README

View this exact version on GitHub

README.md · 2eeabd83618e · Fetched 2026-11-13 14:04:57 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Swagger Server

An MCP server that provides access to Swagger/OpenAPI documentation and allows making API requests based on the specification.

Features

  • Loads Swagger documentation from a URL
  • Makes API requests based on the Swagger spec
  • Supports authentication via API key
  • Caches Swagger spec for better performance
  • Validates requests against the Swagger spec

Setup

  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build

Running Locally

Development mode:

npm run dev

Production mode:

npm run start

Configuration

The server requires the following environment variables:

  • SWAGGER_URL: URL to the Swagger specification (required)
  • AUTH_KEY: Authentication key for API requests (optional)

Available Resources and Tools

Resource: swagger-doc

  • URI: swagger://documentation
  • Description: Get the full Swagger documentation

Tool: makeRequest

Make API requests based on the Swagger spec.

Parameters:

  • path: The API endpoint path
  • method: HTTP method (GET, POST, etc.)
  • parameters: Optional path/query parameters
  • body: Optional request body

Example:

const result = await mcp.tools.makeRequest({
  path: "/api/users",
  method: "GET",
  parameters: { userId: "123" }
});

Smithery.ai Deployment

This server is configured for deployment on Smithery.ai. The deployment requires:

  1. A Dockerfile that builds and runs the server
  2. A smithery.yaml configuration file
  3. Proper TypeScript build setup

Configuration Schema

When deploying on Smithery.ai, configure the server with:

{
  "swaggerUrl": "https://api.example.com/swagger.json",
  "authKey": "your-api-key"  // Optional
}

Local Testing with Smithery

  1. Build the Docker image:
docker build -t mcp-swagger .
  1. Run the container:
docker run -e SWAGGER_URL=your-swagger-url -e AUTH_KEY=your-auth-key mcp-swagger

Development

Scripts

  • npm run build: Build TypeScript code
  • npm run start: Run the server in production mode
  • npm run dev: Run the server in development mode with hot reloading

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Swagger Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-swagger)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools