Skip to content

Commit 83196de

Browse files
jirispilkaclaude
andauthored
chore: Add NODE_EXTRA_CA_CERTS environment variable support (#742)
* chore: forward NODE_EXTRA_CA_CERTS in .mcp.json stdio env Without this, mcpc spawns the server with only APIFY_TOKEN, stripping NODE_EXTRA_CA_CERTS. In environments with a TLS-intercepting proxy (custom CA), axios/apify-client then fails every request with "self-signed certificate in certificate chain", blocking server startup indefinitely. https://claude.ai/code/session_01KF7XF61av1iqfzJ5YLm1b5 * chore: update src/web/package-lock.json Lockfile churn from npm ci during diagnosis session. https://claude.ai/code/session_01KF7XF61av1iqfzJ5YLm1b5 --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0e101d0 commit 83196de

2 files changed

Lines changed: 98 additions & 22 deletions

File tree

.mcp.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
"command": "node",
2020
"args": ["dist/stdio.js"],
2121
"env": {
22-
"APIFY_TOKEN": "${APIFY_TOKEN}"
22+
"APIFY_TOKEN": "${APIFY_TOKEN}",
23+
"NODE_EXTRA_CA_CERTS": "${NODE_EXTRA_CA_CERTS}"
2324
}
2425
},
2526
"stdio-full": {
2627
"command": "node",
2728
"args": ["dist/stdio.js", "--tools=actors,docs,experimental,runs,storage,apify/rag-web-browser"],
2829
"env": {
29-
"APIFY_TOKEN": "${APIFY_TOKEN}"
30+
"APIFY_TOKEN": "${APIFY_TOKEN}",
31+
"NODE_EXTRA_CA_CERTS": "${NODE_EXTRA_CA_CERTS}"
3032
}
3133
}
3234
}

0 commit comments

Comments
 (0)