Home › Databases & Data › greptimedb-mcp-server
greptimedb-mcp-server
Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.
Topics: Databases
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (pypi 0.6.0)
uvx greptimedb-mcp-server
Or add to your MCP client config:
{
"mcpServers": {
"greptimedb-mcp-server": {
"command": "uvx",
"args": [
"greptimedb-mcp-server"
],
"env": {
"GREPTIMEDB_PASSWORD": "<YOUR_VALUE>"
}
}
}
}
GREPTIMEDB_HOST— GreptimeDB host addressGREPTIMEDB_PORT— GreptimeDB MySQL protocol port (default: 4002)GREPTIMEDB_USER— Database usernameGREPTIMEDB_PASSWORDsecret — Database passwordGREPTIMEDB_DATABASE— Database name to connect toGREPTIMEDB_TIMEZONE— Session timezone (default: UTC)GREPTIMEDB_POOL_SIZE— Connection pool size (default: 5)GREPTIMEDB_HTTP_PORT— HTTP API port for pipeline/dashboard management (default: 4000)GREPTIMEDB_HTTP_PROTOCOL— HTTP protocol for pipeline/dashboard API: http or https (default: http)GREPTIMEDB_MASK_ENABLED— Enable sensitive data masking (default: true)GREPTIMEDB_MASK_PATTERNS— Additional column name patterns for data masking (comma-separated)GREPTIMEDB_AUDIT_ENABLED— Enable audit logging for tool invocations (default: true)GREPTIMEDB_ALLOW_WRITE— Allow write/destructive SQL (DDL/DML) via execute_sql by skipping the security gate. DANGEROUS: only use on local or test instances (default: false)
This server takes extra arguments — see its repository.
Related servers
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
Nhost
Let your users work with their own data through an AI assistant, limited to what they can see.
baserow/baserow
Baserow database integration: search and list tables, and create, read, update and delete rows.
crystaldba/postgres-mcp
Postgres development and operations: performance analysis, tuning and health checks.
Supabase
MCP server for interacting with the Supabase platform
Listed in punkpeye/awesome-mcp-servers (MIT)
Listed in wong2/awesome-mcp-servers (MIT)
Data from the Official MCP Registry