vercel_create_env
Create (or upsert) an environment variable on a Vercel project. Target defaults to production, preview, and development. Use type='plain' for non-secret values, 'encrypted' or 'sensitive' for secrets.
This record as markdown: /tools/io-github-malamutemayhem-unclick-mcp-server/vercel-create-env.md
What vercel_create_env does on UnClick
AI agents use vercel_create_env to create or update resources in UnClick, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your UnClick environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | |
type | string | — | plain | encrypted | sensitive | secret | system. Defaults to plain. |
value | string | Yes | |
target | string | — | CSV of environments: 'production,preview,development'. Defaults to all three. |
teamId | string | — | Alias for team_id. |
upsert | boolean | — | Overwrite existing value for same key/target. Default true. |
api_key | string | — | |
comment | string | — | |
team_id | string | — | |
gitBranch | string | — | Alias for git_branch. |
projectId | string | — | Alias for project_id. |
git_branch | string | — |
Parameters from the server's own tool schema.
Why vercel_create_env is rated Medium
This tool modifies environment variables on a Vercel project, which are configuration values that can be changed or removed. While environment variables control application behavior and secrets management (elevating severity), the action itself is reversible—variables can be updated or deleted. This is Write rather than Execute because it doesn't run code or trigger operations; it configures them.
From the tool's definition Tool description explicitly states 'Create (or upsert) an environment variable' and provides options for sensitive/encrypted values. The word 'Create' and 'upsert' indicate reversible modification of configuration data.
Risk signalsHandles credentials or secrets (api_key) · High parameter count (13 properties)
Attacks that exploit this kind of access
The rule that runs vercel_create_env safely
PolicyLayer is an MCP gateway: it sits between your AI agents and UnClick, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For vercel_create_env, this is the rule to start with:
vercel_create_env stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect UnClick, apply this rule, and every vercel_create_env call is checked against it from then on.
Questions about vercel_create_env
Create (or upsert) an environment variable on a Vercel project. Target defaults to production, preview, and development. Use type='plain' for non-secret values, 'encrypted' or 'sensitive' for secrets. It is categorised as a Write tool in the UnClick MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
vercel_create_env accepts 12 parameters: key, type, value, target, teamId, upsert, api_key, comment, team_id, gitBranch, projectId, git_branch. Required: key, value. The full parameter table on this page comes from the server's own tool schema.
Register the UnClick MCP server in PolicyLayer and add a rule for vercel_create_env: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches UnClick. Nothing to install.
vercel_create_env is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the vercel_create_env rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for vercel_create_env. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
vercel_create_env is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on UnClick, and thousands of servers like it.
This server
Across the catalogue