Most database MCP servers are a process on someone's laptop with a connection string in a config file. The model can reach whatever that string can reach, nothing records what it ran, and the database sees one shared user. LLM governance for data starts at the connection: which databases an LLM may touch, as which database user, with what rights, and with a record of every query.
AI tool access is set per connectionGuard
Each connection has one AI tool access setting, separate from what people can do in the SaturnSQL editor:
- Off. AI tools and API keys cannot see or query the connection. People still use it in the editor as usual.
- Shared queries only. AI tools can run only the saved queries shared with your team, filling in their variables. They cannot read the schema or send SQL of their own, so they can only ask the questions you have approved.
- Read-only. AI tools can query it, but every call must be a single SELECT, WITH or EXPLAIN statement, even if people are allowed to write.
- Same as the user. AI tools get the same rights as the person they act for, and can change data through a separate tool. Meant for staging and scratch databases.
Admins can also make requests wait for approval: changes (the default), changes and exports, or every request. The AI tool gets a link, the user or an admin reviews the SQL in SaturnSQL and approves it, and only then does it run, once.
Only the connection's owner and company admins can change the setting, and it is enforced on SaturnSQL's servers before a query reaches your database, not by asking the model to behave.
Limit tables, columns and rows per personGuard
Put people in groups and give each group its own rules on a connection: only these tables or all except these, hidden or masked columns such as customers.email, and row filters such as region = 'EU'. SaturnSQL checks every query from the editor, schedules and AI tools against the person's rules before it reaches the database, applies the row filters, and leaves hidden tables and columns out of the schema the person and their AI see. It works on PostgreSQL, Redshift, MySQL, SQL Server and BigQuery.
SaturnSQL reads the SQL to do this, so treat it as the guard, not the lock. A prompt cannot be trusted to stay away from the salaries table, so put the boundary where the model cannot argue with it. Create a database user that can only read the tables or views you choose, add it to SaturnSQL as its own connection, and make that the only connection with AI tool access. The full-rights connection stays Off for AI, and the model can never see more than that user can. See creating a read-only database user.
Every AI query has a name on it
Teammates connect Claude, ChatGPT or Cursor by signing in with their own SaturnSQL account over OAuth. There is no shared API key and no service account hiding who asked. The AI only sees the connections shared with that person, under their role, and viewers have no SQL access for an AI tool to borrow. Remove someone from the workspace and their AI tools stop on the next request, because membership is checked on every call.
An audit log per connectionGuard
Every query is recorded, whether it came from the SaturnSQL editor, a schedule, an API key or an AI tool, and so is every query a rule blocked, with the reason. Each entry has the time, the person, the client or named key, the connection, the full SQL, the row count, the duration and any error. Filter to one connection to see everything AI did on that database, and export it as CSV for a compliance review.
The model never holds the credentials
Connection credentials are encrypted with AES-256 on SaturnSQL servers and never sent to the browser or the AI tool. Claude sends SQL and gets rows back, capped by row limits. Your database does not need to be open to the internet either: allow the static egress IP 100.49.19.161, tunnel through an SSH bastion, and pin your own CA for TLS.
Checklist
| Control | How SaturnSQL does it |
|---|---|
| Choose which databases AI can reach | AI tool access set per connection: Off, Shared queries only, Read-only or Same as the user (Guard) |
| Only the team's questions | Shared queries only: AI tools run the team's shared saved queries and fill in their variables, never their own SQL (Guard) |
| AI cannot change data | Read-only accepts one SELECT, WITH or EXPLAIN per call |
| A person approves risky requests | Changes, exports or every request wait until the user or an admin approves them, once or for 1 to 8 hours, alerted in Slack or by email (Guard) |
| Cap what AI queries return and cost | Rows per query, queries a minute per person, timeout and BigQuery bytes billed, set for each database or group (Guard) |
| Limit tables, columns and rows | Access rules per group, with hidden or masked columns, checked by SaturnSQL (Guard), backed by a restricted database user |
| Credentials never reach the model | Encrypted with AES-256, kept server-side |
| Every AI query tied to a person | OAuth sign-in per person, no shared key |
| Full record per connection | Audit log with person, client, full SQL and rows, exportable as CSV (Guard) |
| Only owners change the rules | AI tool access is editable by the connection owner and admins |
| No database open to the internet | Static egress IP, SSH bastion, TLS with your own CA |
What SaturnSQL does not have
Better to read it here than find it in procurement: no SAML single sign-on or SCIM provisioning, no self-hosted option, and no SOC 2 or ISO 27001 report. The full picture is on the security page, and contract terms, including subprocessors, are in the data processing agreement.
Common questions
Which plan includes this? Per-connection AI tool access, approvals, access rules and the audit log are part of Guard, on the Pro plan. Everything else on this page, including per-person OAuth sign-in, read-only connections, encrypted credentials and the SSH bastion, comes with Starter and up, the plans that include the MCP connector.
Do I need an MCP gateway as well? A gateway sits in front of many MCP servers and applies one policy to all of them. For database access, SaturnSQL already is that control point: it authenticates each person, applies each connection's AI tool access setting, and writes the audit log before a query reaches your database. A gateway still makes sense if you also run many unrelated MCP servers.
Can an admin see the exact SQL Claude ran on a connection? Yes. The audit log stores the full statement for every query, with who ran it, which AI tool or API key it came through, the row count, duration and any error. Filter it to one connection to review everything AI did on that database.
Does the AI ever see our database password? No. Connection credentials are encrypted with AES-256 and stay on SaturnSQL servers. Claude, ChatGPT or Cursor sign in with the person's SaturnSQL account and only receive query results.
What happens when someone leaves the company? Remove them from the workspace. Membership is checked on every request, so their connected AI tools stop working on their next call, without waiting for a token to expire.
Can I hide specific tables or columns from the AI? Yes, with Guard on the Pro plan. An admin sets access rules per person on the Governance page (in the app’s sidebar): allowed or hidden tables, hidden or masked columns and row filters. SaturnSQL checks every query against them and hides the rest from the schema, for people and their AI alike. For a guarantee nothing can get around, also do it in the database: connect with a database user that can only read the tables or views you choose.
Do you support SAML SSO or have a SOC 2 report? Not today. Sign-in is email and password or Google, with optional TOTP two-factor authentication, and we have not been through a SOC 2 or ISO 27001 audit. If either is a hard requirement, SaturnSQL does not meet it yet.
AI tool access per connection, access rules and the audit log are part of SaturnSQL Guard. Enterprise adds a dedicated IP and dedicated support. For how people get access without sharing passwords, see database access management. Setting up a client? See Claude, ChatGPT, Cursor or Claude Code, or build Claude Dashboards on your database. Comparing tools? See the best MCP gateways for databases or StrongDM alternatives. To help AI tools understand the data they may see, see SaturnSQL Context, on the same plan.
Rolling out AI tool access across a team? Try Pro, with Guard, free for 14 days.