Home / Servers / Vercel API / create_log_drain

Creates a new Integration Log Drain (deprecated)

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

Creates a new Integration Log Drain (deprecated) Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will… [POST /v2/integrations/log-drains]

Name on the gateway: vercel_api__create_log_drain · 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.
name requiredstringThe name of the log drain
projectIdsarray
secretstringA secret to sign log drain notification headers so a consumer can verify their…
deliveryFormatjson | ndjsonThe delivery log format
url requiredstringThe url where you will receive logs. The protocol must be https:// or http://…
sourcesarray
headersobjectHeaders to be sent together with the request
environmentsarray

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_log_drain",
  "arguments": {
    "name": "…",
    "url": "…"
  }
}

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 creates a new integration log drain (deprecated) tool with teamId set to ….

More from Vercel API