
MCP Generator
by christopherdond
Automate MCP server creation by transforming OpenAPI v3 specs into ready-to-use TypeScript or Python projects.
What it does
MCP Generator is a developer tool that bridges the gap between standard API documentation and the Model Context Protocol. It allows developers to instantly turn any OpenAPI v3 specification (JSON or YAML) into a fully scaffolded MCP server, mapping API routes directly to AI-callable tools.
Tools
generate: Transforms an OpenAPI spec into a TypeScript or Python project structure.validate: Verifies that a provided OpenAPI spec is compatible with the generator.init: Downloads and initializes projects from a built-in registry of popular APIs (e.g., Stripe, GitHub, Slack).watch: Monitors a spec file or URL and automatically regenerates the server on changes.
Installation
To generate a server, install the CLI and run:
npm install -g mcp-gen
mcp-gen generate -i spec.yaml -l typescript -o ./my-server
To connect the generated server to Claude Desktop, add this to your config:
{
"mcpServers": {
"my-server": {
"command": "node",
"args": ["/absolute/path/to/my-server/dist/server.js"]
}
}
}
Supported hosts
Confirmed for Claude Desktop. Generated projects can be used across any MCP-compatible client.
Quick install
npm install -g mcp-genInformation
- Pricing
- free
- Published
- 5/11/2026





