You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d44b69
Browse filesBrowse the repository at this point in the historyBrowse files
##### Custom Certificates and Timeouts (Proxy Environments)
614
+
##### Timeouts and Custom Certificates (Proxy Environments)
569
615
570
-
If your organization uses a corporate proxy or a custom CA bundle for HTTPS inspection, you need to tell Cycode CLI (and the underlying Python TLS stack) where to find the trusted certificate bundle. You can also increase the MCP tool call timeoutif scans are being cut short.
616
+
If long-running scans are being cut short by your MCP client, increase the tool call timeout.
571
617
572
618
| Environment Variable | Description |
573
619
|----------------------|-------------|
574
-
|`REQUESTS_CA_BUNDLE`| Path to a custom CA bundle file (`.pem` or `.crt`). Used by the `requests` library for all HTTPS calls made by Cycode CLI. |
575
-
|`SSL_CERT_FILE`| Path to a custom CA bundle file. Used by Python's low-level `ssl` module. Set this alongside `REQUESTS_CA_BUNDLE` for full coverage. |
576
620
| `MCP_TOOL_TIMEOUT` | Timeout (in seconds) that MCP clients such as Claude and GitHub Copilot wait for a tool call to complete. Increase this if long-running scans are being cut off before they finish. |
577
621
578
-
> [!TIP]
579
-
> Set both `REQUESTS_CA_BUNDLE` and `SSL_CERT_FILE` to the same CA bundle path. `REQUESTS_CA_BUNDLE` covers the HTTP layer; `SSL_CERT_FILE` covers the lower-level TLS layer. Using only one may still cause certificate errors in some environments.
622
+
Behind a corporate proxy, set the certificate variables in the MCP server's `env` block. See
623
+
[Certificates and Proxies](#certificates-and-proxies) for the options: either
624
+
`CYCODE_CLI_ENABLE_TRUSTSTORE=1` to use the certificates already on the machine, or
625
+
`REQUESTS_CA_BUNDLE` pointing at a CA bundle file.
580
626
581
-
Example `mcp.json` configuration with custom certificates and a longer timeout:
627
+
Example `mcp.json` configuration with a custom CA bundle and a longer timeout:
582
628
583
629
```json
584
630
{
@@ -588,7 +634,6 @@ Example `mcp.json` configuration with custom certificates and a longer timeout:
0 commit comments