MCP Server

OpenAPI MCP Gateway

Turns OpenAPI specs or FastAPI apps into MCP servers with multi-spec auth support.

32d ago
Source

Install

uvx
uv add openapi-mcp-gateway

Add this to your Claude Code MCP settings or run via the CLI.

About

OpenAPI MCP Gateway mounts one or more OpenAPI/Swagger specs as Model Context Protocol servers. It can also expose existing FastAPI apps in-process through the same MCP interface. The gateway supports multiple APIs in one process, with separate mount paths and auth settings for bearer tokens, API keys, and OAuth2. It can run over stdio, SSE, or streamable HTTP for use with Claude Desktop and other MCP clients. It includes dynamic operation exposure, resource auto-promotion for eligible GET endpoints, and server-side OAuth handling with per-user or client-credentials flows. The README also shows YAML-based multi-server configuration and environment-variable substitution.

Tags

mcpopenapiswaggeroauth2fastapiclaude