OpenAPI Proxy

•
1
•

Automatically converts any OpenAPI 3.x specification into a fully functional Model Context Protocol server for AI agents.

mcp-openapi-proxy is a Go-based tool that bridges the gap between traditional REST APIs and modern AI agents. By simply pointing it to an OpenAPI 3.x specification, it automatically transforms every documented endpoint into a ready-to-use MCP tool. This eliminates the need for manual tool definition, boilerplate code, and ongoing maintenance, allowing AI agents like Claude Code, OpenAI Codex, and Gemini CLI to interact with complex APIs seamlessly and dynamically. It supports both local and remote specs, various authentication methods including OIDC PKCE, and ensures compatibility via stdio transport.

主要功能

01Includes OIDC PKCE and static token authentication
02Supports OpenAPI 3.x specifications (local files or remote URLs)
03Compatible with AI agents via stdio transport
04Configurable tool prefixes to avoid name collisions
05Automatically generates MCP tools, one per API endpoint
060 GitHub stars

使用案例

01Integrate existing REST APIs with AI agents without writing manual tool definitions
02Automate AI agent interaction with complex APIs documented by OpenAPI specs
03Run multiple API proxies side-by-side with distinct tool prefixes