mcp-warden: local MCP proxy keeps secrets in OS keychain so agents never see tokens

Relevant_Mousse_9117 · reddit · 2026-10-26

A Reddit user released mcp-warden, an open-source tool addressing a common MCP risk: setups typically hand agents tokens via env vars or config files, and once a token enters the context window it can leak into transcripts or be exposed via prompt injection.

mcp-warden inverts this: secrets live in the OS keychain, and the agent acts only through predefined presets.

Ships as a single Rust binary with stdio transport, works with any MCP client, no cloud, no telemetry, Apache-2.0. Install via cargo install mcp-warden or prebuilt binaries.

Original post →

More from coding & agent

coding & agent channel →