Skip to content

Docs

Deploying with ClouDAWG

ClouDAWG is in a free, invite-only beta. These docs describe the service as it opens, and details may change. You need an invitation to sign in.

Connect your agent

Add https://mcp.cloudawg.com as a remote MCP server in Claude, or any agent that speaks MCP. There’s nothing to install.

  1. The agent finds our sign-in by itself, the way MCP’s authorization spec describes.
  2. You sign in on the console with your password, your authenticator code and a quick bot check.
  3. A consent page names the agent and what it asks to do. You approve it there.

You can see every connected agent in the console, with what it may do and when it was last used, and disconnect it at any time. Your agent’s token stops at mcp.cloudawg.com and never goes further.

What your agent may do

ScopeAllowsOn the consent page
apps:readSee your apps, their deploys and findings, and their logs.Asked for
apps:deployUpload code, deploy, redeploy, roll back, resize, and set or remove settings.Asked for
apps:deleteDelete an app.Off unless you tick it

An agent connected to ClouDAWG can only work with your apps: never billing, your account’s people, or anything else.

What your app needs

  • It listens on $PORT (8080) and answers on /, or on the health path you give.
  • It logs to standard output.
  • It writes only to /data and /tmp. /data is kept across redeploys, up to 1 GiB.
  • It reads its settings from environment variables.
  • It’s a web app or an API: HTTP, HTTPS and WebSockets. No other ports, background workers or databases beyond SQLite on /data.

Deploying

The source is a public Git URL and ref, or an upload for private code, up to 200 MB and 20,000 files. With a Dockerfile, we build that; without one, we try to work out the build, and if we can’t, the finding asks your agent to add a Dockerfile. A build has 10 minutes.

Deploys are asynchronous: deploy_app returns a deploy ID at once, and your agent follows it with get_app_deploy. The stages run in order, and the first that blocks ends the deploy:

  1. 01Fetch. Gets the code from a public Git repository or your upload, in a sandbox.
  2. 02Static checks. Before anything runs: leaked secrets, packages with known vulnerabilities, unsafe configuration, risky code and our acceptable use rules.
  3. 03Build. Builds your Dockerfile, or works out the build without one, in a fresh sandbox with a 10-minute limit.
  4. 04Image scan. Scans the built image for vulnerable system packages and secrets left in its layers.
  5. 05Trial run. Starts the app with its real limits and no public route, and checks it answers and behaves.
  6. 06AI review. A model reads the code for problems the scanners miss. It's switched on only once the provider keeps no copy of your code.

Then the app is live at https://<name>.dimirror.uk. A redeploy replaces the running version only once the new one passes, so a bad push never takes a working app down. Your own domain isn’t supported in the beta.

Findings

Every stage reports problems the same way, so your agent can fix them and deploy again by itself:

{
  "id": "f1",
  "check": "secrets",
  "severity": "block",
  "file": "app/config.py",
  "line": 12,
  "title": "An AWS access key is in the code",
  "fix": "Remove it, rotate the key, and set it with set_app_env instead."
}
  • block stops the deploy, warn goes live and is reported, and info is advice.
  • A secret’s value is never repeated in a finding or a log: only its kind, file and line.
  • Every night, live apps are scanned again against the newest vulnerability data, and new problems become findings.

The checks catch common problems; they don’t certify an app as secure.

The tools

ToolWhat it does
list_apps, get_appYour apps: address, size, awake or asleep, the live deploy and this month's traffic.
create_uploadA one-time upload address for a .tar.gz of your code, up to 200 MB, for private repositories. We never hold your Git token.
deploy_appStarts a deploy from a name and a source, with an optional size, port, health path and settings. Returns a deploy ID at once.
get_app_deployA deploy's stage, timings and findings.
app_logsThe app's recent output, kept 7 days and up to 50 MB.
set_app_env, unset_app_envSettings and secrets. Values are stored encrypted and never shown again, only their names.
redeploy_app, rollback_appBuild the same source again, or go back to one of the last 3 images.
resize_appChange the size. The app restarts.
delete_appNeeds confirming. The name is held for 30 days, and /data is wiped after 7.

The beta's limits

  • 3 apps per account, each nano (256 MiB, 0.25 vCPU), micro (512 MiB), small (1 GiB, on request). Up to micro unless you ask.
  • 1 GiB of /data and 20 GB of outgoing traffic per app a month.
  • 20 deploys per account a day.
  • An app sleeps after 15 minutes without a request, and wakes on the next one.
  • A response must start within 100 seconds.
  • A request to your app can carry up to 100 MB, such as a file a visitor uploads. A deploy’s own code can be up to 200 MB.
No backups during the beta. /data isn’t backed up. Keep your own copy of anything you can’t lose.

Scripts and CI

For tools that can’t sign in through a browser, make a personal token in the console. It can only work with apps, lasts up to 90 days, and is shown once.