Home / Servers / Vercel API / create_custom_environment
Create a custom environment for the current project.
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Create a custom environment for the current project. Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'. [POST /v9/projects/{idOrName}/custom-environments]
Name on the gateway: vercel_api__create_custom_environment · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
idOrName required | string | The unique project identifier or the project name |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
body_slug | string | The slug of the custom environment to create. |
description | string | Description of the custom environment. This is optional. |
branchMatcher | object | How we want to determine a matching branch. This is optional. |
copyEnvVarsFrom | string | Where to copy environment variables from. This is optional. |
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__create_custom_environment",
"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 create a custom environment for the current project. tool with idOrName set to ….