mroops0111/openapi-mcp-gateway
by Various
Python gateway that turns any OpenAPI/Swagger spec or FastAPI app into a Model Context Protocol (MCP) server. Multi-spec in one process, per-user OAuth2 with token relay, route-lev
MCP
mroops0111/openapi-mcp-gateway
Added 15 June 2026
Overview
A Python gateway that converts any OpenAPI/Swagger spec or FastAPI app into a Model Context Protocol (MCP) server. It supports multiple specs in a single process, per-user OAuth2 with token relay, a route-level @mcptool decorator, and dynamic meta-tools for large APIs. Compatible with Claude Desktop, Cursor, Cline, and Codex.
Best for
Best for
Developers who need to quickly turn existing OpenAPI or FastAPI services into MCP servers for AI tool integration
Use cases
- Expose existing REST APIs as MCP tools for AI assistants
- Integrate multiple OpenAPI specs into one MCP server for unified access
- Add OAuth2 authentication to MCP tool calls with token relay
Notes
A Python gateway that converts any OpenAPI/Swagger spec or FastAPI app into a Model Context Protocol (MCP) server. It supports multiple specs in a single process, per-user OAuth2 with token relay, a route-level @mcptool decorator, and dynamic meta-tools for large APIs. Compatible with Claude Desktop, Cursor, Cline, and Codex.
1 stars on GitHub. Last updated 2026-06-14. Licensed MIT.
Use cases
- Expose existing REST APIs as MCP tools for AI assistants
- Integrate multiple OpenAPI specs into one MCP server for unified access
- Add OAuth2 authentication to MCP tool calls with token relay
Pros
- Supports multiple API specs in a single process for efficiency
- Provides per-user OAuth2 with token relay for secure access
- Includes dynamic meta-tools to handle large APIs without manual configuration
Cons
- Limited community adoption with only 1 star on GitHub
- Requires Python environment and dependency management
- OAuth2 setup may add complexity for simple use cases
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Supports multiple API specs in a single process for efficiency
- Provides per-user OAuth2 with token relay for secure access
- Includes dynamic meta-tools to handle large APIs without manual configuration
Cons
- Limited community adoption with only 1 star on GitHub
- Requires Python environment and dependency management
- OAuth2 setup may add complexity for simple use cases
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.