---
title: get_custom_environment
product: vercel
url: /docs/agent-resources/vercel-mcp/tools/environment-variables/get_custom_environment
canonical_url: "https://vercel.com/docs/agent-resources/vercel-mcp/tools/environment-variables/get_custom_environment"
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_custom_environment with Vercel MCP.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# get_custom_environment

Retrieve a custom environment.

## Parameters

| Parameter             | Type   | Required | Description                                                 |
| --------------------- | ------ | -------- | ----------------------------------------------------------- |
| `idOrName`            | string | Yes      | The unique project identifier or the project name           |
| `environmentSlugOrId` | string | Yes      | The unique custom environment identifier within the project |
| `teamId`              | string | No       | Team ID.                                                    |
| `slug`                | string | No       | Team slug.                                                  |


---

[View full sitemap](/docs/sitemap)
