mcp-dwh
by ivanmandat
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GF_URL | No | Grafana base URL. Only needed for dash_publish. | http://127.0.0.1:3000 |
| CH_HOST | No | ClickHouse server address. | 127.0.0.1 |
| MCP_PORT | No | Port for the HTTP transport. | 8765 |
| CH_SECURE | No | Enable TLS for ClickHouse. Must be true when the database is on a remote server. | false |
| CH_VERIFY | No | Whether to verify the ClickHouse TLS certificate. | true |
| PG_DSN_FILE | Yes | Path to a file containing the PostgreSQL DSN. Required; the Postgres DSN is treated as a secret and read from a file. | |
| PG_POOL_MAX | No | Maximum PostgreSQL connection pool size. | 8 |
| PG_POOL_MIN | No | Minimum PostgreSQL connection pool size. | 1 |
| CH_HTTP_PORT | No | ClickHouse HTTP port. When CH_SECURE=true, the default becomes 8443. | 8123 |
| CH_MAX_LIMIT | No | Maximum row limit for ClickHouse query results. | 5000 |
| CH_POOL_SIZE | No | Size of the ClickHouse client pool. | 8 |
| MCP_TRANSPORT | No | MCP transport mode: stdio or http. | stdio |
| MCP_REPORTS_DIR | No | Directory where generated HTML reports are stored. | project root or /app/reports |
| CH_DEFAULT_LIMIT | No | Default row limit for ClickHouse query results. | 200 |
| CH_DASHBOARD_USER | No | Read-only ClickHouse user used by the MCP server. | dashboard |
| MCP_AUTH_TOKEN_FILE | No | Path to a file containing the Bearer token for HTTP mode. Required if MCP_TRANSPORT=http. | |
| CH_ALLOWED_DATABASES | No | Comma-separated list of ClickHouse layers/databases visible to the agent. | core,mart |
| GF_ADMIN_PASSWORD_FILE | No | Path to a file containing the Grafana admin password, used when publishing dashboards to Grafana. | |
| CH_DASHBOARD_PASSWORD_FILE | Yes | Path to a file containing the password for the ClickHouse dashboard user. Required. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanmandat/clickhouse-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server