OpenAPI Proxy
Transforms any OpenAPI specification into a fully functional MCP server, providing a versatile interface for external APIs.
The OpenAPI Proxy project enables users to effortlessly transform any OpenAPI specification into a comprehensive MCP server. By building on FastMCP, it provides a robust, configurable runtime that supports various authentication methods, including bearer tokens, API keys, and basic auth. Its modular design allows for clear separation of concerns, offering extensible defaults for base URLs, headers, and authentication schemes, all while leveraging an asynchronous HTTP client for efficient communication with upstream platforms.
主要功能
01Async HTTP client factory with configurable timeouts, retries, and default headers.
02Modular core for configuration, spec loading, authentication, HTTP client creation, and server orchestration.
03Configurable runtime merging command-line flags, environment variables, and config files.
04Extensible authentication with built-in support for bearer tokens, API keys, custom headers, and basic auth.
05Extensible defaults for base URLs, headers, and authentication schemes without modifying core runtime.
060 GitHub stars
使用案例
01Embed a fully functional MCP server directly within a Python project.
02Serve any OpenAPI specification as an MCP server from the command line.
03Integrate external APIs defined by OpenAPI into desktop applications using MCP.