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
| 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. |
deliveryFormat required | json | ndjson | The delivery log format |
url required | string | The log drain url |
headers | object | Headers to be sent together with the request |
projectIds | array | |
sources required | array | |
environments | array | |
secret | string | Custom secret of log drain |
samplingRate | number | The sampling rate for this log drain. It should be a percentage rate between 0… |
name | string | The 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:
{
"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:
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 ….