Skip to main content
Glama
InfluxDB MCP Server

InfluxDB MCP Server

by Quorralyne

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INFLUX_DB_TOKENNoThe InfluxDB token (database token for Core/Enterprise/Cloud Dedicated)
INFLUX_DB_ACCOUNT_IDNoThe account ID for Cloud Dedicated InfluxDB (required for management operations)
INFLUX_DB_CLUSTER_IDNoThe cluster ID for Cloud Dedicated InfluxDB
INFLUX_DB_INSTANCE_URLNoThe URL of the InfluxDB instance (e.g. http://localhost:8181/)
INFLUX_DB_PRODUCT_TYPENoThe InfluxDB product type (core, enterprise, or cloud-dedicated)
INFLUX_DB_MANAGEMENT_TOKENNoThe management token for Cloud Dedicated InfluxDB (for database management operations)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_helpA

Get help and troubleshooting guidance for InfluxDB operations. Supports specific categories or keyword search.

write_line_protocolB

Write data to InfluxDB using line protocol format (all versions). Supports single records or batches.

Line Protocol Syntax: measurement,tag1=value1,tag2=value2 field1=value1,field2=value2 timestamp

Components:

  • measurement: table/measurement name (required)

  • tags: indexed metadata (optional) - comma-separated key=value pairs

  • fields: actual data (required) - space-separated from tags, comma-separated key=value pairs

  • timestamp: optional timestamp (precision must be specified in tool parameters)

Field Value Types:

  • Strings: "quoted string"

  • Floats: 123.45

  • Integers: 123i (note the 'i' suffix)

  • Booleans: t or f

Examples: Single record: temperature,location=office,building=main value=23.5,humidity=45i 1640995200 Batch (separate with newlines): temperature,location=office value=23.5 1640995200 humidity,location=office value=45i 1640995201

Important: Always specify correct precision parameter to match your timestamp format. Use any precision if writing data with no timestamp. Escaping required for special characters in tags/fields.

create_databaseB

Create a new database in InfluxDB. Database names must follow InfluxDB naming rules: alphanumeric characters, dashes (-), underscores (_), and forward slashes (/) are allowed. Must start with a letter or number. Maximum 64 characters. For Cloud Dedicated, optional configuration parameters can be specified.

update_databaseA

Update database configuration for InfluxDB Cloud Dedicated clusters only. Allows modification of maxTables, maxColumnsPerTable, and retentionPeriod settings. Not available for Core/Enterprise installations.

delete_databaseA

Delete a database from InfluxDB. Use the exact database name as returned by the list_databases tool.

list_databasesA

List all databases in the InfluxDB instance (all versions). Returns database names, count, and status information.

execute_queryB

Execute a SQL query against an InfluxDB database (all versions). Returns results in the specified format (defaults to JSON).

Large Dataset Warning: InfluxDB might contain massive time-series data. Always use COUNT(*) first to check size, then LIMIT/OFFSET for large results (>1000 rows).

Cloud Dedicated (v3) Requirements:

  • GROUP BY: Include all group columns in SELECT (e.g., SELECT place, COUNT(*) ... GROUP BY place)

  • Aggregations: Cast and alias COUNT (e.g., CAST(COUNT(*) AS DOUBLE) AS count)

get_measurementsA

Get a list of all measurements (tables) in a database (all versions). Uses the InfluxDB information_schema.columns to discover tables.

get_measurement_schemaB

Get the schema (column information) for a specific measurement/table (all versions). Shows column names, types, and categories (time/tag/field).

create_admin_tokenA

Create a new InfluxDB named admin token with full administrative permissions (Core/Enterprise only). Named admin tokens can manage databases, users, and resource tokens, but cannot manage other admin tokens.

list_admin_tokensA

List all admin tokens (operator and named admin tokens) with optional filtering by token name (Core/Enterprise only). Named admin tokens have full administrative access including resource token management.

list_resource_tokensA

List all resource tokens with optional filtering by database name and/or token name, and ordering (Core/Enterprise only).

regenerate_operator_tokenA

Regenerate the InfluxDB operator token (Core/Enterprise only). Returns the new token value. ⚠️ This action invalidates current operator token and is irreversible. Receive the explicit user confirmation before proceeding.

create_resource_tokenA

Create a new InfluxDB resource token with specific database permissions (Core/Enterprise only). Example: databases=["mydb", "testdb"], actions=["read", "write"]

delete_tokenB

Delete an InfluxDB token by name (Core/Enterprise only).

cloud_list_database_tokensA

List all database tokens for InfluxDB Cloud-Dedicated cluster. Returns token information including permissions and creation dates.

cloud_get_database_tokenB

Get details of a specific database token by ID for InfluxDB Cloud-Dedicated cluster.

cloud_create_database_tokenA

Create a new database token for InfluxDB Cloud-Dedicated cluster. Specify exact permissions per database or create a no-access token.

Permissions format: [{"database": "db_name", "action": "read|write"}, ...] Examples: • No access: omit permissions field or use [] • Read-only on 'analytics': [{"database": "analytics", "action": "read"}] • Mixed permissions: [{"database": "logs", "action": "read"}, {"database": "metrics", "action": "write"}] • Full access: [{"database": "", "action": "read"}, {"database": "", "action": "write"}]

cloud_update_database_tokenA

Update an existing database token for InfluxDB Cloud-Dedicated cluster. Can update description and/or permissions with precise control.

Permissions format: [{"database": "db_name", "action": "read|write"}, ...] Note: Permissions completely replace existing ones - include all desired permissions. Examples: • No access: use [] • Read-only on 'analytics': [{"database": "analytics", "action": "read"}] • Mixed permissions: [{"database": "logs", "action": "read"}, {"database": "metrics", "action": "write"}] • Full access: [{"database": "", "action": "read"}, {"database": "", "action": "write"}]

cloud_delete_database_tokenB

Delete a database token from InfluxDB Cloud-Dedicated cluster. This action cannot be undone.

health_checkA

Check current connection status to the InfluxDB instance. Returns connection status, configuration, and available endpoint results. Health assessment is flexible - if any check passes (client initialization, /health endpoint, or /ping), the instance is considered healthy. Available checks depend on the InfluxDB product type and token configuration.

Prompts

Interactive templates invoked by user choice

NameDescription
list-databasesGenerate a prompt to list all available databases
check-healthGenerate a prompt to check InfluxDB health status
query-recent-dataGenerate a prompt to query recent data from a measurement

Resources

Contextual data attached and managed by the client

NameDescription
influx-configInfluxDB configuration and connection status
influx-statusComprehensive status of the InfluxDB connection including ping and health check results
influx-databasesList of all databases in the InfluxDB instance

TDQS

A3.6/5.0

Scored across 21 tools

Disambiguation4/5

Most tools are clearly separated by resource and action, especially database, query, measurement, and write tools. Token-management tools overlap conceptually, but descriptions distinguish Core/Enterprise admin/resource tokens from Cloud-Dedicated database tokens. A few names, such as delete_token versus cloud_delete_database_token, could still cause hesitation.

Naming Consistency4/5

The set uses snake_case consistently and mostly follows a verb_noun pattern. The main deviation is the cloud_ prefix on Cloud-Dedicated token tools, while Core/Enterprise token tools lack a product prefix. health_check and get_help also differ slightly but remain readable.

Tool Count4/5

At 21 tools, the server is on the heavy side, but the scope spans multiple InfluxDB product variants and token types. Each tool broadly earns its place, though the token surface is large enough to feel somewhat sprawling.

Completeness4/5

The surface covers database lifecycle, querying, measurements, schema inspection, line-protocol writes, health, help, and extensive token management. Minor gaps exist, such as no explicit database-details tool and limited non-token administrative operations, but core workflows are well covered.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues