Skip to content
Cline

valv for Cline

sh.valv/mcp

Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.

client:Cline transport:stdio runtime:npm

Install valv in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "VALV_PROVIDER": "<VALV_PROVIDER>",
        "VALV_DATABASE": "<VALV_DATABASE>",
        "VALV_TABLES": "<VALV_TABLES>",
        "VALV_EXCLUDE": "<VALV_EXCLUDE>",
        "VALV_POLICY_FILE": "<VALV_POLICY_FILE>",
        "VALV_CONTEXT": "<VALV_CONTEXT>",
        "VALV_HTTP_PORT": "<VALV_HTTP_PORT>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

valv in other clients