drivethrough-cli
v0.1.24
Published
Agent-first hosting CLI. Say what you want. Stay in the car.
Maintainers
Readme
Drivethrough
Agent-first hosting. Say what you want. Stay in the car.
If you're an AI agent (or setting one up), start here:
npx drivethrough-cli agent-setupThat writes a SKILL.md and AGENTS.md teaching your agent the full workflow,
and prints the MCP config snippet for MCP-capable clients.
Quick start
npx drivethrough-cli login # device flow — approve in the browser
npx drivethrough-cli deploy . # deploys ./dist if present, else the directorySites are private by default. Share one with a guest link:
npx drivethrough-cli share my-siteMCP server
Run the stdio MCP server for agent tooling:
{
"mcpServers": {
"drivethrough": { "command": "npx", "args": ["-y", "drivethrough-cli", "mcp"] }
}
}No local shell (claude.ai chat, mobile)? Use the hosted server instead:
https://mcp.drivethrough.dev/mcp (OAuth, approved once in the browser).
Agent-friendly by design
- Every command supports
--json(machine-readable, non-interactive). - Commands are idempotent — re-running a deploy ships a new version, re-running login on a logged-in machine succeeds quietly.
- Errors are structured with a
code, a humanmessage, and anextstep so agents can self-correct.
Declare site behavior (forms, RSVPs, leads) in a drivethrough.json at the
project root — the platform provisions the database and owns the write path.
Run npx drivethrough-cli agent-setup --skill for the full guide.
Links
- Dashboard: https://drivethrough.dev
- Installed commands are
drivethroughanddt(the npm package isdrivethrough-cli; the plain name was taken).
