An open-source MCP server demonstrating Format Preserving Encryption with FF3.
Shows how MCP servers can assist in data protection workflows — encrypt sensitive data like SSNs and phone numbers while preserving
their format.
✨ What's Included
🎯 MCP Protocol Demo
- Works with Claude Desktop, Claude Code, ChatGPT, and any MCP-compatible client
- Both stdio (local) and HTTP (web/cloud) transports
🔒 FF3 Encryption Example
- Format Preserving Encryption (radix-10, 6-56 digits)
- Multiple authentication modes for different use cases
- JWT + shared secret authentication patterns
⚡ Easy Testing
- One-click DigitalOcean deployment for web testing
- Container-ready with health endpoints
- Stateful HTTP sessions
🚀 Quick Start
Local demo:
npm install && npm start
💡 Demo Usage
Input: "123-45-6789"Encrypted: "ENC_FPE:096616337"Decrypted: "123456789"
Great for exploring how AI assistants can work with encrypted data!
📋 Features
- ✅ Real FF3 cryptography implementation
- ✅ Complete test suite and examples
- ✅ Comprehensive documentation
- ✅ Business Source License 1.1
🎯 Good For
- Learning MCP server development
- Exploring data protection patterns with AI
- Testing encryption workflows
- Demos and proof-of-concepts
https://github.com/Horizon-Digital-Engineering/fpe-demo-mcp#readme