PocketBrain: Personal AI Knowledge System
Privacy-first personal AI assistant for iOS/macOS that organizes and retrieves information from documents, notes, and conversations entirely offline using CoreML and advanced vector search.
An enterprise-grade, serverless MCP server that provides secure, authenticated access to Salesforce CRM data for AI agents, built on a foundation of OAuth 2.0, PKCE, and Cloudflare Workers.
You want to empower your teams with AI that can interact with your most valuable asset: your Salesforce data. The potential is massive—AI-driven reporting, automated record updates, intelligent lead analysis.
But your CISO has one question: “How do you secure it?”
Giving an AI model direct API keys to your production CRM is a non-starter. It’s a compliance nightmare and a security catastrophe waiting to happen. How do you manage authentication? How do you prevent malicious or accidental queries? How do you do it all without building a slow, monolithic gateway that kills performance?
The real problem isn’t connecting AI to Salesforce. It’s doing it in a way that meets enterprise-grade security and performance standards.
You don’t need to build a fortress from scratch. You need a modern, serverless playbook.
This project delivers that playbook: a production-grade MCP server that acts as a secure, intelligent, and blazing-fast gateway between AI agents and Salesforce. It handles the entire authentication lifecycle and enforces security at the edge, allowing your AI to be powerful, not just privileged.
Here’s the framework that locks it down.
This isn’t just a login screen; it’s a multi-layered authentication and authorization system built for the modern enterprise. This is the receipt.
Enterprise security often comes at the cost of speed. We rejected that tradeoff. The entire system is built on Cloudflare’s serverless platform for global low-latency.
The final layer of defense is intelligence. We don’t just trust the AI; we verify its intent.
Account or Contact must have a WHERE clause to prevent accidental, performance-killing table scans.This project is the definitive architecture for integrating AI with high-value enterprise systems like Salesforce. It’s a battle-tested demonstration of how to combine modern serverless technology with enterprise-grade security protocols to build a solution that is secure, scalable, and performant.
It proves that you can give AI powerful capabilities without handing over the keys to the kingdom.