Tuesday, October 27, 2026 Today’s Paper
Log in Join free
Vol. I · No. 29 Texas Edition
Tuesday, Oct 27
Texas first. Then the world.
Always free Updated 1 minute ago
Read. React. Discuss.
Tech

MCP-warden local credential broker so AI agents never see your secrets

By ermoluk 1 min read 1 views 0 comments

I got tired of pasting GitHub PATs, Stripe keys and DB passwords into Claude Code / Cursor MCP configs. One prompt injection or a leaked chat and they’re gone.
So I built mcp-warden — a local-first credential broker for the Model Context Protocol.
How it works:
• You store the secret once in the OS keychain
• You define scoped presets (e.g. github-read, stripe-charges)
• The agent calls high-level tools (proxy_http, ssh_exec, db_query)
• mcp-warden injects the credential server-side and returns only the result
The agent’s context never contains the secret. Allow-list validation runs before credential injection. Sensitive actions can require approval (desktop notification, TUI, or Telegram). Everything is logged locally.
Works with Claude Code, Cursor, Codex, Cline and any other MCP client. Written in Rust, Apache-2.0, fully local.GitHub: https://github.com/ermoluk/mcp-wardenHappy to answer questions about the threat model or how people are currently handling secrets with agents.

Comments URL: https://news.ycombinator.com/item?id=50241410

Points: 1

# Comments: 1

Hacker News (Newest) Original story · news.ycombinator.com
Read the full story

Discussion (0)

No comments yet. Start the conversation!