Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

valv

by valv-devversion 0.6.2i★ –iRuns on your computer
Registry namesh.valv/mcp

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets
  • You need to fill in: DATABASE_URL

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: DATABASE_URL, VALV_PROVIDER, VALV_DATABASE, VALV_TABLES, VALV_EXCLUDE, VALV_POLICY_FILE, VALV_CONTEXT, VALV_HTTP_PORT

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

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

Run this in your terminal

claude mcp add valv --env DATABASE_URL=your-value --env VALV_PROVIDER=your-value --env VALV_DATABASE=your-value --env VALV_TABLES=your-value --env VALV_EXCLUDE=your-value --env VALV_POLICY_FILE=your-value --env VALV_CONTEXT=your-value --env VALV_HTTP_PORT=your-value -- npx -y @valv/mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

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

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "valv": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "VALV_PROVIDER": "your-value",
        "VALV_DATABASE": "your-value",
        "VALV_TABLES": "your-value",
        "VALV_EXCLUDE": "your-value",
        "VALV_POLICY_FILE": "your-value",
        "VALV_CONTEXT": "your-value",
        "VALV_HTTP_PORT": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • DATABASE_URL secret required env
    Database connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL.
  • VALV_PROVIDER env
    Datasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted.
  • VALV_DATABASE env
    Database name. Required for ClickHouse, whose URL does not carry one.
  • VALV_TABLES env
    Comma-separated allow-list of tables. When set, only these are exposed to the agent.
  • VALV_EXCLUDE env
    Comma-separated deny-list of tables, applied after the allow-list.
  • VALV_POLICY_FILE env
    Path to a policy module that takes full control of access. Without it, the server is read-only across all tables.
  • VALV_CONTEXT env
    JSON context object the policy reads, e.g. {"tenant":{"id":"acme"}}.
  • VALV_HTTP_PORT env
    Serve over Streamable HTTP on this port instead of stdio.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified against the domain valv.sh (the registry checks domain ownership)

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 954 servers in this category
  • Published to the registry more recently than 21% of the other 954 servers in this category
  • Basic checks equal to or better than 100% of the other 954 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is valv safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DATABASE_URL

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.6.2) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

by supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

Computer or cloud★ 2,993Apache-2.0Updated yesterday
Install

MongoDB MCP Server

by mongodb-js

MongoDB Model Context Protocol Server

Runs on your computer★ 1,157Apache-2.0Updated 2 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@valv/mcp

Point it at a database URL. Your agent queries it safely. No SQL, no code.

A zero-config MCP server built on valv. Give it a connection string and it introspects your live schema, serves four tools (list_resources, search_resources, describe_resource, query) read-only by default, and enforces your policies — no SQL ever reaches the model, and it can only read what you allow.

Works with PostgreSQL, MySQL, SQLite, CockroachDB, ClickHouse, and MongoDB.

Guided setup

The fastest way in — it probes your database, lets you choose access, and writes the config:

npx @valv/mcp init

It takes either a connection string or individual fields (host, port, user, password, database), confirms the dialect, connects and shows your tables, then offers read-only / pick-tables / a policy-file stub. It then merges the server entry into the client of your choice — Claude Code, Claude Desktop, Cursor, or Codex — at project or global scope, leaving any existing config in place. Lastly it offers to install the valv skill, which teaches the agent how to query valv and turn results into interactive chart-report HTML files — as a skill for Claude Code (.claude/skills), Codex (.agents/skills), or Cursor (.cursor/skills), at project or global scope. Finally it can copy a kickstart prompt to your clipboard — paste it into your agent to explore the schema (seeding .valv/notes.md for future queries) and generate a single interactive valv-map.html overview of the database.

Manual setup

Add it to your .mcp.json (or Claude Desktop config):

{

"mcpServers": { "db": { "command": "npx", "args": ["-y", "@valv/mcp"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

For ClickHouse, use its HTTP URL and a database name:

"env": { "DATABASE_URL": "http://localhost:8123", "VALV_DATABASE": "analytics" }

For MongoDB, use a standard connection string. Set VALV_DATABASE when the URL does not select a database:

"env": { "DATABASE_URL": "mongodb://localhost:27017", "VALV_DATABASE": "analytics" }

Configuration

All via environment variables:

VariableDescription
DATABASE_URLConnection string (required; or pass as the first CLI arg).
VALV_PROVIDERpostgresql \mysql \sqlite \mongodb \clickhouse. Inferred from the URL when omitted.
VALV_DATABASEDatabase name for ClickHouse or MongoDB.
VALV_TABLESComma-separated allow-list — only these tables are exposed.
VALV_EXCLUDEComma-separated deny-list, applied after the allow-list.
VALV_POLICY_FILEPath to a policy module (below) for tenant scoping / hidden fields.
VALV_CONTEXTJSON context the policy reads (e.g. {"tenant":{"id":"acme"}}).
VALV_HTTP_PORTServe over Streamable HTTP on this port instead of stdio.

Policy file

Without one, access is read-only across all tables. To restrict what the agent can see — which tables, which columns — point VALV_POLICY_FILE at a module that receives the configured valv instance:

// valv.policy.cjs

module.exports = (valv) => { valv.policy("orders", () => ({ read: true, // allow reads (or { column: value } to filter rows) fields: { deny: ["internal_notes"] }, // hide columns from the agent })) // Tables without a policy are denied (deny-all). }

Need per-request row scoping by tenant/user? That belongs in the app-controlled path, where your code supplies real identity per request — use @valv/mcp-sdk (or pass a fixed VALV_CONTEXT and read it in the policy here).

License

MIT

Ask PopNx