@kody/vercel
Call Vercel REST with a saved access token: teams, projects, deployments, domains, and env metadata.
IntegrationsTopics: vercel, access-token, teams, projects, deployments, domains, env, dry-run, integrations
- Version
- 1.0.0
- License
- MIT
- Published
- September 10, 2026
- Pinned commit
6b27f25- Rating
- No ratings yet
- Forks
- 8
- Adaptation effort
- —
README
Agent docs@kody/vercel
Intent
Reusable Vercel REST helpers so you can inspect your teams, projects,
deployments, domains, and environment-variable metadata — not a shared platform
account. Auth is a saved access token (vercelToken) against api.vercel.com.
Prefer the token lane; Sign in with Vercel OAuth REST permissions are still
private beta and are not required for this package. Reads are free-form.
Mutations (create-deployment, add-domain, create-env-var, and mutating
request calls) support dryRun: true, and live writes also require
confirm: true.
This listing is meant to be forked. After you fork, save your own vercelToken
and call the helpers in your account. No personal project names or team slugs
are hard-coded. Environment-variable listing returns keys and targets only —
values are never decrypted or returned.
Share this package as https://kody.codes/@kody/vercel
What it does
- Read the authenticated user, teams, projects, deployments, and domains
- List environment-variable metadata (keys/targets only — never values)
- Create deployments, add domains, and create env vars with dry-run previews
- Escape-hatch REST
requestfor paths not wrapped by named helpers
Prerequisites / setup
Access token (recommended)
Create a token at Account Tokens (Full Account, a team, or a single project).
Save it in Kody as
vercelToken(do not paste the value in chat):Approve host
api.vercel.comin the secrets UI.Optional: use
vercelToken-workviaaccount: "work", or passsecretName: "vercelToken-team"for another saved token.
Team- and project-scoped tokens infer their scope. Full-account tokens should
pass teamId or teamSlug when targeting a team's resources.
OAuth (optional / private beta for REST)
Create a Sign in with Vercel app
and register redirect URI exactly https://kody.codes/connect/oauth. Prefer an
access token for teams, projects, and deployments until REST OAuth permissions
leave private beta. Agents: see AGENTS.md for the connect URL and
integrationName usage.
Mutation safety
Pass dryRun: true on mutating helpers to preview { dryRun, method, path, body }
without contacting Vercel. Live writes also require confirm: true. Env-var
dry-run previews redact value. Do not create production deployments unless
the caller explicitly confirms that target.
Done when
vercelTokenis saved (or OAuth connected) andapi.vercel.comis approved- A credential smoke check returns
ok: true(live profile or setup URLs) - Mutating helpers refuse live writes without
confirm: true - Env listing never returns secret values
Branding
community-icon.svg is Vercel's official triangle logomark from the
Vercel brand assets press kit (light / black).
Vercel is a trademark of Vercel, Inc. This package is not affiliated with or
endorsed by Vercel.
Docs
Report this listing
Log in to report this listing.