{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.GreptimeTeam/greptimedb-mcp-server",
  "slug": "io.github.greptimeteam.greptimedb-mcp-server",
  "title": "greptimedb-mcp-server",
  "summary": "Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE.",
  "version": "0.6.0",
  "serverKey": "greptimedb-mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.greptimeteam.greptimedb-mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.greptimeteam.greptimedb-mcp-server/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T10:39:51.296941526Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server==0.6.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add greptimedb-mcp-server -- uvx greptimedb-mcp-server==0.6.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"greptimedb-mcp-server\": {\n      \"args\": [\n        \"greptimedb-mcp-server==0.6.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"greptimedb-mcp-server\": {\n      \"args\": [\n        \"greptimedb-mcp-server==0.6.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"greptimedb-mcp-server\": {\n      \"args\": [\n        \"greptimedb-mcp-server==0.6.0\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.greptimedb-mcp-server]\ncommand = \"uvx\"\nargs = [\"greptimedb-mcp-server==0.6.0\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "GREPTIMEDB_HOST",
      "required": false,
      "secret": false,
      "description": "GreptimeDB host address",
      "help": "GreptimeDB host address",
      "placeholder": "<GREPTIMEDB_HOST>"
    },
    {
      "name": "GREPTIMEDB_PORT",
      "required": false,
      "secret": false,
      "description": "GreptimeDB MySQL protocol port (default: 4002)",
      "help": "GreptimeDB MySQL protocol port (default: 4002)",
      "placeholder": "<GREPTIMEDB_PORT>"
    },
    {
      "name": "GREPTIMEDB_USER",
      "required": false,
      "secret": false,
      "description": "Database username",
      "help": "Database username",
      "placeholder": "<GREPTIMEDB_USER>"
    },
    {
      "name": "GREPTIMEDB_PASSWORD",
      "required": false,
      "secret": true,
      "description": "Database password",
      "help": "Database password",
      "placeholder": "<GREPTIMEDB_PASSWORD>"
    },
    {
      "name": "GREPTIMEDB_DATABASE",
      "required": false,
      "secret": false,
      "description": "Database name to connect to",
      "help": "Database name to connect to",
      "placeholder": "<GREPTIMEDB_DATABASE>"
    },
    {
      "name": "GREPTIMEDB_TIMEZONE",
      "required": false,
      "secret": false,
      "description": "Session timezone (default: UTC)",
      "help": "Session timezone (default: UTC)",
      "placeholder": "<GREPTIMEDB_TIMEZONE>"
    },
    {
      "name": "GREPTIMEDB_POOL_SIZE",
      "required": false,
      "secret": false,
      "description": "Connection pool size (default: 5)",
      "help": "Connection pool size (default: 5)",
      "placeholder": "<GREPTIMEDB_POOL_SIZE>"
    },
    {
      "name": "GREPTIMEDB_HTTP_PORT",
      "required": false,
      "secret": false,
      "description": "HTTP API port for pipeline/dashboard management (default: 4000)",
      "help": "HTTP API port for pipeline/dashboard management (default: 4000)",
      "placeholder": "<GREPTIMEDB_HTTP_PORT>"
    },
    {
      "name": "GREPTIMEDB_HTTP_PROTOCOL",
      "required": false,
      "secret": false,
      "description": "HTTP protocol for pipeline/dashboard API: http or https (default: http)",
      "help": "HTTP protocol for pipeline/dashboard API: http or https (default: http)",
      "placeholder": "<GREPTIMEDB_HTTP_PROTOCOL>"
    },
    {
      "name": "GREPTIMEDB_MASK_ENABLED",
      "required": false,
      "secret": false,
      "description": "Enable sensitive data masking (default: true)",
      "help": "Enable sensitive data masking (default: true)",
      "placeholder": "<GREPTIMEDB_MASK_ENABLED>"
    },
    {
      "name": "GREPTIMEDB_MASK_PATTERNS",
      "required": false,
      "secret": false,
      "description": "Additional column name patterns for data masking (comma-separated)",
      "help": "Additional column name patterns for data masking (comma-separated)",
      "placeholder": "<GREPTIMEDB_MASK_PATTERNS>"
    },
    {
      "name": "GREPTIMEDB_AUDIT_ENABLED",
      "required": false,
      "secret": false,
      "description": "Enable audit logging for tool invocations (default: true)",
      "help": "Enable audit logging for tool invocations (default: true)",
      "placeholder": "<GREPTIMEDB_AUDIT_ENABLED>"
    },
    {
      "name": "GREPTIMEDB_ALLOW_WRITE",
      "required": false,
      "secret": false,
      "description": "Allow write/destructive SQL (DDL/DML) via execute_sql by skipping the security gate. DANGEROUS: only use on local or test instances (default: false)",
      "help": "Allow write/destructive SQL (DDL/DML) via execute_sql by skipping the security gate. DANGEROUS: only use on local or test instances (default: false)",
      "placeholder": "<GREPTIMEDB_ALLOW_WRITE>"
    }
  ],
  "expectedTools": [
    "execute_sql",
    "describe_table",
    "search_table_semantics",
    "query_semantic_graph",
    "health_check",
    "execute_tql",
    "query_range",
    "explain_query",
    "list_pipelines",
    "create_pipeline",
    "dryrun_pipeline",
    "delete_pipeline",
    "list_dashboards",
    "create_dashboard",
    "delete_dashboard"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: execute_sql, describe_table, search_table_semantics, query_semantic_graph, health_check, execute_tql, query_range, explain_query, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T10:39:51.296941526Z"
}
