Home / Servers / Vercel API / get_or_create_drive
Get or create a drive
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Get or create a drive Gets an existing drive by project and name, or creates it when it does not exist. [POST /v2/sandboxes/drives/{name}]
Name on the gateway: vercel_api__get_or_create_drive · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | Name for the drive. Must be unique per project and… |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
projectId | string | The project ID or name to associate the drive with. Required unless using a… |
maxSizeBytes | integer | Maximum drive size in bytes. Must be a multiple of 4096 bytes. Defaults to 1… |
region | iad1 | sfo1 | cle1 | cdg1 | fra1 | arn1 | sin1 | pdx1 | lhr1 | icn1 | bom1 | cpt1 | dub1 | gru1 | hkg1 | syd1 | yul1 | hnd1 | kix1 | Region where the drive is stored. Defaults to iad1. |
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_or_create_drive",
"arguments": {
"name": "…"
}
}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 or create a drive tool with name set to ….