Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 786 Bytes

File metadata and controls

44 lines (29 loc) · 786 Bytes

@modelcontextprotocol/create-mcp-app

Scaffold new MCP App projects with one command.

Usage

# 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

Frameworks

  • react - React + Vite + TypeScript
  • vanillajs - Vanilla JavaScript + Vite + TypeScript

What's Included

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

Getting Started

After creating your project:

cd my-app
npm run dev

License

MIT