Veto SQL MCP MCP server
Veto is an official MCP server that provides deterministic SQL safety and cost analysis for Postgres. It allows AI agents to vet SQL statements before execution, returning structured verdicts (ok, warn, block) based on rules like destructive deletes or locking risks, without connecting to the production database or using LLMs.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://vetosql.com/mcpWhat you can do with it
- Analyze Postgres SQL for safety risks before execution
- Block destructive queries like DELETE without WHERE
- Estimate query costs using scratch database EXPLAIN plans
- Enforce custom organizational policies on specific tables
analyze_sqlset_policiesget_policies
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http veto-sql-mcp https://vetosql.com/mcpCodex
Codex configuration
codex mcp add veto-sql-mcp --url https://vetosql.com/mcpCursor
Cursor configuration
{
"mcpServers": {
"veto-sql-mcp": {
"url": "https://vetosql.com/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"veto-sql-mcp": {
"type": "streamableHttp",
"url": "https://vetosql.com/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"veto-sql-mcp": {
"type": "http",
"url": "https://vetosql.com/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http veto-sql-mcp https://vetosql.com/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"veto-sql-mcp": {
"url": "https://vetosql.com/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"veto-sql-mcp": {
"serverUrl": "https://vetosql.com/mcp"
}
}
}Other developer tools servers
Do you run Veto SQL MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.