create-mcp-project
v1.0.0
Published
Create a new MCP (Model Context Protocol) application
Maintainers
Readme
create-mcp-app
Create a new MCP (Model Context Protocol) application with a single command.
Usage
# Using npx
npx create-mcp-app my-app
# Using yarn
yarn create mcp-app my-app
# Using npm
npm create mcp-app my-appWhat it creates
This tool creates a new MCP server with:
- ✅ Basic MCP server setup with proper protocol implementation
- ✅ Example "hello" tool to get you started
- ✅ Package.json with MCP SDK dependency
- ✅ Development scripts (start, dev)
- ✅ README with usage instructions
- ✅ .gitignore file
Features
- Interactive setup with prompts for project name, description, and author
- Template-based file generation
- Proper MCP protocol implementation
- Ready-to-run example server
- Development-friendly setup
Generated Project Structure
my-mcp-app/
├── package.json # Project configuration
├── index.js # Main MCP server file
├── README.md # Project documentation
└── .gitignore # Git ignore rulesGetting Started with Your New MCP App
After creating your app:
cd my-mcp-app
yarn install
yarn startDevelopment
For development with auto-reload:
yarn devCustomization
Edit the generated index.js file to add your own tools and functionality. The template includes a simple "hello" tool as an example.
Resources
License
MIT
