Veto — SQL Safety & Cost Oracle
v0.5.0Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
Endpoint health
online- Last checked
- 11/20/2026, 8:17:14 AM
- Latency
- 126 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:com.vetosql%2Fveto
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"com.vetosql/veto": {
"url": "https://vetosql.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
3 shown · authentication unknown
Analyze SQL safety & cost
analyze_sql
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.
Schema valid · SHA-256 0dc2e7b29f29…
View input schema
{ "type": "object", "properties": { "sql": { "type": "string", "description": "The SQL to analyze (one or more statements)." }, "schema": { "type": "string", "description": "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": { "type": "object", "additionalProperties": { "type": "number" }, "description": "Optional map of table name to estimated row count for realistic cost estimates." }, "dialect": { "type": "string", "const": "postgres" } }, "required": [ "sql" ], "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }Get custom org policies (Pro)
get_policies
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.
Schema valid · SHA-256 e0724326aa4f…
View input schema
Connections
streamable-http
https://vetosql.com/mcp