Skip to content
Provider · Deploy

Vercel — Ashlr Stack Provider

Vercel: Frontend platform. Stores a scoped access token for deploys + env sync. Wire it into your project with one command via Ashlr Stack.

Deploy · PAT
Vercel — Frontend platform. Stores a scoped access token for deploys + env sync.
Dashboard ↗

One command

Add Vercel to any Ashlr Stack project with a single command. Stack runs the auth flow, verifies the credential, and writes every secret slot into Phantom.

stack add vercel

Or describe what you're building and let Claude pick it up via stack recommend:

stack recommend "host a Next.js frontend"

Auth flow

Paste a personal access token (PAT) once. Stack verifies it against the provider's API before writing to Phantom.

How-to: Paste a personal access token from https://vercel.com/account/tokens.

Secret slots

stack add vercel writes these 1 secret slot into your Phantom vault:

  • VERCEL_TOKEN

The values never leave Phantom in plaintext. Your .env file references slot names, and stack exec -- <cmd> swaps them in at process-spawn time via Phantom's local proxy.

MCP wiring

Vercel ships an MCP server. stack add vercel auto-wires it into .mcp.json so your Claude Code / Cursor / Windsurf session can use it immediately.

Vercel MCP server with VERCEL_TOKEN piped from Phantom — list deployments, tail logs, sync env.

Starter templates that include Vercel

Apply a pre-wired stack with one command:

  • stack init --template nextjs-neon-vercel-sentry
  • Modal — Serverless compute for AI + data. Token stored in Phantom.
  • Railway — Infra from a repo. Project-level token stored in Phantom.
  • Fly.io — VMs at the edge. Machines API token stored in Phantom.
  • Cloudflare — Workers, R2, D1. Account id inferred from the token's scope.
  • Render — Zero-config hosting. API key stored in Phantom.

FAQ

Do I need a Vercel account to use it with Stack?

Yes — Stack provisions Vercel on your behalf, but it authenticates as you. Paste a personal access token (PAT) once. Stack verifies it against the provider's API before writing to Phantom. If you don't have a credential yet, create one at https://vercel.com/dashboard and paste it once.

Where does Stack store my Vercel credentials?

In Phantom Secrets, an E2E-encrypted local vault. Stack writes the secret slot names (VERCEL_TOKEN) into .stack.toml — the actual values live only in Phantom and never touch disk in plaintext.

Can I rotate or revoke this integration later?

Yes. Run `stack remove vercel` to pull the Vercel service back out (Phantom secrets deleted, MCP entry removed, .stack.toml cleaned up). Rotate the underlying Vercel credentials in their dashboard — https://vercel.com/dashboard — and Stack's next `doctor --fix` will pick up the new values.

Outbound