---
title: "Pi + Ample: deploy apps from Pi"
description: "Set up the Pi coding agent to deploy apps to Ample: connect the MCP server, sign in, and add the skills."
canonical_url: "https://ample.computer/agents/pi"
last_updated: "2026-11-01"
author: "Ample Computer"
---

# Pi + Ample: deploy apps from Pi

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

## The short version

To let Pi 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 Pi can fix it.

## Set up Pi for Ample

1. **Install Pi.**

   ```sh
   curl -fsSL https://pi.dev/install.sh | sh
   ```

2. **Connect Pi to Ample's MCP server.** Add `-l` to write the server to this project only.

   ```sh
   pi mcp add ample --url https://api.ample.computer/mcp
   ```

3. **Sign in.** This opens Ample's sign-in page in your browser. Ample asks for your email and sends a 6-digit code; a new email gets a Free account. Then approve the connection.

   ```sh
   pi mcp login ample
   ```

4. **Add the Ample skills (optional).** Three skills teach Pi when and how to deploy, connect services and migrate. Remove the directories to uninstall.

   ```sh
   curl -fsSL https://ample.computer/skills.sh | sh -s -- .agents/skills
   ```

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.

   ```text
   Deploy this app to Ample and give me the URL.
   ```

## Example prompts

- 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.

## Sources

- https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/mcp.md
- https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/skills.md
- https://pi.dev/docs/latest
