productivity
Vercel CLI for Headless Automation
Use the Vercel CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API token auth
Vercel CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Vercel CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Vercel CLI for Headless Automation
kosmokrator integrations:configure vercel --set token="$VERCEL_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call vercel.vercel_get_current_user '{}' --json Discovery Before Execution
Agents and scripts can inspect Vercel docs and schemas before choosing a function.
kosmo integrations:docs vercel --json
kosmo integrations:docs vercel.vercel_get_current_user --json
kosmo integrations:schema vercel.vercel_get_current_user --json
kosmo integrations:search "Vercel" --json
kosmo integrations:list --json Useful Vercel CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
vercel.vercel_get_current_user | Read | none | Get the currently authenticated Vercel user profile, including username, email, and plan. |
vercel.vercel_get_deployment | Read | id, team_id | Get details for a specific Vercel deployment by ID, including status, URL, and build logs. |
vercel.vercel_get_project | Read | id, team_id | Get details for a specific Vercel project by ID, including framework, domains, and settings. |
vercel.vercel_list_deployments | Read | project_id, state, target, limit, team_id | List deployments across your Vercel projects. Filter by project, state, or target. |
vercel.vercel_list_domains | Read | limit, team_id | List all domains configured in Vercel, including verification and DNS status. |
vercel.vercel_list_projects | Read | limit, team_id | List all Vercel projects. Returns project names, IDs, framework, and deployment status. |
vercel.vercel_list_teams | Read | limit | List all Vercel teams you belong to, including membership roles and member counts. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.