Home / Servers / Vercel API / create_ai_gateway_byok_credential
Create a BYOK credential
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Create a BYOK credential Create a new BYOK credential [POST /ai-gateway/byok-credentials]
Name on the gateway: vercel_api__create_ai_gateway_byok_credential · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
ownerId | string | The owner ID for this credential. Ignored for customer tokens, which always… |
providerSlug required | string | The provider slug this credential is for (e.g., "openai", "anthropic") |
name required | string | The developer-entered name for this credential |
active | boolean | Whether the credential is active and can be used |
zeroDataRetention | boolean | Whether the customer attested this external credential has a zero data… |
userId | string | The ID of the user performing this action, used for Activity-log attribution. |
mappings | array | Model mappings to create atomically with the credential (e.g. Azure… |
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__create_ai_gateway_byok_credential",
"arguments": {
"providerSlug": "…",
"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 create a byok credential tool with teamId set to ….