MetorialDocs

Set up InfluxDB Cloud in Metorial for Claude, ChatGPT and Cursor

Share InfluxDB Cloud with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 46 tools (21 read-only).

To give your team InfluxDB Cloud in Claude, ChatGPT, Cursor and other AI clients, an admin shares the InfluxDB Cloud integration in a Metorial portal, and each person connects with an API token. Agents can write and query time-series data with the InfluxDB Cloud TSM/v2 API using line protocol and Flux. The integration has 46 tools, 21 read-only, 16 write and 9 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares InfluxDB Cloud in a portal and how each person connects
  • What InfluxDB Cloud asks for when you connect, and where to find it
  • How to keep the 21 read-only tools and reject the other 25

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: InfluxDB Cloud API token

Setup settings

Setup also asks for:

  • baseUrl: InfluxDB Cloud region-specific URL (e.g., https://us-east-1-1.aws.cloud2.influxdata.com)
  • orgId: InfluxDB organization ID

Admin: share InfluxDB Cloud in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose InfluxDB Cloud. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from InfluxDB Cloud.

Choose who gets it

Add the access groups that should see InfluxDB Cloud. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user InfluxDB Cloud integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "influxdb cloud"

Employee: connect InfluxDB Cloud

In the portal

Open InfluxDB Cloud in the catalog

Sign in to your portal and open InfluxDB Cloud. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "influxdb cloud"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your InfluxDB Cloud connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "influxdb cloud"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 21 read-only tools, such as get_task and get_bucket, and lose the 16 write tools, such as run_task or write_data, and the 9 destructive tools, such as delete_data or delete_dbrp.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "influxdb cloud"
metorial tools <integration-id>
metorial call <integration-id> list_dbrps -d '{}'

metorial tools lists the 46 tools, minus any you rejected. list_dbrps takes no input. It lists all database/retention policy (DBRP) mappings for v1 compatibility.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (21)

  • list_authorizations: List all API token authorizations in the organization.
  • list_labels: List all labels in the organization.
  • list_dashboards: List a page of dashboards in the organization.
  • get_telegraf: Retrieve a specific Telegraf configuration by ID, including the full TOML configuration content. Needs telegrafId.
  • list_dbrps: List all database/retention policy (DBRP) mappings for v1 compatibility.
  • list_organizations: List organizations visible to the current API token.
  • get_task: Retrieve details of a specific task by its ID, including the Flux script and scheduling configuration. Needs taskId.
  • list_notification_rules: List a page of notification rules in the organization.
  • list_buckets: List a page of buckets in the organization.
  • get_organization_members: List all members of a specific organization, including their roles and status.
  • list_telegrafs: List all Telegraf agent configurations in the organization.
  • list_checks: List a page of monitoring checks in the organization.
  • list_tasks: List a page of scheduled Flux tasks in the organization.
  • list_secrets: List all secret keys stored for the organization.
  • query_data: Execute a **Flux** query against InfluxDB Cloud and return the results. Needs query.
  • get_task_runs: List recent runs for a specific task, including their status, scheduled time, and completion details. Needs taskId.
  • list_notification_endpoints: List a page of notification endpoints in the organization.
  • get_dashboard: Retrieve one dashboard including its cells and labels.
  • get_current_user: Retrieve the user associated with the current InfluxDB API token.
  • get_task_run_logs: Retrieve task-run log events to diagnose a failed or completed run.
  • get_bucket: Retrieve one bucket and its retention settings.

Write tools (16)

  • write_data: Write time-series data to an InfluxDB Cloud bucket using **line protocol** format. Needs bucket and lineProtocol.
  • run_task: Manually trigger a task run outside of its normal schedule. Needs taskId.
  • create_bucket: Create a new bucket in the organization for storing time-series data. Needs name.
  • update_bucket: Update an existing bucket's name, description, or retention period. Needs bucketId.
  • create_authorization: Create a new API token with specific permissions. Needs permissions.
  • update_label: Update an existing label's name, color, or description. Needs labelId.
  • create_telegraf: Create a new Telegraf agent configuration. Needs name and config.
  • update_telegraf: Update an existing Telegraf configuration's name, description, or TOML content. Needs telegrafId.
  • create_dashboard: Create a new dashboard for visualizing time-series data. Needs name.
  • update_dashboard: Update an existing dashboard's name or description. Needs dashboardId.
  • update_authorization: Update an authorization's description or toggle its status between active and inactive. Needs authorizationId.
  • create_dbrp: Create a new DBRP mapping to enable v1-compatible queries against an InfluxDB Cloud bucket. Needs bucketId, database and retentionPolicy.
  • update_task: Update an existing task's name, description, Flux script, schedule, or status. Needs taskId.
  • create_label: Create a new label for organizing and grouping InfluxDB resources. Needs name.
  • create_task: Create a new scheduled Flux task. Needs name and flux.
  • upsert_secrets: Add or update one or more secrets for the organization. Needs secrets.

Destructive tools (9)

  • delete_secrets: Delete one or more secrets from the organization by their keys. Needs secretKeys.
  • delete_data: Delete time-series data points from an InfluxDB Cloud bucket within a specified time range. Needs bucket, start and stop.
  • delete_bucket: Permanently delete a bucket and all of its stored time-series data. Needs bucketId.
  • delete_dashboard: Permanently delete a dashboard and all its cells. Needs dashboardId.
  • delete_authorization: Permanently delete an API token authorization. Needs authorizationId.
  • delete_telegraf: Permanently delete a Telegraf agent configuration. Needs telegrafId.
  • delete_task: Permanently delete a scheduled Flux task. Needs taskId.
  • delete_dbrp: Delete a DBRP mapping. v1-compatible tools using this mapping will no longer be able to access the bucket. Needs dbrpId.
  • delete_label: Permanently delete a label. Needs labelId.

Triggers

InfluxDB Cloud has 3 triggers, which fire on events in InfluxDB Cloud:

  • inbound_webhook
  • task_run_updates: Polls for new task runs and their completion status.
  • bucket_changes: Polls for changes to buckets in the organization.

Next steps