Home / Servers / Vercel API / upsert_ai_gateway_budget

Upsert AI Gateway budget

An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.

Upsert AI Gateway budget Create or update a team-, project-, or user-scope AI Gateway budget. [PUT /ai-gateway/budgets]

Name on the gateway: vercel_api__upsert_ai_gateway_budget · may change things.

Parameters

NameTypeDescription
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.
scopeType requiredteam | project | user
projectIdstringRequired when scopeType is \"project\".
userIdstringRequired when scopeType is \"user\".
limitAmount requirednumberBudget limit in dollars.
refreshPerioddaily | weekly | monthly | none
includeByokInQuotabooleanWhether BYOK usage counts toward this budget.
alertThresholdsarray
justificationstringWhy the budget is being changed, up to 500 characters. Recorded in the…

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__upsert_ai_gateway_budget",
  "arguments": {
    "scopeType": "…",
    "limitAmount": 0
  }
}

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 upsert ai gateway budget tool with teamId set to ….

More from Vercel API