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

NameTypeDescription
idOrName requiredstringThe unique project identifier or the project name
productiontrue | falseFilters only production domains when set to true.
targetproduction | previewFilters on the target of the domain. Can be either "production", "preview"
customEnvironmentIdstringThe unique custom environment identifier within the project
gitBranchstringFilters domains based on specific branch.
redirectstrue | falseExcludes redirect project domains when "false". Includes redirect project…
redirectstringFilters domains based on their redirect target.
verifiedtrue | falseFilters domains based on their verification status.
limitnumberMaximum number of domains to list from a request (max 100).
sincenumberGet domains created after this JavaScript timestamp.
untilnumberGet domains created before this JavaScript timestamp.
orderASC | DESCDomains sort order by createdAt
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe 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:

call_tool arguments
{
  "name": "vercel_api__get_project_domains",
  "arguments": {
    "idOrName": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

Run in your terminal
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 ….

More from Vercel API