How it works
Everything is generated in your browser. Nothing you type is sent anywhere, and the scripts use placeholders for passwords.
- The login can only read. On PostgreSQL the grants allow SELECT only, and the session defaults to read-only. The grant is what stops writes; the read-only default is a second layer.
- Limits stop runaway queries. A statement timeout, a lock timeout and a cap on connections, where the database supports them per login.
- Sensitive tables stay out. List them and the script revokes or denies them.
- Secrets stay out of config files where the client allows it. VS Code prompts for the connection string and stores it encrypted.
The reasoning behind each step is in How to connect Claude, OpenAI or Cursor to your database safely over MCP.
Or let Quorum handle the access
With Quorum's MCP server, passwords stay in Quorum, each connection is off for AI clients until you share it, masked columns come back masked, and by default a write waits until a person approves it. A free 14-day trial is coming soon; request access to hear first.