Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

InfluxDB 3

Latest version: v2.1.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
MCP server Transport: stdio Publisher: influxdata
39 Stars
14 Forks
4 Versions
TypeScript Repo language

Scan summary

InfluxDB 3 was last scanned on 30 Nov 2026 at version 2.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 2.1.0.
  • MCP server: Runs over stdio.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.1.0 LATEST 30 Nov 2026 No rules fired
2.0.1 30 Oct 2026 No rules fired
2.0.0 27 Oct 2026 No rules fired
1.4.2 8 Oct 2026 Not shown

No rules fired in 2.1.0

Findings

Findings for v2.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

InfluxDB 3 MCP Server

CI

Use this Model Context Protocol (MCP) server to connect your MCP client to InfluxDB. The server provides tools, resources, and prompts for InfluxDB 3 Core, InfluxDB 3 Enterprise, InfluxDB 3 Cloud, InfluxDB Cloud Dedicated, InfluxDB Clustered, and InfluxDB Cloud Serverless. For what each product was tested with, see Product coverage.


Prerequisites

  • InfluxDB 3 Instance: URL and token (Core, Enterprise, InfluxDB 3 Cloud, or Cloud Serverless), cluster ID and tokens (Cloud Dedicated), or URL and tokens (Clustered)
  • Node.js: 22.23.4 or a later 22.x, 24.22.1 or a later 24.x, or 26.12.1 or newer (for npm/npx usage)
  • pnpm: use the version pinned in package.json for local development. Run corepack enable to activate it.
  • Docker: (for Docker-based setup)

Node.js verifies TLS servers with a root certificate store built into the node binary. Earlier releases include roots that chain to compromised eMudhra/emSign intermediate CAs. The Docker image uses the latest Node.js 24 release. npm/npx installations use your local Node.js, so update it to a release listed above. Node.js 20 is end of life and has no fixed release.


Migrate to 2.0

Version 2.0 changes query result envelopes, health-check output, argument errors, and telemetry. Clients that parse these responses must follow the read-only output contract. Read metadata.completeness, caps, and warnings before treating query results as a complete answer. Discovery metadata states its source and leaves unavailable values unknown. Tool names and configured profiles remain available.

Read-only agent workflows

Set INFLUX_MCP_TOOL_PROFILE=readonly to give an MCP client tools that explore and query data. The profile leaves out every tool that writes data, administers databases, manages tokens, or runs on the host.

Credentials

Set INFLUX_DB_TOKEN to an admin token, a scoped token, or an Enterprise user-authentication JWT. The server sends it without inspecting it, so the token's permissions decide which databases the tools can read.

The tool profile limits which tools the client sees. It doesn't limit the token. With an admin token, the profile and the query checks below are the only boundary, so give the server a scoped token or an Enterprise JWT when the database should enforce read access too.

Query arguments

query_sql and query_influxql accept database for db and query for q. A call that gives both names with different values fails with invalid_arguments. Every argument error is a structured tool error and is recorded in telemetry.

Query checks and bounds

query_sql and query_influxql run one statement. You can include a trailing semicolon. A second statement fails with multiple_statements. The checks skip comments, string literals, and quoted identifiers, so a statement inside a comment is neither run nor counted.

A SQL query must start with SELECT, SHOW, EXPLAIN, or WITH, and an InfluxQL query with SELECT or SHOW. Anything else fails with not_read_only. A query also fails if one of these words appears outside literals and quoted identifiers:

  • SQL: INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, COPY, EXPORT, ATTACH, GRANT, REVOKE, TRUNCATE.
  • InfluxQL: DELETE, DROP, CREATE, ALTER, GRANT, REVOKE, and INTO, which fails with select_into.

Quote a column whose name is one of these words.

maxRows defaults to 1000. The most it accepts is 5000. Each query also gets these checks:

  • No limit: a SELECT or WITH query without a top-level LIMIT gets LIMIT maxRows and a limit_added warning.
  • A larger limit: a LIMIT above maxRows is reduced to maxRows, with a limit_reduced warning.
  • A full limit: a query that fills its own smaller LIMIT gets limit_reached, because more rows might exist.
  • No time filter: a SELECT or WITH query that never mentions time gets missing_time_predicate.

Read-only results come back as json, jsonl, or csv on Core and Enterprise, and as json on Cloud Dedicated, Cloud Serverless, and Clustered. pretty and parquet fail with unsupported_query_format. SQL on Cloud Dedicated and Cloud Serverless goes over Flight, which doesn't accept timeoutMs; that fails with unsupported_query_option.

SQL results on Cloud Dedicated and Cloud Serverless have millisecond timestamps, because the InfluxDB 3 JavaScript client library (@influxdata/influxdb3-client) converts timestamps to milliseconds. The time column is an ISO 8601 string. Any other timestamp column, such as a date_bin result, is a number of epoch milliseconds. An integer too large to represent exactly as a JSON number is a string.

Discovery

