Home / Servers / Vercel API / get_routes
Get project routing rules
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Get project routing rules Get the routing rules for a project. Supports searching by name/ID/pattern, filtering by route type, and diffing staged changes against production. [GET /v1/projects/{projectId}/routes]
Name on the gateway: vercel_api__get_routes · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
projectId required | string | projectId parameter |
versionId | string | versionId parameter |
q | string | q parameter |
filter | rewrite | redirect | set_status | transform | filter parameter |
diff | boolean | diff parameter |
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_routes",
"arguments": {
"projectId": "…"
}
}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 get project routing rules tool with projectId set to ….