Vercel

Lightweight, dependency-free, in-memory Vercel REST API fake for testing code that uses the Vercel REST API or @vercel/client.

Default port: 4770

Quick start

import { VercelServer } from "./services/vercel/src/server.js";

const server = new VercelServer(4770);
await server.start();
// ... run your app/tests ...
await server.stop();

Point a client at it:

const res = await fetch("http://127.0.0.1:4770/v2/user", {
  headers: { Authorization: "Bearer vercel_parlel" },
});
const { user } = await res.json();
// user.username => "parlel-user"

Access via MCP / preview URL

All API routes require Authorization: Bearer <token> (any non-empty token accepted).

Implemented operations

State is in-memory and ephemeral. Versioned paths mirror the real Vercel API.

Service & inspection (parlel extensions)

Surface coverage

This emulator faithfully replicates the API surface most application code and agents exercise. Anything below the supported lines is either an intentional design choice for a fast, zero-cost local emulator (✓ By design) or a candidate for a future release (⟳ Roadmap) — never a silent inaccuracy.

Legend: ✅ fully supported · ◐ accepted (stored, not strictly enforced) · ✓ by design · ⟳ on the roadmap.

FeatureStatus
GET /v2/user✅ Supported
Projects list / create / get / patch / delete✅ Supported
Deployments create / list / get✅ Supported
Bearer auth✅ Required (any non-empty token)
Real build pipeline / file uploads⟳ Roadmap — Deployment is instantly READY
Domains / env vars / aliases / teams⟳ Roadmap
Cursor pagination⟳ Roadmap — Single page
Scope / team enforcement✓ By design — Any non-empty credential is accepted — no real secrets needed

Error codes & shapes

Vercel error envelope: { "error": { "code": "...", "message": "..." } }.

StatusWhen
403missing/invalid authorization
400missing required field (name)
404unknown resource
405method not allowed

Manifest

See services/vercel/manifest.json:

<!-- parlel:testenv:start -->

Configuration — test.env

Copy these into your test.env (used by the bridge sidecar flow). Tokens are Parlel's seeded test credentials — any non-empty value is accepted by the emulator, so you rarely need to change them. Swap in real credentials only when pointing at the live service in prod.env.

VERCEL_TOKEN=vercel_parlel
VERCEL_API_URL=http://parlel-bridge:4770
<!-- parlel:testenv:end -->