Home / Servers / Vercel API / get_project_domains
Retrieve project domains by project by id or name
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Retrieve project domains by project by id or name Retrieve the domains associated with a given project by passing either the project id or name in the URL. [GET /v9/projects/{idOrName}/domains]
Name on the gateway: vercel_api__get_project_domains · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
idOrName required | string | The unique project identifier or the project name |
production | true | false | Filters only production domains when set to true. |
target | production | preview | Filters on the target of the domain. Can be either "production", "preview" |
customEnvironmentId | string | The unique custom environment identifier within the project |
gitBranch | string | Filters domains based on specific branch. |
redirects | true | false | Excludes redirect project domains when "false". Includes redirect project… |
redirect | string | Filters domains based on their redirect target. |
verified | true | false | Filters domains based on their verification status. |
limit | number | Maximum number of domains to list from a request (max 100). |
since | number | Get domains created after this JavaScript timestamp. |
until | number | Get domains created before this JavaScript timestamp. |
order | ASC | DESC | Domains sort order by createdAt |
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__get_project_domains",
"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 project domains by project by id or name tool with idOrName set to ….