Snapwake

DocsDeploying

AI agents and Claude

Snapwake has an MCP server, so Claude and other AI agents can deploy and manage your apps. Ask in plain words: "deploy this folder to Snapwake", "why is my app failing?", "set DATABASE_URL and redeploy", "roll back shop". The agent builds and deploys, shows you the URL, reads the logs and fixes what broke.

Not published yet. The snapwake-mcp package and the connector address https://mcp.snapwake.app/mcp go live with the public beta. Until then this page describes how they will work.

Two ways to connect

Local server Connector
Use it in Claude Code, Claude Desktop, Cursor claude.ai on the web, desktop and phone; any client with remote MCP
Deploys a folder on your computer, a Docker image, or files the agent writes a Docker image, or files the agent writes in the chat
Sign-in through the console in your browser, or the token snapwake login saved through the console in your browser

Claude Code

Terminal
claude mcp add snapwake -- npx -y snapwake-mcp

The first time, Claude asks you to open a link and check a code, the same as snapwake login. If you have run snapwake login on this computer, the server uses that token and there is nothing to approve.

claude.ai

Settings → Connectors → Add custom connector. Name it Snapwake and use the URL https://mcp.snapwake.app/mcp. Connect opens a Snapwake page with a code. Open the console from it, check that the console shows the same code, and approve. Then turn the connector on in a chat.

Claude Desktop and Cursor

Add the local server to the client's MCP config (Claude Desktop: Settings → Developer → Edit Config; Cursor: .cursor/mcp.json):

JSON
{ "mcpServers": { "snapwake": { "command": "npx", "args": ["-y", "snapwake-mcp"] } } }

What the agent can do

Everything the CLI does: deploy (a folder, an image, or files it wrote), follow a build, read logs, call the app and time the answer, set and list secrets, redeploy, roll back, scale, set a health check, delete an app, and show this month's usage. A failed deploy comes back with the reason and the app's last log lines, and the previous version keeps serving.

The agent also gets a short guide to Snapwake when it connects: listen on PORT, keep data in a database or on a volume because files written at runtime are gone after sleep, and keep secrets out of the code.

Access and secrets

  • The agent acts as your organization, with an ordinary CLI token. It appears in the console under CLI tokens, named after the client, and revoking it there cuts the agent off within a minute.
  • No tool ever returns a secret's value, only names.
  • With the local server, env_file (for example .env.production) sends a file's values straight into the app's secrets: they never pass through the chat. Values you type in the chat, or the agent writes, do pass through it.
  • A folder is uploaded like snapwake deploy uploads it: no node_modules, .git, build output or .env* files, and .dockerignore is honoured.
  • Deleting an app needs its name typed again, and clients ask you before they run it.