mcp-safe-actions: a TS library making destructive MCP tools wait for human approval
SnooDingos9560 · reddit · 2026-11-24
A developer released mcp-safe-actions, a small MIT-licensed TypeScript library addressing a recurring pain point in MCP servers: a prompt saying "ask before deleting" is a request, not a control.
- Splits a dangerous tool into preview (describes what will happen, changes nothing) and execute (runs only after approval)
- Approval is requested via MCP elicitation first; if the client doesn't support it, it falls back to a single-use token the human must supply
- Everything is logged without secrets
The author is upfront about limits: it can't prove a human really answered an elicitation and doesn't sandbox the tool. Available on npm and the MCP Registry; feedback sought on clients with odd elicitation behavior.
More from coding & agent
- Netflix shares the agent harness behind AI Discover: LLM plans, code decides — AxSaucedo · 2026-11-24
- Qwen4 Max lands in Pendev: design-system adherence 'beyond expectations' — Alibaba_Qwen · 2026-11-24
- Anthropic's tool use guide: 49%→74% accuracy, 85% fewer tokens, no model upgrade — solyarisoftware · 2026-11-24
- Demo shows group chats where AI agents and humans collaborate as teammates — tekbog · 2026-11-24
- SarvamAI: Live conversations beat evals for improving voice agents — itsOmSarraf_ · 2026-11-24
- Rolldown RFC brings import defer: Hono app boots 46% faster in Node.js, 66% in workerd — cnakazawa · 2026-11-24