Python gateway that turns any OpenAPI/Swagger spec or FastAPI app into a Model Context Protocol (MCP) server. Multi-spec, per-user OAuth2, route-level @mcp_tool decorator, dynamic meta-tools.
openapiswaggermcp-servergatewayfastapipythonapi-gatewayoauth2tool
Installation & Configuration
{
"mcpServers": {
"openapi-gateway": {
"command": "uvx",
"args": [
"openapi-mcp-gateway",
"--spec",
"https://petstore3.swagger.io/api/v3/openapi.json",
"--transport",
"stdio"
]
}
}
}Information
Transport
stdiossestreamable-http
Language
Python
Created
2026/4/18
Updated
2026/9/4