KosmoKrator

productivity

Vercel CLI for AI Agents

Use the Vercel CLI from KosmoKrator to call Vercel tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write API token auth

Vercel CLI Setup

Vercel can be configured headlessly with `kosmokrator integrations:configure vercel`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure vercel --set token="$VERCEL_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor vercel --json
kosmokrator integrations:status --json

Credentials

Authentication type: API token api_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
token VERCEL_TOKEN Secret secret yes Vercel API Token

Call Vercel Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call vercel.vercel_get_current_user '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:vercel vercel_get_current_user '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Vercel.

vercel.vercel_get_current_user

Read read

Get the currently authenticated Vercel user profile, including username, email, and plan.

Parameters
none

Generic CLI call

kosmo integrations:call vercel.vercel_get_current_user '{}' --json

Provider shortcut

kosmo integrations:vercel vercel_get_current_user '{}' --json

vercel.vercel_get_deployment

Read read

Get details for a specific Vercel deployment by ID, including status, URL, and build logs.

Parameters
id, team_id

Generic CLI call

kosmo integrations:call vercel.vercel_get_deployment '{"id":"example_id","team_id":"example_team_id"}' --json

Provider shortcut

kosmo integrations:vercel vercel_get_deployment '{"id":"example_id","team_id":"example_team_id"}' --json

vercel.vercel_get_project

Read read

Get details for a specific Vercel project by ID, including framework, domains, and settings.

Parameters
id, team_id

Generic CLI call

kosmo integrations:call vercel.vercel_get_project '{"id":"example_id","team_id":"example_team_id"}' --json

Provider shortcut

kosmo integrations:vercel vercel_get_project '{"id":"example_id","team_id":"example_team_id"}' --json

vercel.vercel_list_deployments

Read read

List deployments across your Vercel projects. Filter by project, state, or target.

Parameters
project_id, state, target, limit, team_id

Generic CLI call

kosmo integrations:call vercel.vercel_list_deployments '{"project_id":"example_project_id","state":"example_state","target":"example_target","limit":1,"team_id":"example_team_id"}' --json

Provider shortcut

kosmo integrations:vercel vercel_list_deployments '{"project_id":"example_project_id","state":"example_state","target":"example_target","limit":1,"team_id":"example_team_id"}' --json

vercel.vercel_list_domains

Read read

List all domains configured in Vercel, including verification and DNS status.

Parameters
limit, team_id

Generic CLI call

kosmo integrations:call vercel.vercel_list_domains '{"limit":1,"team_id":"example_team_id"}' --json

Provider shortcut

kosmo integrations:vercel vercel_list_domains '{"limit":1,"team_id":"example_team_id"}' --json

vercel.vercel_list_projects

Read read

List all Vercel projects. Returns project names, IDs, framework, and deployment status.

Parameters
limit, team_id

Generic CLI call

kosmo integrations:call vercel.vercel_list_projects '{"limit":1,"team_id":"example_team_id"}' --json

Provider shortcut

kosmo integrations:vercel vercel_list_projects '{"limit":1,"team_id":"example_team_id"}' --json

vercel.vercel_list_teams

Read read

List all Vercel teams you belong to, including membership roles and member counts.

Parameters
limit

Generic CLI call

kosmo integrations:call vercel.vercel_list_teams '{"limit":1}' --json

Provider shortcut

kosmo integrations:vercel vercel_list_teams '{"limit":1}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

vercel.vercel_get_current_user

Get the currently authenticated Vercel user profile, including username, email, and plan.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

vercel.vercel_get_deployment

Get details for a specific Vercel deployment by ID, including status, URL, and build logs.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_get_deployment --json
ParameterTypeRequiredDescription
id string yes The deployment ID.
team_id string no Optional team ID if the deployment belongs to a team.

vercel.vercel_get_project

Get details for a specific Vercel project by ID, including framework, domains, and settings.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_get_project --json
ParameterTypeRequiredDescription
id string yes The project ID.
team_id string no Optional team ID if the project belongs to a team.

vercel.vercel_list_deployments

List deployments across your Vercel projects. Filter by project, state, or target.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_list_deployments --json
ParameterTypeRequiredDescription
project_id string no Filter deployments by project ID.
state string no Filter by deployment state (e.g., READY, ERROR, BUILDING, QUEUED).
target string no Filter by target environment (e.g., production, preview, development).
limit integer no Maximum number of deployments to return (default 20, max 100).
team_id string no Optional team ID to scope deployments to a specific team.

vercel.vercel_list_domains

List all domains configured in Vercel, including verification and DNS status.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_list_domains --json
ParameterTypeRequiredDescription
limit integer no Maximum number of domains to return (default 20, max 100).
team_id string no Optional team ID to scope domains to a specific team.

vercel.vercel_list_projects

List all Vercel projects. Returns project names, IDs, framework, and deployment status.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_list_projects --json
ParameterTypeRequiredDescription
limit integer no Maximum number of projects to return (default 20, max 100).
team_id string no Optional team ID to scope projects to a specific team.

vercel.vercel_list_teams

List all Vercel teams you belong to, including membership roles and member counts.

Operation
Read read
Schema command
kosmo integrations:schema vercel.vercel_list_teams --json
ParameterTypeRequiredDescription
limit integer no Maximum number of teams to return (default 20, max 100).

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.