valv
sh.valv/mcp
About valv
valv is an MCP server published by valv.sh. Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.
It runs on your own machine: your AI client starts it from the npm package @valv/mcp at version 0.6.2.
It asks for one secret: DATABASE_URL. Give it a key with the least access that still works.
Version 0.6.2 was published on 28 July 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
DATABASE_URL | Yes | Yes | Database connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL. |
VALV_PROVIDER | No | No | Datasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted. |
VALV_DATABASE | No | No | Database name. Required for ClickHouse, whose URL does not carry one. |
VALV_TABLES | No | No | Comma-separated allow-list of tables. When set, only these are exposed to the agent. |
VALV_EXCLUDE | No | No | Comma-separated deny-list of tables, applied after the allow-list. |
VALV_POLICY_FILE | No | No | Path to a policy module that takes full control of access. Without it, the server is read-only across all tables. |
VALV_CONTEXT | No | No | JSON context object the policy reads, e.g. {"tenant":{"id":"acme"}}. |
VALV_HTTP_PORT | No | No | Serve over Streamable HTTP on this port instead of stdio. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/valv-dev/valv |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: DATABASE_URL |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via domain valv.sh |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @valv/mcp@0.6.2 runs nothing at install |
| Code red flags | Pass | Read 13 files in @valv/mcp@0.6.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 13 files, including comments and the README |
Popularity & health: 58 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 1 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | sh.valv/mcp |
|---|---|
| Publisher | Domain valv.sh |
| How the name is verified | Name verified via domain valv.sh. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @valv/mcp 0.6.2 (stdio) |
| Version | 0.6.2 |
| Published | |
| Last updated | |
| Source repository | https://github.com/valv-dev/valv |
| Website | https://valv.sh |
| Category | Databases & data (assigned by keyword rule, not by hand) |
Related servers in Databases & data
- QueryPilot7/7Safe SQL gateway for AI agents: SELECT-only validation, access…
- safedb-mcp7/7A secure MCP server that lets AI agents query databases safely.
- schemagate7/7Identity-scoped schema selection for text-to-SQL. Returns only the…
- TeamMemory7/7Team experience database - let AI accumulate, retrieve and apply…
- Drizzle MCP7/7Drizzle Studio for agents: explore your database through your…
- SQLite MCP Sidecar4/4Agent-safe MCP sidecar for one live SQLite database: read-only…