list_databases returns what the server lists, with visibility: "unknown", because a listed database might still be unreadable. health_check returns JSON with separate health and ping outcomes. A scoped token can be denied both checks and still read its databases.

investigate_database keeps each table's result even when another table fails, and reports how many tables it saw and whether it stopped early. The tool samples from a 24-hour window by default. Set sampleWindowHours to change the window. An empty window doesn't mean the table is empty. On Core and Enterprise, describe_table and investigation use system.influxdb_schema for authoritative column roles. They also read schema mode and deletion status from the _internal catalog when the same credential permits it, reporting source: "server" and the catalog table name. Unavailable values stay unknown. If the catalog denies access, the tools keep readable column metadata and samples. Without authoritative deletion metadata, a table name with a timestamp-shaped suffix gets an advisory possibly_deleted warning and stays listed. Cardinality estimates aren't supported yet.

Errors

When a call fails, read error.code, error.recovery, and error.retryable:

  • A 403 is not_found_or_denied. A token without access gets 403 whether or not the database exists.
  • A 404 is not_found.
  • A SQL query that names an unknown table has recovery: "fix_reference". Call list_tables or describe_table for the right name.
  • A query that runs out of server memory has recovery: "narrow".
  • A query sent to an Enterprise ingest-only node has recovery: "change_endpoint".
  • An InfluxQL query to a Cloud Serverless bucket without a DBRP mapping fails with influxql_bucket_not_mapped. Cloud Serverless answers InfluxQL only for a bucket that has a mapping. Use query_sql, which needs no mapping, or create one with POST /api/v2/dbrps.
  • Other server failures have recovery: "none".

EXPLAIN ANALYZE runs the query within the same bounds and adds a diagnostic_execution warning.

Analyst explores an unfamiliar database

An analyst can connect an MCP client such as Claude Desktop, Cursor, Codex, or another agent harness and ask a question like:

Which sensors had the highest average temperature in the last 24 hours?

With the read-only profile, the agent can:

  1. Call list_databases to see accessible databases.
  2. Call list_tables and describe_table to discover measurements and columns.
  3. Treat uncertain tag and field categories as unknown.
  4. Build a bounded SQL query with db, q, and optional params.
  5. Call query_sql with structured JSON output.
  6. Return the result, row count, truncation status, warnings, and correlation metadata.

The user gets a grounded answer and a reusable query while the agent explores and queries data without access to mutation or administration tools.

For a reproducible local version of this example, see the sensor-temperature demo.

Operator investigates an InfluxQL dashboard query

An operator can troubleshoot an existing InfluxQL dashboard panel and ask:

Why did this panel stop showing data after the deploy?

With the read-only profile, the agent can:

  1. Keep the user's query in InfluxQL and call query_influxql.
  2. Use SHOW queries and schema discovery to verify the measurement and referenced columns.
  3. Sample recent rows with bounded reads to distinguish missing data from a broken query.
  4. Reject unsafe follow-up attempts, such as SELECT INTO or destructive statements.
  5. Return request_id, query_id, and query_id_source so the operator can correlate the MCP result with system.queries.id when query history is available.
  6. Emit structured logs to stderr for stdio transports so stdout remains reserved for MCP protocol messages.

The user gets a practical diagnosis, such as missing data, renamed schema, a wrong time predicate, or a query failure. The investigation is traceable without logging full query text by default.


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 Deprecated since 2.0.0. Use query_sql. Retained for compatibility All versions
query_sql Run bounded read-only SQL with structured response metadata All versions
query_influxql Run bounded read-only InfluxQL with structured response metadata 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
list_tables List tables, also called measurements, in a database All versions
describe_table Describe table schema with conservative column categories All versions
investigate_database Run high-level read-only database discovery and sampling All versions
create_admin_token Create a named admin token with an optional expiration 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 Enterprise only
list_resource_tokens List all resource tokens (with filtering and ordering) Enterprise only
delete_token Delete a token by name Core/Enterprise only
regenerate_operator_token Regenerate the operator token (dangerous/irreversible) Core/Enterprise only, not InfluxDB 3 Cloud
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

"All versions" includes InfluxDB 3 Cloud, which uses the Enterprise tools. On InfluxDB 3 Cloud:

  • health_check, list_databases, list_tables, describe_table, and query_sql were tested.
  • regenerate_operator_token isn't available. InfluxData manages the operator token, and customers can't use it.
  • create_admin_token, list_admin_tokens, delete_token, create_resource_token, and list_resource_tokens depend on your role's permissions in InfluxDB 3 Cloud. They haven't been tested.

Resources

Resource Name Description
influx-config Read-only access to InfluxDB configuration
influx-status Real-time connection and health status
influx-databases List of all databases in the instance
context-file Custom user-provided database context and documentation

Prompts

Prompt Name Description
list-databases Generate a prompt to list all available databases
check-health Generate a prompt to check InfluxDB health status
load-context Load custom database context and documentation

Set up the server

1. Set environment variables
InfluxDB 3 Core and Enterprise

You must provide:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.influxdata/influxdb3-mcp-server

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229