Home / Servers / Vercel API / edit_redirect
Edit a project-level redirect.
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Edit a project-level redirect. Edits a single redirect identified by its source path. Stages a new change with the modified redirect and returns the alias for the new version in the response. [PATCH /v1/bulk-redirects]
Name on the gateway: vercel_api__edit_redirect · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
projectId required | string | projectId 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. |
name | string | |
redirect required | object | The redirect object to edit. The source field is used to match the redirect to… |
restore | boolean | If true, restores the redirect from the latest production version to staging. |
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__edit_redirect",
"arguments": {
"projectId": "…",
"redirect": "…"
}
}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 edit a project-level redirect. tool with projectId set to ….