Skip to content
mcp/skillhub

valv MCP Server

by valv-devsh.valv/mcpv0.6.2

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

5Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active8d ago

Install valv MCP server

Install in Claude Code

claude mcp add valv-dev -e DATABASE_URL='<database-url>' -- npx -y @valv/mcp

Configuration

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

Freshness

Active — last maintenance signal 8d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-02 · 8d ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-28 · 2mo ago · official registry · v0.6.2

FAQ

›How do I install the valv MCP server in Claude Code?

Run: claude mcp add valv-dev -e DATABASE_URL='<database-url>' -- npx -y @valv/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does valv require an API key?

Yes. It expects DATABASE_URL, of which 1 is a secret.

›Can I use valv as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is valv in the official MCP registry?

Yes, as sh.valv/mcp.

Alternatives to valv

Other database MCP servers.

View all