Scaffold new MCP App projects with one command.
# Interactive mode
npm create @modelcontextprotocol/mcp-app
# With project name
npm create @modelcontextprotocol/mcp-app my-app
# With framework
npm create @modelcontextprotocol/mcp-app my-app --framework react- react - React + Vite + TypeScript
- vanillajs - Vanilla JavaScript + Vite + TypeScript
Each generated project includes:
- MCP server with a sample tool
- Interactive UI that communicates with the host
- Vite build configuration for bundling the UI
- TypeScript configuration
- Development server with hot reload
After creating your project:
cd my-app
npm run devMIT