AgentHubAgentHub

greptimedb-mcp-server

MCP ServerMCP Registry官方收录

io.github.GreptimeTeam/greptimedb-mcp-server · v0.4.7

Query and analyze GreptimeDB metrics, logs and traces via SQL, TQL and RANGE queries.

概览

greptimedb-mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server"
      ]
    }
  }
}

环境变量

GREPTIMEDB_HOST可选

GreptimeDB host address

GREPTIMEDB_PORT可选

GreptimeDB MySQL protocol port (default: 4002)

GREPTIMEDB_USER可选

Database username

GREPTIMEDB_PASSWORD可选secret

Database password

GREPTIMEDB_DATABASE可选

Database name to connect to

GREPTIMEDB_TIMEZONE可选

Session timezone (default: UTC)

GREPTIMEDB_POOL_SIZE可选

Connection pool size (default: 5)

GREPTIMEDB_HTTP_PORT可选

HTTP API port for pipeline management (default: 4000)

GREPTIMEDB_HTTP_PROTOCOL可选

HTTP protocol for pipeline 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)

相关资源

统一 Manifest

{
  "id": "io.github.GreptimeTeam/greptimedb-mcp-server",
  "type": "mcp-server",
  "version": "0.4.7",
  "displayName": "greptimedb-mcp-server",
  "description": "Query and analyze GreptimeDB metrics, logs and traces via SQL, TQL and RANGE queries.",
  "repository": {
    "url": "https://github.com/GreptimeTeam/greptimedb-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "greptimedb-mcp-server",
        "version": "0.4.7",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GREPTIMEDB_HOST",
            "description": "GreptimeDB host address"
          },
          {
            "name": "GREPTIMEDB_PORT",
            "description": "GreptimeDB MySQL protocol port (default: 4002)"
          },
          {
            "name": "GREPTIMEDB_USER",
            "description": "Database username"
          },
          {
            "name": "GREPTIMEDB_PASSWORD",
            "description": "Database password",
            "isSecret": true
          },
          {
            "name": "GREPTIMEDB_DATABASE",
            "description": "Database name to connect to"
          },
          {
            "name": "GREPTIMEDB_TIMEZONE",
            "description": "Session timezone (default: UTC)"
          },
          {
            "name": "GREPTIMEDB_POOL_SIZE",
            "description": "Connection pool size (default: 5)"
          },
          {
            "name": "GREPTIMEDB_HTTP_PORT",
            "description": "HTTP API port for pipeline management (default: 4000)"
          },
          {
            "name": "GREPTIMEDB_HTTP_PROTOCOL",
            "description": "HTTP protocol for pipeline API: http or https (default: http)"
          },
          {
            "name": "GREPTIMEDB_MASK_ENABLED",
            "description": "Enable sensitive data masking (default: true)"
          },
          {
            "name": "GREPTIMEDB_MASK_PATTERNS",
            "description": "Additional column name patterns for data masking (comma-separated)"
          },
          {
            "name": "GREPTIMEDB_AUDIT_ENABLED",
            "description": "Enable audit logging for tool invocations (default: true)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.GreptimeTeam/greptimedb-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.GreptimeTeam%2Fgreptimedb-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
greptimedb-mcp-server — MCP Server 安装与配置 · AgentHub