loading…
Search for a command to run...
loading…
Exposes Swagger/OpenAPI-defined APIs through the Model Context Protocol, making them accessible to AI agents.
Exposes Swagger/OpenAPI-defined APIs through the Model Context Protocol, making them accessible to AI agents.
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.
You can install the package globally:
npm install -g swagger-mcp-server
Or use it directly with npx:
npx swagger-mcp-server <config-file>
{
"endpoints": [
{
"name": "example-api",
"url": "https://example.com/api/swagger.json"
}
]
}
swagger-mcp-server config.json
Or with npx:
npx swagger-mcp-server config.json
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 definitionTo build the project:
npm run build
To run locally:
npm run run
ISC
Run in your terminal:
claude mcp add swagger-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.