加载中…
Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.
valv 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 73/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 valv 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y @valv/mcp@0.6.2运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-07-28T08:14:34.542492Z",
"publishedAt": "2026-07-28T08:14:34.542492Z",
"statusChangedAt": "2026-07-28T08:14:34.542492Z"
}
},
"server": {
"name": "sh.valv/mcp",
"title": "valv",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.6.2",
"packages": [
{
"version": "0.6.2",
"transport": {
"type": "stdio"
},
"identifier": "@valv/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "DATABASE_URL",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "Database connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL."
},
{
"name": "VALV_PROVIDER",
"format": "string",
"choices": [
"postgresql",
"mysql",
"sqlite",
"clickhouse"
],
"description": "Datasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted."
},
{
"name": "VALV_DATABASE",
"format": "string",
"description": "Database name. Required for ClickHouse, whose URL does not carry one."
},
{
"name": "VALV_TABLES",
"format": "string",
"description": "Comma-separated allow-list of tables. When set, only these are exposed to the agent."
},
{
"name": "VALV_EXCLUDE",
"format": "string",
"description": "Comma-separated deny-list of tables, applied after the allow-list."
},
{
"name": "VALV_POLICY_FILE",
"format": "filepath",
"description": "Path to a policy module that takes full control of access. Without it, the server is read-only across all tables."
},
{
"name": "VALV_CONTEXT",
"format": "string",
"description": "JSON context object the policy reads, e.g. {\"tenant\":{\"id\":\"acme\"}}."
},
{
"name": "VALV_HTTP_PORT",
"format": "number",
"description": "Serve over Streamable HTTP on this port instead of stdio."
}
]
}
],
"repository": {
"url": "https://github.com/valv-dev/valv",
"source": "github",
"subfolder": "packages/mcp"
},
"websiteUrl": "https://valv.sh",
"description": "Let coding agents query any SQL database safely. Read-only by default and scoped by your policies."
}
}