MCPcopy Create free account
hub / github.com/brightdata/brightdata-mcp / api_headers

Function api_headers

server.js:92–97  ·  view source on GitHub ↗
(clientName=null, tool_name=null)

Source from the content-addressed store, hash-verified

90}
91
92const api_headers = (clientName=null, tool_name=null)=>({
93 'user-agent': `${package_json.name}/${package_json.version}`,
94 authorization: `Bearer ${api_token}`,
95 ...clientName ? {'x-mcp-client-name': clientName} : {},
96 ...tool_name ? {'x-mcp-tool': tool_name} : {},
97});
98
99function check_rate_limit(){
100 if (!rate_limit_config)

Callers 2

ensure_required_zonesFunction · 0.85
server.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected