Deploy from Claude Code or Cursor with MCP

Let Claude Code or Cursor deploy your app to DASTER through MCP: allow deploys for one project, approve each charge once, then read the status and logs.

Published · DASTER

Last updated

To deploy an app from Claude Code or Cursor, add DASTER's MCP server https://app.daster.io/mcp, approve one project with Upload, deploy websites and connect databases ticked, and ask the tool to deploy. It uploads your code, creates or updates the website, and waits while you choose Approve once in the Dashboard. Then it can read the status and logs.

Your AI coding tool already writes and edits the code. With DASTER's MCP server it can also put that code live, while you keep the final say over anything that costs money. This post covers the deploy itself; the first post on connecting Claude Code or Cursor explains the connection in more detail.

  1. Add DASTER to your tool

    In Claude Code, run this in your project folder, then type /mcp, choose daster and Authenticate:

    Terminal
    claude mcp add --transport http daster https://app.daster.io/mcp

    In Cursor, let the daster command write .cursor/mcp.json (it keeps your other servers), then open Cursor Settings › MCP and choose Connect next to daster:

    Terminal
    npx @dasterhq/daster setup cursor --write
  2. Allow deploys for one project

    The tool opens the DASTER page in your browser. Choose the Organization, Project and Environment, tick Upload, deploy websites and connect databases, and choose Allow. Without the tick, the connection can only read.

    A connection always covers one project and one environment. Only organization Owners and Admins can allow changes outside Development.

  3. Ask the tool to deploy

    Ask in plain words, for example "deploy this folder to DASTER as a new website" or "deploy the latest version of my web service". These are the tools it works with:

    ToolWhat it does
    hosting_upload_files, hosting_upload_linkUpload a site's files, or get a one-use link for a .zip of up to 100 MB
    app_createCreate a website on Hosting
    app_deployDeploy a new version
    app_statusRead a website's state, address and deployments
    app_build_logs, app_runtime_logsRead the build and runtime logs

    DASTER detects how to build and run the upload, the same way as for a repository. It runs Node and npm servers, static build output served by Node, and restricted Dockerfiles.

  4. Approve the charge once

    app_create and app_deploy can charge your wallet, so they do not run straight away. The tool receives approval_required with an approvalId. Open Developer access › Approvals in the Dashboard, check the tool, the request and when it expires, and choose Approve once or Deny. Approving needs a sign-in within the last 10 minutes.

    The tool then repeats the same call with the approvalId. An approval covers exactly that request, once. Reads never need one.

  5. Check the result

    Ask the tool for the status. app_status gives the website's state and its address, https://<app id>.apps.daster.io. If the build failed, app_build_logs shows why, and the tool can fix the code and deploy again, with a new approval.

  6. Add a database if the app needs one

    The tool can also create a PostgreSQL, MySQL-compatible or MongoDB-compatible database with database_create, and give the website its settings with database_connect_app: DATABASE_URL, DASTER_URL and DASTER_SERVER_KEY. Both wait for your approval, like a deploy.

Can I deploy from the terminal instead?

Yes. The same connection works from the daster command. Sign in with changes allowed, then deploy a folder or a .zip you made:

Terminal
daster login --write
daster deploy ./site --name my-site

The command zips the folder without .git, node_modules and .env files, uploads it, prints the address of Developer access › Approvals and waits up to 15 minutes for you to approve. daster deploy ./site --app <app id> deploys a new version of an existing website. See The daster command.

What can the tool not do?

The MCP server cannot delete anything, send email, change domains or change your team. Every call that can charge your wallet and every change outside Development waits for a person. Hosting is billed from your wallet; prices are not final, and the pricing page explains how billing works.

The step-by-step guide is Deploy and manage DASTER from your AI tool with MCP, and the full reference is Connect an AI tool (MCP).

DASTER is in testing and sign-up is waitlist-only. Join the waitlist and you get access 20 days after you join.

Questions about deploying from an AI tool

Can Claude Code deploy without asking me?

No. Creating or deploying a website can charge your wallet, so each such call waits in Developer access › Approvals until you choose Approve once. Reads, such as status and logs, run without an approval.

Which AI tools can deploy to DASTER?

Tools that run on your computer: Claude Code, Cursor, VS Code with GitHub Copilot and the OpenAI Codex CLI. Tools that sign in from their vendor's servers can connect only once DASTER accepts that vendor's sign-in address.

How large can the upload be?

A .zip of up to 100 MB. node_modules, .git and .env files are left out, and DASTER refuses links, paths outside the folder and damaged archives.

Can the tool deploy to Production?

Only on a connection where an organization Owner or Admin allowed changes outside Development, with a recent sign-in, and each change there still waits for an approval. Owners and admins can also use Promote to Production in the Dashboard.

How do I stop the tool from deploying?

Open Developer access › Connections and choose Disconnect, or connect again without changes allowed for read-only access.

Next steps