{"repo":"dcolley/swagger-mcp","free":true,"listed":false,"github":"https://github.com/dcolley/swagger-mcp","clone":"git clone https://github.com/dcolley/swagger-mcp.git","description":"Swagger to MCP server","language":"TypeScript","stars":117,"topics":[],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"Swagger MCP Server A server that ingests and serves Swagger/OpenAPI specifications through the Model Context Protocol (MCP). Features - Loads Swagger/OpenAPI specifications - Supports multiple authentication methods: - Basic Auth - Bearer Token - API Key (header or query) - OAuth2 - Automatically generates MCP tools from API endpoints - Server-Sent Events (SSE) support for real-time communication - TypeScript support Security This is a personal server!! Do not expose it to the public internet. If the underlying API requires authentication, you should not expose the MCP server to the public internet. TODO - secrets - the MCP server should be able to use secrets from the user to authenticate requests to the API - Comprehensive test suite Prerequisites - Node.js (v18 or higher) - Yarn package manager - TypeScript Installation 1. Clone the repository: 2. Install dependencies: 3. Create a .env file based on the example: 4. Configure your Swagger/OpenAPI specification: - Place your Swagger file in the project (e.g., swagger.json ) - Or provide a URL to your Swagger specification 5. Update the configuration in config.json with your server settings: Note: The server prioritizes settings from the Swagger specification over the config file: - If the Swagger file contains a servers array, the first server URL will be used as the base URL - If the Swagger file defines security schemes, they will be used for authentication - The config file settings serve as fallbacks when not specified i","default_branch":null,"files":null,"tree":[],"storefront":"/r/dcolley","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dcolley/swagger-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}