InfluxDB MCP Server
Model Context Protocol (MCP) server for InfluxDB 3 integration. Provides tools, resources, and prompts for interacting with InfluxDB v3 (Core/Enterprise/Cloud Dedicated/Clustered/Cloud Serverless) via MCP clients.
Prerequisites
- InfluxDB 3 Instance: URL and token (Core/Enterprise/Cloud Serverless) or Cluster ID and tokens (Cloud Dedicated/Clustered)
- Node.js: v20.11 or newer (for npm/npx usage)
- npm: v9 or newer (for npm/npx usage)
- Docker: (for Docker-based setup)
Available Tools
| Tool Name | Description | Availability |
|---|---|---|
load_database_context |
Load optional custom database context and documentation | All versions |
get_help |
Get help and troubleshooting guidance for InfluxDB operations | All versions |
write_line_protocol |
Write data using InfluxDB line protocol | All versions |
create_database |
Create a new database (with cloud-specific config options) | All versions |
update_database |
Update database configuration (retention for all; maxTables/maxColumns for Cloud Dedicated/Clustered) | All versions |
delete_database |
Delete a database by name (irreversible) | All versions |
execute_query |
Run a SQL query against a database (supports multiple formats) | All versions |
get_measurements |
List all measurements (tables) in a database | All versions |
get_measurement_schema |
Get schema (columns/types) for a measurement/table | All versions |
create_admin_token |
Create a new admin token (full permissions) | Core/Enterprise only |
list_admin_tokens |
List all admin tokens (with optional filtering) | Core/Enterprise only |
create_resource_token |
Create a resource token for specific DBs and permissions | Core/Enterprise only |
list_resource_tokens |
List all resource tokens (with filtering and ordering) | Core/Enterprise only |
delete_token |
Delete a token by name | Core/Enterprise only |
regenerate_operator_token |
Regenerate the operator token (dangerous/irreversible) | Core/Enterprise only |
cloud_list_database_tokens |
List all database tokens for Cloud-Dedicated/Clustered cluster | Cloud Dedicated/Clustered |
cloud_get_database_token |
Get details of a specific database token by ID | Cloud Dedicated/Clustered |
cloud_create_database_token |
Create a new database token for Cloud-Dedicated/Clustered cluster | Cloud Dedicated/Clustered |
cloud_update_database_token |
Update an existing database token | Cloud Dedicated/Clustered |
cloud_delete_database_token |
Delete a database token from Cloud-Dedicated/Clustered cluster | Cloud Dedicated/Clustered |
list_databases |
List all available databases in the instance | All versions |
health_check |
Check InfluxDB connection and health status | All versions |






