Model Context Protocol (MCP) servers can use cordon to make authenticated API calls without holding credentials directly.Documentation Index
Fetch the complete documentation index at: https://docs.codezero.io/llms.txt
Use this file to discover all available pages before exploring further.
Node.js MCP servers
Node.js MCP servers can use cordon transparently by adding the bootstrap loader. In your MCP server config:@codezero-io/cordon/register import patches globalThis.fetch to inject a proxy dispatcher into all outbound requests, so Node’s fetch and fetch-based SDKs (Anthropic, OpenAI, etc.) respect the HTTPS_PROXY and HTTP_PROXY environment variables transparently.
The
@codezero-io/cordon npm package must be installed in the project or globally for the register import to resolve.Python MCP servers
Python MCP servers usingrequests or httpx respect HTTPS_PROXY and HTTP_PROXY environment variables automatically. No additional configuration is needed — just ensure the env vars are set:
Other languages
Most HTTP clients in Go, Rust, and other languages respect the standardHTTPS_PROXY environment variable. Set it in the MCP server’s environment and ensure the CA certificate is trusted (via cordon trust).