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

NameTypeDescription
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.
ownerIdstringThe owner ID for this credential. Ignored for customer tokens, which always…
providerSlug requiredstringThe provider slug this credential is for (e.g., "openai", "anthropic")
name requiredstringThe developer-entered name for this credential
activebooleanWhether the credential is active and can be used
zeroDataRetentionbooleanWhether the customer attested this external credential has a zero data…
userIdstringThe ID of the user performing this action, used for Activity-log attribution.
mappingsarrayModel 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:

call_tool arguments
{
  "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:

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 create a byok credential tool with teamId set to ….

More from Vercel API