Home / Servers / Vercel API / add_repository_permission
Add a repository permission
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Add a repository permission Grant a team access to a VCR repository. Sharing applies to the whole repository. [POST /v1/vcr/repository/{idOrName}/permissions]
Name on the gateway: vercel_api__add_repository_permission · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
idOrName required | string | idOrName parameter |
projectId required | string | Project ID or name (slug) within the authenticated team. IDs take precedence… |
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_teamId | string | ID of a team that is granted access to a repository. |
teamSlug | string | Slug of a team that is granted access to a repository. |
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__add_repository_permission",
"arguments": {
"idOrName": "…",
"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 add a repository permission tool with idOrName set to ….