Node.js MCP servers
Node.js MCP servers can use cordon transparently by adding the bootstrap loader. In your MCP server config:@c6o/cordon/register import sets up undici’s EnvHttpProxyAgent as the global dispatcher, so Node’s fetch respects the HTTPS_PROXY and HTTP_PROXY environment variables.
The
@c6o/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, Ruby, 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).