Home / Servers / Vercel API / filter_project_envs

Retrieve the environment variables of a project by id or name

An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.

Retrieve the environment variables of a project by id or name Retrieve the environment variables for a given project by passing either the project id or name in the URL. [GET /v10/projects/{idOrName}/env]

Name on the gateway: vercel_api__filter_project_envs · read-only.

Parameters

NameTypeDescription
idOrName requiredstringThe unique project identifier or the project name
gitBranchstringIf defined, the git branch of the environment variable to filter the results…
decrypttrue | falseIf true, the environment variable value will be decrypted
sourcestringThe source that is calling the endpoint.
customEnvironmentIdstringThe unique custom environment identifier within the project
customEnvironmentSlugstringThe custom environment slug (name) within the project
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "vercel_api__filter_project_envs",
  "arguments": {
    "idOrName": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

Run in your terminal
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the retrieve the environment variables of a project by id or name tool with idOrName set to ….

More from Vercel API