mcpgen MCP Server

Point mcpgen at an OpenAPI spec or Postman collection. Get back a complete Python MCP server you own — no runtime dependency on mcpgen, no proxy, no lock-in. Read it. Modify it. Ship it.

Local serverstdio

What is the mcpgen MCP Server?

mcpgen is an MCP project maintained in the jnanasrota/mcpgen repository. The maintainer describes its purpose as “Point mcpgen at an OpenAPI spec or Postman collection. Get back a complete Python MCP server you own — no runtime dependency on mcpgen, no…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares STRIPE_API_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcpgen MCP Server

{
  "mcpServers": {
    "stripe-api-mcp": {
      "command": "python",
      "args": [
        "/path/to/stripe_api_mcp/server.py"
      ],
      "env": {
        "STRIPE_API_TOKEN": "YOUR_STRIPE_API_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
STRIPE_API_TOKENDeclared in the maintainer’s client configuration.Check documentation