Transform any OpenAPI specification into a production-ready Model Context Protocol (MCP) server. Instantly make your REST APIs available to AI agents like Claude and GPT-4 with zero manual coding.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"api-to-mcp-generator","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# API-to-MCP Generator [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MPL-2.0) [](https://github.com/itssri5/openapi-to-mcp/actions) [](https://badge.fury.io/py/api-to-mcp-generator) **Transform any OpenAPI specification into a production-ready MCP (Model Context Protocol) server with zero manual coding.** A powerful Python library that automatically converts OpenAPI v2/v3 specifications into complete, runnable MCP servers that AI agents can consume. Features FastAPI integration, SSRF protection, structured logging, and comprehensive testing. ## 🎯 What is MCP? The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) is an open standard that enables AI assistants to securely connect to data sources and tools. By converting your existing APIs to MCP format, you make them instantly available to AI agents like Claude, GPT-4, and other MCP-compatible systems. ## 🚀 Key Features ### **Universal API Support** - **Any OpenAPI 3.x API** - GitHub, Stripe, Petstore, your custom APIs - **Multiple Formats** - JSON and YAML specifications - **Local & Remote** - Load specs from URLs or local files - **Real-time Conversion** - Dynamic API-to-MCP transformation ### **Complete MCP Implementation** - **🛠️ MCP Tools** - Convert API endpoints to callable functions - **📦 MCP Resources** - Transform GET endpoints and schemas to readable resources - **🔧 Server Generation** - Generate complete, runnable MCP server packages - **⚡ FastAPI Integration** - Drop-in integration for existing applications ### **Production Ready** - **🔒 SSRF Protection** - Built-in security with domain whitelisting - **📊 Structured Logging** - Comprehensive logging with `structlog` -…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.