Skip to content
Claude Code

Phantom Secrets for Claude Code

io.github.ashlrai/phantom-secrets-mcp

Stop AI coding agents from leaking API keys. Local proxy swaps real secrets for phm_ tokens.

client:Claude Code transport:stdio runtime:npm

Install Phantom Secrets in Claude Code

run in your project directory

claude mcp add phantom-secrets-mcp -- npx -y phantom-secrets-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Phantom Secrets in other clients