---
title: get_project_env
product: vercel
url: /docs/agent-resources/vercel-mcp/tools/environment-variables/get_project_env
canonical_url: "https://vercel.com/docs/agent-resources/vercel-mcp/tools/environment-variables/get_project_env"
last_updated: 2018-10-20
type: reference
prerequisites:
  - /docs/agent-resources/vercel-mcp/tools/environment-variables
  - /docs/agent-resources/vercel-mcp/tools
related:
  []
summary: Use get_project_env with Vercel MCP.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# get_project_env

Retrieve the decrypted value of an environment variable of a project by id.

## Parameters

| Parameter  | Type   | Required | Description                                                            |
| ---------- | ------ | -------- | ---------------------------------------------------------------------- |
| `idOrName` | string | Yes      | The unique project identifier or the project name                      |
| `id`       | string | Yes      | The unique ID for the environment variable to get the decrypted value. |
| `teamId`   | string | No       | Team ID.                                                               |
| `slug`     | string | No       | Team slug.                                                             |


---

[View full sitemap](/docs/sitemap)
