
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases over stdio or HTTP transports.
MCP server for PostgreSQL and ClickHouse access is cataloged as an MCP server attributed to conte777. An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases over stdio or HTTP transports. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for PostgreSQL and ClickHouse access are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. It can connect any number of PostgreSQL and ClickHouse instances at once.
No. Transactions are not supported on ClickHouse; a transaction begin throws.
README.md · d0c7a6c753ba · 采集于 2026-11-13 11:56:25 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases. It supports both stdio and HTTP transports, for local IDE integration and remote network access.
database parameter, or a separate tool per databasenpm install @conte777/db-view-mcp
Or clone and build from source:
git clone <repo-url>
cd db-view-mcp
npm install
npm run build
Copy the example config and edit it:
cp config.example.json config.json
Minimal stdio config:
{
"databases": [
{
"id": "main_pg",
"type": "postgresql",
"host": "localhost",
"port": 5432,
"database": "myapp",
"user": "admin",
"password": "secret123"
}
]
}
Every field, default, and the full config reference (SSL/TLS, per-database overrides, environment substitution, HTTP transport) is in docs/configuration.md.
# Stdio (default)
npm start -- --config config.json
# HTTP (set transport.type to "http" in config, or override on the CLI)
npm start -- --config config.json --transport http
# Development (no build needed)
npm run dev -- --config config.json
Claude Desktop (claude_desktop_config.json) or Claude Code (.mcp.json), stdio:
{
"mcpServers": {
"database": {
"command": "npx",
"args": ["-y", "@conte777/db-view-mcp", "--config", "/path/to/config.json"]
}
}
}
Any MCP client, HTTP:
node dist/index.js --config config.json --transport http
# Server listens on http://127.0.0.1:3000/mcp
See docs/http-transport.md for sessions, auth, and curl examples.
| Doc | Contents |
|---|---|
| docs/configuration.md | Every config field, defaults, SSL/TLS, rowFormat, env substitution, hot reload |
| docs/tools.md | The 9 tools: params, output, examples, error codes, per-database mode |
| docs/http-transport.md | stdio vs HTTP, sessions, bearer auth, /health, curl |
| docs/security.md | Read-only SQL validator, deny-lists, response caps, network exposure |
| docs/architecture.md | Source tree, layers, connector model, lifecycle (hot reload, shutdown) |
| CONTRIBUTING.md | Build, test, lint, hooks, CI |
transaction begin throws).params are ignored — use ClickHouse's native {name:Type} syntax in the SQL.See CONTRIBUTING.md for build/test/lint commands, coverage thresholds, git hooks, and CI.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for PostgreSQL and ClickHouse access from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/db-view-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.