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
| Name | Type | Description |
|---|---|---|
idOrName required | string | The unique project identifier or the project name |
gitBranch | string | If defined, the git branch of the environment variable to filter the results… |
decrypt | true | false | If true, the environment variable value will be decrypted |
source | string | The source that is calling the endpoint. |
customEnvironmentId | string | The unique custom environment identifier within the project |
customEnvironmentSlug | string | The custom environment slug (name) within the project |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The 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:
{
"name": "vercel_api__filter_project_envs",
"arguments": {
"idOrName": "…"
}
}Or connect the Vercel API server directly, which lists 472 tools including this one:
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 ….