The daster command
Commands for connections, MCP tools, website deploys and AI tool setup, with their flags and exit codes.
Last updated
Run daster help for the short usage text. Every command that talks to DASTER uses a profile created with daster login (see Install and sign in). Add --profile NAME to use one other than default.
Commands
| Command | What it does |
|---|---|
daster login [--write] [--open] [--profile NAME] [--console URL] | Connect this machine to one project and environment |
daster list | Show saved profiles, their project and scopes |
daster diagnose | Check sign-in discovery, the access token and the MCP link |
daster tools | List the MCP tools this connection may call |
daster call <tool> [--args JSON] | Call one MCP tool and print its answer |
daster deploy [FOLDER|FILE.zip] [--name NAME | --app ID] [--no-wait] | Put a website on DASTER Hosting |
daster setup <vscode|cursor|claude-code|codex> [--stdio] [--write] | Print or write an AI tool's MCP configuration |
daster mcp | Run a local stdio bridge to the hosted MCP server |
daster logout | Revoke the connection and forget the profile |
daster --version | Print the version |
Exit codes
| Code | Meaning |
|---|---|
0 | Done |
1 | DASTER refused the request, or the command failed |
2 | A person has to approve the request in the Dashboard first |
64 | Unknown command or flag |
Check a connection
daster diagnoseThe command prints one ok or FAIL line per check: OAuth discovery, the access token (renewed if needed), and the MCP connection with the number of tools and the connected project. It exits with 1 if any check fails.
Call a tool
daster tools prints one line per tool: its name, read or write, and a description. A connection made without --write lists only the read tools.
daster call project_overview
daster call app_status --args '{"appId":"<app id>"}'--args must be a JSON object. When the tool needs a person's approval, the command prints the answer, then "Human approval required: approve it in DASTER (Developer access › Approvals), then rerun with the same --args plus "approvalId"." and exits with 2. Approve the request once in the Dashboard and run the same call again with "approvalId" added to --args.
Deploy a website
Deploys need a connection made with daster login --write.
daster deploy ./site --name my-site
daster deploy ./site --app <app id>The first form creates a website. The name comes from --name, or from the folder name, turned into lowercase letters, digits and hyphens (at most 40 characters). The second form deploys a new version of an existing website.
What happens:
- The command zips the folder. It leaves out
.git,node_modules,.envfiles (.env.exampleis kept),.pem,.key,.p12and.pfxfiles,.aws,.sshand symbolic links. The archive may be at most 100 MB. You can also pass a.zipfile you made yourself. - A folder with an
index.htmland nopackage.jsonorDockerfileis a plain site. The command places it inpublic/, which Hosting serves. - The archive is uploaded through a one-use link and DASTER detects the framework and build settings.
- Hosting charges your wallet, so DASTER asks for approval. The command prints "Approve this in DASTER (it charges your wallet):" with the address of Developer access › Approvals, and waits up to 15 minutes. Choose Approve once there.
- The command prints
Deploying <app id> (deployment <deployment id>).and two follow-up commands:daster call app_statusfor the status anddaster call database_connect_appto give the website a database.
With --no-wait, the command stops after printing the approval address and a daster deploy --upload … --commit … --approval … command to run once you have approved, and exits with 2.
See Deploy from GitHub for deploys from a repository instead of a folder.
Errors you may see
| Message | What to do |
|---|---|
| No DASTER connection "default". Run: daster login | Sign in, or pass the right --profile |
| This connection lacks permission for that tool. Reconnect with: daster login --write | The connection is read-only |
| This connection was revoked or is no longer authorized. Run: daster login | It was disconnected, or you lost access to the project |
| Cannot reach DASTER at … (network) | Check your network, or the address set with --console or DASTER_CONSOLE_URL |