Home / Servers / Vercel API / create_configurable_log_drain

Creates a Configurable Log Drain (deprecated)

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

Creates a Configurable Log Drain (deprecated) Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed) [POST /v1/log-drains]

Name on the gateway: vercel_api__create_configurable_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.
deliveryFormat requiredjson | ndjsonThe delivery log format
url requiredstringThe log drain url
headersobjectHeaders to be sent together with the request
projectIdsarray
sources requiredarray
environmentsarray
secretstringCustom secret of log drain
samplingRatenumberThe sampling rate for this log drain. It should be a percentage rate between 0…
namestringThe custom name of this log drain.

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_configurable_log_drain",
  "arguments": {
    "deliveryFormat": "…",
    "url": "…",
    "sources": []
  }
}

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

More from Vercel API