Swagger MCP Server
Exposes Swagger/OpenAPI-defined APIs through the Model Context Protocol, making them accessible to AI agents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Swagger MCP Serverlist all endpoints in the swagger configuration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-serverOr use it directly with npx:
npx swagger-mcp-server <config-file>Related MCP server: cod-api MCP Server
Usage
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"
}
]
}Run the server:
swagger-mcp-server config.jsonOr with npx:
npx swagger-mcp-server config.jsonConfiguration Options
The configuration file supports the following options:
endpoints: An array of Swagger endpoints to exposename: A unique identifier for the endpointurl: URL to the Swagger/OpenAPI JSON definition
Development
To build the project:
npm run buildTo run locally:
npm run runLicense
ISC
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for AI access to Swagger by SmartBear.
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Related MCP Servers
- AlicenseAqualityDmaintenanceExposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.141 npm2MIT

cod-api MCP Serverofficial
FlicenseNot gradedqualityDmaintenanceExposes REST API endpoints defined in an OpenAPI Specification as MCP tools, allowing AI models to call them via the ModelContext Protocol.-- AlicenseNot gradedqualityCmaintenanceEnables developers to define, expose, and consume APIs using the Model Context Protocol with API-first design, built on OpenAPI specifications for robust schema validation and secure integration.3 npm1MIT
- FlicenseAqualityDmaintenanceDynamically fetches and exposes OpenAPI/Swagger documentation as tools for AI assistants, enabling them to explore and interact with any REST API.31-