Veto — SQL Safety & Cost Oracle
com.vetosql/veto
MCP server OK 3 tools
What it is for
Analyzes Postgres SQL and migrations before they run with `analyze_sql`, to flag destructive operations and locking risks. `set_policies` and `get_policies` manage custom organization policies.
Summary written by L’Atlas on 29 Nov 2026, rewritten only from the author’s description and the tools seen by our test. Author’s text below.
Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
Technical sheet
- Author
- vetosql.com (registry namespace)
- Repository
- github.com/metaweardigital/veto-mcp
- Site
- vetosql.com
- Version
- 0.5.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://vetosql.com/mcp Streamable HTTP
- Tools
- 3
- Categories
- Databases, AI, agents and memory
- Comparisons
- MCP servers for Postgres
- Last updated
- 14 Jun 2026
- Published
- 14 Jun 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/com.vetosql/veto)<a href="https://latlas.dev/en/mcp/com.vetosql/veto"><img src="https://latlas.dev/badge/statut/mcp/com.vetosql/veto.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.vetosql/veto)<a href="https://latlas.dev/en/mcp/com.vetosql/veto"><img src="https://latlas.dev/badge/fiche/com.vetosql/veto.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://vetosql.com/mcp
- Last result
- OK 28 Nov 2026, 11:31
- Response time
- 557 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- veto 0.4.0
- Tools
- 3
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:31 | OK | 557 ms | 3 |
Exposed tools (3, from tools/list, 28 Nov 2026)
analyze_sql
Analyze SQL safety & cost
Analyze Postgres SQL/migrations for destructive operations, locking risk, correctness traps (NULL handling that silently returns wrong results), anti-patterns, and query cost. Returns a deterministic verdict (ok/warn/block) with findings. Pass the optional `schema` argument (your CREATE TABLE/INDEX DDL) to also get EXPLAIN-based cost analysis run on a throwaway scratch Postgres — no separate tool or DB connection needed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | The SQL to analyze (one or more statements). |
| schema | string | no | Optional CREATE TABLE/INDEX DDL. Providing it enables EXPLAIN-based cost analysis (seq scans on large tables, etc.) on a throwaway scratch Postgres; omit it for static safety analysis only. |
| rowCountHints | object | no | Optional map of table name to estimated row count for realistic cost estimates. |
| dialect | string | no |
set_policies
Set custom org policies (Pro)
Replace the stored custom org policy set for your Pro key (this is also how you update or clear them: send the full new set to update, or an empty array to remove all). Each policy blocks or warns on an operation against matching tables (e.g. no DELETE on payments). Policies are declarative data — validated, never executed — and apply transparently to every later analyze_sql call made with this key. Use get_policies to read the current set.
| Parameter | Type | Required | Description |
|---|---|---|---|
| policies | array<object> | yes | The full policy set (replaces any previously stored set; max 50). |
get_policies
Get custom org policies (Pro)
Return the custom org policy set currently stored for your Pro key — the same rules analyze_sql enforces on top of the built-ins. Read-only; returns an empty list if none are set. Use set_policies to change them.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://vetosql.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http veto https://vetosql.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : veto ; URL : https://vetosql.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : veto ; Server URL : https://vetosql.com/mcp ; Create as a plugin{
"mcpServers": {
"veto": {
"url": "https://vetosql.com/mcp"
}
}
}{
"mcpServers": {
"veto": {
"type": "http",
"url": "https://vetosql.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"veto": {
"url": "https://vetosql.com/mcp"
}
}
}{
"mcpServers": {
"veto": {
"httpUrl": "https://vetosql.com/mcp"
}
}
}[mcp_servers.veto]
url = "https://vetosql.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Veto — SQL Safety & Cost Oracle · L’Atlas · Tested on
[Veto — SQL Safety & Cost Oracle — L’Atlas](https://latlas.dev/en/mcp/com.vetosql/veto)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.