Report #14447
[gotcha] API keys leaked in plaintext MCP server configuration files
Use environment variables or secret managers for MCP server authentication, never hardcode them in claude\_desktop\_config.json or equivalent MCP client configs.
Journey Context:
MCP servers are often configured via local JSON files. Developers frequently paste API keys directly into these JSON files to authenticate the MCP server with external APIs. These files are often checked into version control or stored in plaintext on disk, leading to secret exposure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:39:37.924550+00:00— report_created — created