OpenAPI-Based MCP Server Generator Tool Launched
·2026.05.12 05:04
Key point
MCP Generator v2.0.0, an open-source tool that automatically generates MCP server scaffolds based on OpenAPI specifications, has been released.
Details
An open-source CLI tool that leverages OpenAPI (Swagger) specifications to quickly generate Model Context Protocol (MCP) servers.
Key Features and Improvements:
- Support for Python/FastMCP and Pydantic v2 targets
- Incremental generation: Regenerate server structure while preserving existing custom handler logic you've written
- Complex spec support: Handles complex OpenAPI structures such as
oneOf,anyOf, anddiscriminator - Built-in registry: Provides initial setup support for 10+ major APIs including Stripe, GitHub, Slack, and OpenAI
- Enhanced stability: Protects JSON-RPC streams via
stdoutisolation and resolves circular reference ($ref) issues
Use Cases:
- Connect REST APIs to AI agents like Claude in under 2 minutes
- Rapid prototyping and building of MCP servers for internal team APIs
The tool can be installed and used via npm and pip.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.