Open Source Tool mcpgen: Turn OpenAPI Specs into MCP Servers

Pale-Sugar-1330 · reddit · 2026-07-06

mcpgen is a newly released open-source CLI tool that instantly converts any OpenAPI specification (JSON/YAML/URL) or Postman collection into a fully functional, runnable Python MCP server. Instead of generating a proxy layer, it outputs actual source code that users can freely read, modify, and deploy without runtime dependencies. The tool automatically detects authentication methods, supports OpenAPI 3.x formats, and outputs a ready-to-use Claude Desktop configuration block upon completion. The project is now available on GitHub and PyPI.

Original post →

More from coding & agent

coding & agent channel →