# Zed + Ample: deploy apps from Zed

Set up the Zed agent to deploy apps to Ample: add the MCP server, sign in, and add the skills.

## the short version

To let Zed deploy to Ample, connect it to Ample's MCP server at https://api.ample.computer/mcp and sign in with your email (a 6-digit code, no password). Then ask it to deploy: Ample builds the app, returns a live HTTPS URL, and explains any failure so Zed can fix it.

## Set up Zed for Ample

1. 1

**Install Zed.**
   
   ```
   $ brew install --cask zed
   ```

2. 2

**Connect Zed to Ample's MCP server.** Add this to your settings file (`zed: open settings file`), or use Agent settings > Add Server > Add Remote Server.
   
   ```
   {
        "context_servers": {
          "ample": {
            "url": "https://api.ample.computer/mcp"
          }
        }
   }
   ```

3. 3

**Sign in.** Zed asks you to sign in when it connects to Ample. Ample asks for your email and sends a 6-digit code; a new email gets a Free account. Then approve the connection.

4. 4

**Add the Ample skills (optional).** Three skills teach Zed when and how to deploy, connect services and migrate. Remove the directories to uninstall.
   
   ```
   $ curl -fsSL https://ample.computer/skills.sh | sh -s -- .agents/skills
   ```

5. 5

**Ask it to deploy.** The deploy waits until the app is live or failed and returns the URL. On failure the result says who must act and suggests a fix.
   
   ```
   Deploy this app to Ample and give me the URL.
   ```

## Example prompts

Say any of these to Zed. Copy one and paste it in.

- “Deploy this app to Ample and give me the URL.”
- “Add a Postgres database to this app on Ample and redeploy.”
- “The Ample deploy failed. Read the logs, fix the cause and deploy again.”
- “Put the uploads in an Ample bucket and serve them from the CDN.”
- “Move this app from Heroku to Ample.”

## Notes

- On Linux install with `curl -f https://zed.dev/install.sh | sh`.
- External agents running inside Zed (Claude Code, Codex, OpenCode) use their own configuration; see their pages.

## Sources

- https://zed.dev/docs/ai/mcp
- https://zed.dev/docs/ai/skills
- https://zed.dev/docs/installation
