valv

sh.valv/mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp@0.6.2"
      ],
      "env": {
        "DATABASE_URL": "<your DATABASE_URL>"
      }
    }
  }
}
Environment variables
  • DATABASE_URLrequiredsecretDatabase connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
0.6.2
Registry
active
Published
7/28/2026
Browse all Databases →

Add the badge to your site

Show visitors that valv is listed here — it’s also the link we check for a free listing.

valv — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/sh-valv-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="valv — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![valv — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/sh-valv-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.