Local-first 3-layer MCP security stack: zero-key PII masking, self-healing SQL, audit chain

SardinaNuclear · reddit · 2026-11-18

A developer showcased a local-first, three-server MCP pipeline (FastMCP + Pydantic v2 + embedded Qdrant) solving schema-hallucination retry loops, unredacted PII leaking into context, and missing tenant isolation when local coding agents access SQLite — all over stdio/SSE with zero external API keys.

Includes example mcpServers wiring for Claude Code/Cursor. The author also sells the bundle commercially on Agensi and offers to explain the hash-chain and AST validation internals.

Original post →

More from coding & agent

coding & agent channel →