Skip to main content
The hookfish package provides the project initializer, packaged dashboard, MCP inspector, and local migration command. Run it through your package manager without a global installation.

Scaffold a project

The default backend is node. The target directory must be empty, and its name must be a lowercase npm-compatible name.

Serve the dashboard

hookfish dev is an alias. The command serves the packaged static dashboard and proxies /api to the backend so browser requests remain same-origin. Generated projects already combine this command with their runtime-native development server under pnpm dev.

Run the MCP inspector

hookfish inspector is an alias. Set INSPECTOR_PORT to override port 3000. See MCP inspector for storage and authentication behavior.

Run local migrations

This command applies bundled migrations to the selected local PGlite directory. Generated projects already apply PGlite migrations lazily on first use, so an explicit local migration is normally unnecessary. For production PostgreSQL, call migrateDatabase from a trusted deployment job as described in Databases and migrations. Experimental Durable Object databases apply their SQLite schema when each object starts.