I built mcpgen — turn any OpenAPI spec into a working MCP server in one command.
I built mcpgen — turn any OpenAPI spec into a working MCP server in one command.

I built mcpgen — turn any OpenAPI spec into a working MCP server in one command.

pip install mcpgen-cli

mcpgen https://petstore3.swagger.io/api/v3/openapi.json

Generates a complete Python MCP server you own. Not a proxy — actual source code you can read, modify, and deploy anywhere. No runtime dependency on mcpgen.

Supports OpenAPI 3.x (JSON/YAML/URL) and Postman collections. Auth auto-detected. Prints your Claude Desktop config block at the end.

GitHub: https://github.com/JnanaSrota/mcpgen

PyPI: https://pypi.org/project/mcpgen-cli/

submitted by /u/Pale-Sugar-1330
[link] [comments]