security: image MCP fails closed when the member's own key is absent

This commit is contained in:
inference-admin committed 2026-11-19 22:09:39 +00:00
1 parent 14b61e24da
commit 69ba4346cf
3 files changed
+31 -19

No files matched your search

+3 -1
View File
@@ -236,5 +236,7 @@ mcpServers:
description: "Auto-loaded from your membership — no action needed."
sensitive: true
env:
# ONLY the member's own key. The co-op system key is deliberately not
# passed into per-user MCP processes: a missing member key must fail
# closed, never bill image spend to the co-op account.
IC_API_KEY: "{{IC_API_KEY}}"
SYSTEM_IMAGE_KEY: "${SYSTEM_IMAGE_KEY}"