Overview
Features
FF3 FPE over digits (radix-10)
Format-preserving encryption over decimal digits using FF3.
MCP authentication modes
Supports authless, debug, test (shared secret or JWT), and production (JWT only).
ENC_FPE prefix
Encrypted outputs are prefixed with ENC_FPE: for clear visibility in logs and demos.
MCP endpoints fpe_encrypt and fpe_decrypt
Exposes two tools via MCP JSON-RPC: fpe_encrypt and fpe_decrypt.
Multiple transports
Supports stdio (local) and HTTP transports for MCP communication.
Input normalization
Normalizes input to digits (radix-10) before encryption.
Configurable FPE keys
FPE configuration via environment: FPE_KEY and FPE_TWEAK.
Deployment ready (DigitalOcean)
Includes quick deploy workflow to DigitalOcean App Platform with HTTPS and a public MCP URL.
Who Is This For?
- LLM developers:Securely call external tools via MCP in local or remote workloads.
- Security researchers:Study FF3 FPE integration with MCP and authentication models in practice.
- Educators:Teach MCP concepts with hands-on encryption, authentication modes, and transport testing.
- DevOps:Deploy and test MCP in local or cloud environments easily.




