VS Code + Ample: deploy apps from GitHub Copilot agent mode

Set up VS Code agent mode with GitHub Copilot to deploy apps to Ample: connect the MCP server, sign in, and add the skills.

Read as Markdown

# the short version

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

Set up VS Code for Ample

  1. 1

    Connect VS Code to Ample's MCP server. Add to VS Code installs it in your user profile, as does this command. For one workspace, add it to .vscode/mcp.json under servers instead.

    Add to VS Code

    sh
    $ code --add-mcp '{"name":"ample","type":"http","url":"https://api.ample.computer/mcp"}'
  2. 2

    Sign in. VS Code asks you to sign in the first time Copilot starts the server; your browser opens Ample's sign-in page. Ample asks for your email and sends a 6-digit code; a new email gets a Free account. Then approve the connection.

  3. 3

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

    sh
    $ curl -fsSL https://amplecomputer.co/skills.sh | sh -s -- .agents/skills
  4. 4

    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

Say any of these to VS Code. 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

  • Install VS Code from https://code.visualstudio.com/download and sign in to GitHub Copilot from the Status Bar.

  • VS Code reads AGENTS.md at the repository root and .github/copilot-instructions.md.

Sources

  • https://code.visualstudio.com/docs/copilot/customization/mcp-servers

  • https://code.visualstudio.com/docs/copilot/customization/agent-skills

  • https://code.visualstudio.com/docs/copilot/setup

Using something else?