io.github.GreptimeTeam/greptimedb-mcp-server
MCPby GreptimeTeam · v0.4.7
Query and analyze GreptimeDB metrics, logs and traces via SQL, TQL and RANGE queries.
mcplocal
MCP configuration
stdio
Command
uvx greptimedb-mcp-server==0.4.7 --host --port --database --user --password --timezone
Environment
GREPTIMEDB_HOSTGreptimeDB host address
GREPTIMEDB_PORTGreptimeDB MySQL protocol port (default: 4002)
GREPTIMEDB_USERDatabase username
GREPTIMEDB_PASSWORDsecretDatabase password
GREPTIMEDB_DATABASEDatabase name to connect to
GREPTIMEDB_TIMEZONESession timezone (default: UTC)
GREPTIMEDB_POOL_SIZEConnection pool size (default: 5)
GREPTIMEDB_HTTP_PORTHTTP API port for pipeline management (default: 4000)
GREPTIMEDB_HTTP_PROTOCOLHTTP protocol for pipeline API: http or https (default: http)
GREPTIMEDB_MASK_ENABLEDEnable sensitive data masking (default: true)
GREPTIMEDB_MASK_PATTERNSAdditional column name patterns for data masking (comma-separated)
GREPTIMEDB_AUDIT_ENABLEDEnable audit logging for tool invocations (default: true)
Install in one click with Zurek
Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.