# Vericto Proxy mode (local, PostgreSQL)

> Vericto Proxy mode (local, PostgreSQL) is an open-source MCP server for databases. Blocks destructive SQL before it reaches your PostgreSQL or MySQL database. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Linux, macOS, Windows, CLI, self-hosted
- **Repository:** https://github.com/vericto/vericto-proxy
- **MCP Registry name:** com.vericto/vericto-proxy
- **Categories:** databases, security
- **Listing updated:** 2026-11-14

## About

Vericto Proxy sits on the database wire protocol between clients and the database. It parses each statement with an AST parser, checks it against rules, then either forwards it or returns a normal SQL error. The README says the same input always gives the same result, with no AI or heuristics involved.

The built-in ruleset stops a DELETE or UPDATE without WHERE, DROP TABLE, DROP SCHEMA, TRUNCATE, OR-tautology injection and column drops or renames. Lower-severity patterns such as SELECT * without WHERE are forwarded and recorded. A demo in the README shows a bare DELETE rejected with a Vericto error while one with a WHERE clause goes through.

This registry entry is the local stdio mode, run from a Docker image with no account needed. A runtime key can optionally link it to a workspace's own rules. The software is AGPL-3.0, with a commercial licence available from Vericto S.A.S., and a native binary is available for Linux, macOS and Windows.

## Features

- **Statement checking:** Parses every query and checks it against rules before it runs.
- **Built-in ruleset:** Blocks unqualified deletes and updates, drops, truncates and injection patterns.
- **Native error replies:** Blocked queries get a normal database error such as SQLSTATE 42501.
- **PostgreSQL and MySQL:** One proxy fronts one database speaking one wire protocol.
- **No code changes:** Applications only change host and port in the connection string.
- **Offline by default:** Works with no account or API key on the built-in rules.

## Good for

- Stop an agent from running DELETE without WHERE
- Guard production access for scripts and people
- Log risky but allowed statements for review
- Try the rules on a throwaway Postgres in Docker

## Install

### Claude Code (Terminal)

```sh
claude mcp add vericto-proxy --env VERICTO_API_KEY='<VERICTO_API_KEY>' -- docker run -i --rm -e VERICTO_API_KEY docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "vericto-proxy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VERICTO_API_KEY",
        "docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1"
      ],
      "env": {
        "VERICTO_API_KEY": "<VERICTO_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "vericto-proxy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VERICTO_API_KEY",
        "docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1"
      ],
      "env": {
        "VERICTO_API_KEY": "<VERICTO_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "vericto-proxy": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VERICTO_API_KEY",
        "docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1"
      ],
      "env": {
        "VERICTO_API_KEY": "<VERICTO_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "vericto-proxy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VERICTO_API_KEY",
        "docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1"
      ],
      "env": {
        "VERICTO_API_KEY": "<VERICTO_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "vericto-proxy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VERICTO_API_KEY",
        "docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1"
      ],
      "env": {
        "VERICTO_API_KEY": "<VERICTO_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Does it need an account?

No. The local mode runs on the built-in rules without a key.

### Is AI used to decide what is blocked?

No. The README says there are no stochastic heuristics, so the same input always gives the same result.

### What licence applies?

AGPL-3.0-only, or a commercial licence from Vericto S.A.S.

### Which databases are supported by the wire proxy?

PostgreSQL and MySQL. Other dialects are evaluated through an HTTP API, CLI or MCP.

### Is Vericto Proxy mode (local, PostgreSQL) free?

Yes. Vericto Proxy mode (local, PostgreSQL) is open source, so you can use and self-host it for free.

### How do I add Vericto Proxy mode (local, PostgreSQL) to Claude Code?

Run this command in your terminal: claude mcp add vericto-proxy --env VERICTO_API_KEY='<VERICTO_API_KEY>' -- docker run -i --rm -e VERICTO_API_KEY docker.io/vericto/vericto-proxy:5.2.0@sha256:0fa68edbf196818ed43cca4c2c381e1913c39c9cc84fa63f7321b7358d4dded1

### What are the best alternatives to Vericto Proxy mode (local, PostgreSQL)?

The closest alternatives to Vericto Proxy mode (local, PostgreSQL) are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/vericto-proxy-mode-local-postgresql
