MCP gateway architecture

The dispatch pipeline, end to end

This page shows what actually happens to a tool call — the pipeline as implemented, not as marketed. Every stage below exists in shipping code.

One governed tool call, end to end

The MCP authorization pipeline

Every governed MCP tool call passes, in order:

Where Cedar fits, honestly: the Cedar policy engine (with policy_explain) governs administrative, platform, configuration, and token-management decisions. It is not evaluated per tool dispatch — the per-call pipeline above is what runs on the hot path. We say this precisely because it's the kind of claim that dies in demos when other vendors round it up.

The hash chain audit log design

SHA-256 row chain with sequence-contiguity checks; Ed25519-signed checkpoints, themselves chained via previous-signature inclusion; kid-keyed rotation that fails closed on unknown keys; unsigned-tail truncation reporting; HMAC-committed actor identities so GDPR crypto-shred erasure leaves the chain verifiable; KMS/HSM as the signing choke point; an advisory-locked sealer so the chain cannot fork.

Full verification semantics and the report schema are on the verify page.

Data plane: tokenization at ingest

Datasets are tokenized at ingest: deterministic HMAC-based tokens that are join-preserving (the same value tokenizes identically, so analytics, joins and entity resolution still work) and vault-reversible (detokenization is a privileged, logged operation, never a default). Classification tags PII/PHI; k-anonymity generalization coarsens quasi-identifiers; masking-by-default SQL views cover the non-tokenized path.

Query engine: DataShield Analytical DB, exposed via MCP. Performance methodology lives in the engineering blog — benchmark numbers are published with hardware, warm/cold state, and percentiles, or not at all.

Open components we build on

Named because they're checkable: Cedar (policy engine), Fastify (Auth services), Hono (fleet services), and SQLite where each fits — on Node 22. Analytical and transactional storage run on the DataShield Analytical DB and DataShield Transactional DB.

Honest limitations

Questions a page can't answer?

Ask the quoting agent

You've seen the proof

Ready for a number? Scope your deployment and we'll price it against your own economics.

Get your quote →