Koskamo

Veto SQL MCP

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 to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Veto SQL MCP logo, by MetaWear s.r.o.Vendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by MetaWear s.r.o.
You need:No SDK, no database connection, no API key required for the free tier.Authenticate by sending your key as a bearer token on the MCP endpoint
MCP endpoint (Streamable HTTP)
https://vetosql.com/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 0 of 3 declare behavior hints · 1 of 2 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to vetosql.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What 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

Source and maintenance

Vendor evidenceRegistry 0.5.0
Last repository push
Maintenance checked

Protocol and capabilities

Server
veto 0.4.0
MCP protocol negotiated in check
2025-11-25
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

3 advertised

analyze_sql — Analyze SQL safety & cost
Advertised by the server during the last successful anonymous check.

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.

analyze_sql input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "sql"
  ],
  "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."
    },
    "dialect": {
      "type": "string",
      "const": "postgres"
    },
    "rowCountHints": {
      "type": "object",
      "description": "Optional map of table name to estimated row count for realistic cost estimates.",
      "additionalProperties": {
        "type": "number"
      }
    }
  },
  "additionalProperties": false
}
set_policies — Set custom org policies (Pro)
Advertised by the server during the last successful anonymous check.

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.

set_policies input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "policies"
  ],
  "properties": {
    "policies": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "table",
          "operations",
          "action"
        ],
        "properties": {
          "table": {
            "type": "string",
            "description": "Exact table name or glob, e.g. \"payments\", \"audit_*\", \"*\"."
          },
          "action": {
            "enum": [
              "block",
              "warn"
            ],
            "type": "string"
          },
          "message": {
            "type": "string",
            "description": "Optional human message shown in the finding."
          },
          "operations": {
            "type": "array",
            "items": {
              "enum": [
                "select",
                "insert",
                "update",
                "delete",
                "truncate",
                "drop",
                "alter"
              ],
              "type": "string"
            },
            "description": "Operations this rule applies to."
          }
        },
        "additionalProperties": false
      },
      "description": "The full policy set (replaces any previously stored set; max 50)."
    }
  },
  "additionalProperties": false
}
get_policies — Get custom org policies (Pro)
Advertised by the server during the last successful anonymous check.

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.

get_policies input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (72 of 72 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1264 ms
95th percentile latency
1340 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1349 ms · 3 tool(s)
  • · probe · passed · 1178 ms · metadata changed · 3 tool(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http veto-sql-mcp https://vetosql.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add veto-sql-mcp --url https://vetosql.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable veto-sql-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "veto-sql-mcp": {
      "url": "https://vetosql.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "veto-sql-mcp": {
      "type": "streamableHttp",
      "url": "https://vetosql.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start veto-sql-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "veto-sql-mcp": {
      "type": "http",
      "url": "https://vetosql.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http veto-sql-mcp https://vetosql.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://vetosql.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "veto-sql-mcp": {
      "serverUrl": "https://vetosql.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Veto SQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

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.

Claim this listing