Scaffold production-ready MCP servers in seconds.
npx create-mcp@latest- TypeScript & Python — Official SDK support for both languages
- stdio & Streamable HTTP — Local dev tools or remote deployed servers
- Auth scaffolding — OAuth 2.1 and API Key middleware out of the box
- Deployment configs — Docker, Cloudflare Workers, AWS Lambda
- Working tests — Generated projects include tests that pass immediately
- MCP Inspector —
npm run inspectto test your server interactively - Registry-ready — Includes
mcp.jsonmanifest for the MCP Registry
npx create-mcp@latestThe wizard will ask for:
- Project name
- Language (TypeScript / Python)
- Transport (stdio / Streamable HTTP)
- Authentication (None / OAuth 2.1 / API Key)
- Deployment target (None / Docker / Cloudflare Workers / AWS Lambda)
- Features (Tools / Resources / Prompts / Sampling)
npx create-mcp@latest my-server --lang typescript --transport stdio --features tools,resources -y| Flag | Values | Default |
|---|---|---|
--lang |
typescript, python |
typescript |
--transport |
stdio, http |
stdio |
--auth |
none, oauth, apikey |
none |
--deploy |
none, docker, cloudflare, lambda |
none |
--features |
Comma-separated: tools, resources, prompts, sampling |
tools |
-y, --yes |
Accept all defaults | — |
A TypeScript + stdio project with tools generates:
my-server/
├── src/
│ ├── index.ts # Server entry point
│ └── tools/
│ └── index.ts # Example tools (hello, get-time)
├── tests/
│ └── tools.test.ts # Working tests
├── package.json
├── tsconfig.json
├── mcp.json # MCP Registry manifest
├── README.md
├── .gitignore
└── .env.example
After generation:
cd my-server
npm install
npm run dev # Start the server
npm run inspect # Test with MCP Inspector
npm test # Run testsMIT