Skip to main content
Glama

GreptimeDB MCP Server

Official
by GreptimeTeam

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GREPTIMEDB_HOSTNoDatabase hostlocalhost
GREPTIMEDB_PORTNoDatabase MySQL port4002
GREPTIMEDB_USERNoThe database usernameroot
GREPTIMEDB_DATABASENoThe database namepublic
GREPTIMEDB_PASSWORDNoThe database password
GREPTIMEDB_TIMEZONENoThe session time zoneUTC

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_sql

Execute SQL query against GreptimeDB. Please use MySQL dialect when generating SQL queries.

Prompts

Interactive templates invoked by user choice

NameDescription
metrics_analysisComprehensive metrics analysis template for monitoring and analyzing data from GreptimeDB
table_operationTable operations such as querying region metadata, backing up/restoring data for table in GreptimeDB.

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/GreptimeTeam/greptimedb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server