Complete reference for ModelFetch CLI tools including create-modelfetch and modelfetch commands.
The create-modelfetch
CLI scaffolds new MCP server projects with all necessary dependencies and configuration.
No installation required. Use directly with npx:
The command will:
The modelfetch
CLI provides development, build, and deployment commands for MCP servers.
Installed automatically with create-modelfetch
projects:
Command | Description | Usage |
---|---|---|
dev | Start development server with live reload | modelfetch dev |
build | Build for production | modelfetch build |
deploy | Deploy to ModelFetch platform | modelfetch deploy |
login | Authenticate with ModelFetch account | modelfetch login |
logout | Sign out of ModelFetch account | modelfetch logout |
modelfetch dev
Starts the development server with automatic recompilation and restart on file changes.
Features:
modelfetch build
Builds the MCP server for production deployment.
Output:
dist/index.js
- Minified production bundledist/index.js.map
- Source map for debuggingdist/__modelfetch__.js
- Runtime loadermodelfetch deploy
Deploys your MCP server to the ModelFetch platform.
modelfetch login
Authenticates with your ModelFetch account.
modelfetch logout
Signs out of your ModelFetch account.
Use the --help
flag with commands for detailed usage: