Create MCP App

Bootstrap Model Context Protocol (MCP) servers and clients in TypeScript with best practices, examples, and proper tooling setup.

create-mcp-app

Generate Model Context Protocol (MCP) servers in TypeScript.

Usage

npm create mcp-app [project-name]

Creates MCP server with:

  • Calculator, Weather, or Filesystem examples
  • Professional TypeScript structure
  • Claude Desktop integration

Generated Structure

project/
├── src/
│   ├── index.ts
│   ├── tools/
│   ├── schemas/
│   └── handlers/
├── package.json
├── tsconfig.json
└── claude_desktop_config.json

Development

npm install
npm run build
npm start

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "project-name": {
      "command": "node",
      "args": ["path/to/project/dist/index.js"]
    }
  }
}

Related Servers