Home / Market / valv

valv

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

mcp★ 075 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-mcp-1fdd3ec0a8df86b73c25": { "command": "npx", "args": [ "-y", "--package", "@valv/mcp@0.6.2", "valv-mcp" ], "env": { "DATABASE_URL": "${ENV_DATABASE_URL}", "VALV_PROVIDER": "${ENV_VALV_PROVIDER}", "VALV_DATABASE": "${ENV_VALV_DATABASE}", "VALV_TABLES": "${ENV_VALV_TABLES}", "VALV_EXCLUDE": "${ENV_VALV_EXCLUDE}", "VALV_POLICY_FILE": "${ENV_VALV_POLICY_FILE}", "VALV_CONTEXT": "${ENV_VALV_CONTEXT}", "VALV_HTTP_PORT": "${ENV_VALV_HTTP_PORT}" } } }, "setup": { "fields": [ { "id": "ENV_DATABASE_URL", "label": "DATABASE_URL", "description": "Database connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL.", "required": true, "secret": true, "default": "" }, { "id": "ENV_VALV_PROVIDER", "label": "VALV_PROVIDER", "description": "Datasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_DATABASE", "label": "VALV_DATABASE", "description": "Database name. Required for ClickHouse, whose URL does not carry one.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_TABLES", "label": "VALV_TABLES", "description": "Comma-separated allow-list of tables. When set, only these are exposed to the agent.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_EXCLUDE", "label": "VALV_EXCLUDE", "description": "Comma-separated deny-list of tables, applied after the allow-list.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_POLICY_FILE", "label": "VALV_POLICY_FILE", "description": "Path to a policy module that takes full control of access. Without it, the server is read-only across all tables.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_CONTEXT", "label": "VALV_CONTEXT", "description": "JSON context object the policy reads, e.g. {\"tenant\":{\"id\":\"acme\"}}.", "required": false, "secret": false, "default": "" }, { "id": "ENV_VALV_HTTP_PORT", "label": "VALV_HTTP_PORT", "description": "Serve over Streamable HTTP on this port instead of stdio.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "sh.valv/mcp", "registryVersion": "0.6.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/sh.valv%2Fmcp/versions/0.6.2", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@valv/mcp", "version": "0.6.2", "integrity": "sha512-g5DyeD72MUduqaAmzlHUosjb44puDAZnbzFXhpHRy54bnmqcyy0GpjnuegxqPgjlQFHr+6jJzwqVRTcn0EOgJw==", "registryNameMatched": "sh.valv/mcp", "checkedAt": "2026-11-04T17:42:41.445Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }