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

NameTypeDescription
name requiredstringName for the drive. Must be unique per project and…
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.
projectIdstringThe project ID or name to associate the drive with. Required unless using a…
maxSizeBytesintegerMaximum drive size in bytes. Must be a multiple of 4096 bytes. Defaults to 1…
regioniad1 | sfo1 | cle1 | cdg1 | fra1 | arn1 | sin1 | pdx1 | lhr1 | icn1 | bom1 | cpt1 | dub1 | gru1 | hkg1 | syd1 | yul1 | hnd1 | kix1Region 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:

call_tool arguments
{
  "name": "vercel_api__get_or_create_drive",
  "arguments": {
    "name": "…"
  }
}

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 get or create a drive tool with name set to ….

More from Vercel API