swagger-mcp

dcolley
85
Swagger to MCP server

Overview

swagger-mcp Introduction

swagger-mcp is a server that ingests and serves Swagger/OpenAPI specifications through the Model Context Protocol (MCP).

How to Use

To use swagger-mcp, clone the repository, install dependencies using Yarn, configure your Swagger/OpenAPI specification, and update the server settings in the config.json file.

Key Features

Key features include loading Swagger/OpenAPI specifications, supporting multiple authentication methods (Basic Auth, Bearer Token, API Key, OAuth2), automatic generation of MCP tools from API endpoints, Server-Sent Events (SSE) support for real-time communication, and TypeScript support.

Where to Use

swagger-mcp can be used in software development environments where APIs are documented using Swagger/OpenAPI, particularly in applications requiring real-time communication and secure API interactions.

Use Cases

Use cases for swagger-mcp include developing and testing APIs, integrating with various authentication methods, and providing real-time updates to clients through SSE.

Content