Status: [LIVE] Endpoints found: https://badge.fury.io/py/openapi-mcp-proxy.svg)](https://pypi.org/project/openapi-mcp-proxy Source: https://github.com/gujord/OpenAPI-MCP # OpenAPI to Model Context Protocol (MCP) [![PyPI version](https://badge.fury.io/py/openapi-mcp-proxy.svg)](https://pypi.org/project/openapi-mcp-proxy/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/gujord/OpenAPI-MCP/blob/main/LICENSE) ![Python version](https://img.shields.io/badge/Python-3.10+-blue) OpenAPI-MCP exposes operations from an OpenAPI document as MCP tools. It also provides schema resources, a usage prompt, and request previews. The server uses FastMCP for MCP transport and tool registration. ![OpenAPI-MCP](https://raw.githubusercontent.com/gujord/OpenAPI-MCP/main/img/Open-API-MCP-relations.png) **Release candidate: `2.0.0rc1`.** This candidate targets FastMCP 4.1.6 and MCP Python SDK 2.3.0, with compatible minor updates allowed. Version 1.0.4 does not contain these fixes. Read the [upgrade guide](https://github.com/gujord/OpenAPI-MCP/blob/main/docs/UPGRADING-2.md) before upgrading an existing installation. See the [review and validation record](https://github.com/gujord/OpenAPI-MCP/blob/main/docs/reviews/2026-11-05-security-and-compatibility.md) for tested versions, findings, and remaining work. ## Install and run Python 3.10 or later is required. Install the candidate explicitly: ```bash pip install 'openapi-mcp-proxy==2.0.0rc1' ``` To use this checkout: ```bash python -m venv .venv source .venv/bin/activate pip install -e . OPENAPI_URL="./test/fixtures/petstore.json" \ MCP_ALLOWED_OPERATIONS='["GET /pets"]' \ SERVER_NAME="petstore" openapi-mcp ``` The default transport is **stdio**. A client launches the process and communicates through its standard input and output. `OPENAPI_URL` accepts a local JSON/YAML file or an HTTP(S) URL. Use specifications and API endpoints you trust. A stdio client configuration can use the installed executable: ```json { "mcpServers": { "petstore": { "command": "/absolute/path/to/.venv/bin/openapi-mcp", "env": { "OPENAPI_URL": "/absolute/path