Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GF_URLNoGrafana base URL. Only needed for dash_publish.http://127.0.0.1:3000
CH_HOSTNoClickHouse server address.127.0.0.1
MCP_PORTNoPort for the HTTP transport.8765
CH_SECURENoEnable TLS for ClickHouse. Must be true when the database is on a remote server.false
CH_VERIFYNoWhether to verify the ClickHouse TLS certificate.true
PG_DSN_FILEYesPath to a file containing the PostgreSQL DSN. Required; the Postgres DSN is treated as a secret and read from a file.
PG_POOL_MAXNoMaximum PostgreSQL connection pool size.8
PG_POOL_MINNoMinimum PostgreSQL connection pool size.1
CH_HTTP_PORTNoClickHouse HTTP port. When CH_SECURE=true, the default becomes 8443.8123
CH_MAX_LIMITNoMaximum row limit for ClickHouse query results.5000
CH_POOL_SIZENoSize of the ClickHouse client pool.8
MCP_TRANSPORTNoMCP transport mode: stdio or http.stdio
MCP_REPORTS_DIRNoDirectory where generated HTML reports are stored.project root or /app/reports
CH_DEFAULT_LIMITNoDefault row limit for ClickHouse query results.200
CH_DASHBOARD_USERNoRead-only ClickHouse user used by the MCP server.dashboard
MCP_AUTH_TOKEN_FILENoPath to a file containing the Bearer token for HTTP mode. Required if MCP_TRANSPORT=http.
CH_ALLOWED_DATABASESNoComma-separated list of ClickHouse layers/databases visible to the agent.core,mart
GF_ADMIN_PASSWORD_FILENoPath to a file containing the Grafana admin password, used when publishing dashboards to Grafana.
CH_DASHBOARD_PASSWORD_FILEYesPath 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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