Template Overview
gm-mcp provides three different project templates, each optimized for different use cases.
Template Comparison
| Feature | Basic Template | Advanced Template | Minimal Template |
|---|---|---|---|
| Complexity | Medium | High | Low |
| File Count | ~15 files | ~25 files | ~8 files |
| Dependencies | Medium | Many | Few |
| Learning Curve | Gentle | Steep | Gentle |
| Use Case | Learning & Development | Production | Rapid Prototyping |
Basic Template
Recommended for: Learning and daily development
Features
- ✅ Basic MCP server structure
- ✅ TypeScript configuration
- ✅ Jest testing framework
- ✅ ESLint code checking
- ✅ Example tools (hello, calculator)
Create Command
bash
gm-mcp init my-project --template basicAdvanced Template
Recommended for: Production environments and complex projects
Features
- ✅ Complete project architecture
- ✅ Winston logging system
- ✅ Configuration management
- ✅ Tool registry
- ✅ Joi input validation
- ✅ More example tools (file management, weather, database)
Create Command
bash
gm-mcp init my-project --template advancedMinimal Template
Recommended for: Rapid prototyping and simple projects
Features
- ✅ Minimal MCP server
- ✅ Single hello tool
- ✅ Minimal dependencies
Create Command
bash
gm-mcp init my-project --template minimalHow to Choose a Template?
Choose Basic Template if you:
- Are starting to learn MCP
- Need a complete development toolchain
- Want a balanced starting point
Choose Advanced Template if you:
- Are building production applications
- Need complex architecture
- Need logging and configuration management
- Are working in a team
Choose Minimal Template if you:
- Want to quickly validate ideas
- Are building simple tools
- Want to learn MCP basics
- Want to minimize dependencies
Next Steps
- Basic Template Details - Learn about basic template details
- Advanced Template Details - Learn about advanced template details
- Minimal Template Details - Learn about minimal template details
- API Reference - View all available commands