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
- A portal with at least one access group
- An API token from InfluxDB Cloud for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | token |
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:
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
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.
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 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. NeedstelegrafId.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. NeedstaskId.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. Needsquery.get_task_runs: List recent runs for a specific task, including their status, scheduled time, and completion details. NeedstaskId.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. NeedsbucketandlineProtocol.run_task: Manually trigger a task run outside of its normal schedule. NeedstaskId.create_bucket: Create a new bucket in the organization for storing time-series data. Needsname.update_bucket: Update an existing bucket's name, description, or retention period. NeedsbucketId.create_authorization: Create a new API token with specific permissions. Needspermissions.update_label: Update an existing label's name, color, or description. NeedslabelId.create_telegraf: Create a new Telegraf agent configuration. Needsnameandconfig.update_telegraf: Update an existing Telegraf configuration's name, description, or TOML content. NeedstelegrafId.create_dashboard: Create a new dashboard for visualizing time-series data. Needsname.update_dashboard: Update an existing dashboard's name or description. NeedsdashboardId.update_authorization: Update an authorization's description or toggle its status between active and inactive. NeedsauthorizationId.create_dbrp: Create a new DBRP mapping to enable v1-compatible queries against an InfluxDB Cloud bucket. NeedsbucketId,databaseandretentionPolicy.update_task: Update an existing task's name, description, Flux script, schedule, or status. NeedstaskId.create_label: Create a new label for organizing and grouping InfluxDB resources. Needsname.create_task: Create a new scheduled Flux task. Needsnameandflux.upsert_secrets: Add or update one or more secrets for the organization. Needssecrets.
Destructive tools (9)
delete_secrets: Delete one or more secrets from the organization by their keys. NeedssecretKeys.delete_data: Delete time-series data points from an InfluxDB Cloud bucket within a specified time range. Needsbucket,startandstop.delete_bucket: Permanently delete a bucket and all of its stored time-series data. NeedsbucketId.delete_dashboard: Permanently delete a dashboard and all its cells. NeedsdashboardId.delete_authorization: Permanently delete an API token authorization. NeedsauthorizationId.delete_telegraf: Permanently delete a Telegraf agent configuration. NeedstelegrafId.delete_task: Permanently delete a scheduled Flux task. NeedstaskId.delete_dbrp: Delete a DBRP mapping. v1-compatible tools using this mapping will no longer be able to access the bucket. NeedsdbrpId.delete_label: Permanently delete a label. NeedslabelId.
Triggers
InfluxDB Cloud has 3 triggers, which fire on events in InfluxDB Cloud:
inbound_webhooktask_run_updates: Polls for new task runs and their completion status.bucket_changes: Polls for changes to buckets in the organization.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use InfluxDB Cloud there
- Tool permissions: tool filters and what employees see
- InfluxDB Cloud on metorial.com: the integration overview