Skip to content

Template Overview

gm-mcp provides three different project templates, each optimized for different use cases.

Template Comparison

FeatureBasic TemplateAdvanced TemplateMinimal Template
ComplexityMediumHighLow
File Count~15 files~25 files~8 files
DependenciesMediumManyFew
Learning CurveGentleSteepGentle
Use CaseLearning & DevelopmentProductionRapid 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 basic

Advanced 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 advanced

Minimal 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 minimal

How 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

Released under the MIT License