Skip to content

Basic Usage

Learn the basic commands and usage of gm-mcp.

Common Commands

Create Project

bash
# Interactive creation
gm-mcp init my-project

# Quick creation
gm-mcp init my-project --yes

View Help

bash
gm-mcp --help
gm-mcp help

View Version

bash
gm-mcp --version
gm-mcp version

Template Selection

Basic Template

bash
gm-mcp init my-project --template basic

Suitable for learning and daily development.

Advanced Template

bash
gm-mcp init my-project --template advanced

Suitable for production environments and complex projects.

Minimal Template

bash
gm-mcp init my-project --template minimal

Suitable for rapid prototyping and simple projects.

Project Development

Development workflow after creating a project:

bash
cd my-project
npm install
npm run dev

Next Steps

Released under the MIT License