InfluxDB MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| INFLUX_DB_TOKEN | No | The InfluxDB token (database token for Core/Enterprise/Cloud Dedicated) | |
| INFLUX_DB_ACCOUNT_ID | No | The account ID for Cloud Dedicated InfluxDB (required for management operations) | |
| INFLUX_DB_CLUSTER_ID | No | The cluster ID for Cloud Dedicated InfluxDB | |
| INFLUX_DB_INSTANCE_URL | No | The URL of the InfluxDB instance (e.g. http://localhost:8181/) | |
| INFLUX_DB_PRODUCT_TYPE | No | The InfluxDB product type (core, enterprise, or cloud-dedicated) | |
| INFLUX_DB_MANAGEMENT_TOKEN | No | The 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
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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:
Field Value Types:
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:
|
| 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
| Name | Description |
|---|---|
| list-databases | Generate a prompt to list all available databases |
| check-health | Generate a prompt to check InfluxDB health status |
| query-recent-data | Generate a prompt to query recent data from a measurement |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| influx-config | InfluxDB configuration and connection status |
| influx-status | Comprehensive status of the InfluxDB connection including ping and health check results |
| influx-databases | List of all databases in the InfluxDB instance |
TDQS
Scored across 21 tools
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.
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.
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.
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.