Connects to InfluxDB time-series databases for querying measurements, writing data, and managing buckets through a bridge that exposes database functionality via tools and resources.
Log in to your InfluxDB Account
- Go to the web UI of your InfluxDB instance. If you're using InfluxDB Cloud, visit https://cloud2.influxdata.com/.
- If running a self-hosted instance, open the URL where your InfluxDB is running (by default: http://localhost:8086).
Navigate to the API Tokens Section
- In the InfluxDB web interface, click on your profile icon (usually in the top right corner).
- Select "API Tokens" or "Tokens" from the menu.
Create a New API Token
- Click the “Generate API Token” or similar option.
- Select the required access permissions (for full functionality, use “All Access Token”; for restricted access, select the appropriate buckets/permissions).
Copy Your API Token
- After generating the token, copy it immediately. This string will serve as your
INFLUXDB_TOKEN
.
(Optional) Find Your InfluxDB Organization Name
- Go to the “Organizations” or “Settings” page within the InfluxDB UI.
- Copy your organization name if you need to set
INFLUXDB_ORG
.
(Optional) Copy Your InfluxDB URL
- Use the URL where your InfluxDB instance is accessible. The default is
http://localhost:8086
, but it may be different for cloud or remote installations.
Fill in the FastMCP Connection Interface
- Open the FastMCP connection setup for the InfluxDB MCP server.
- Paste your API token into the field for
INFLUXDB_TOKEN
.
- (Optional) Enter your InfluxDB URL and organization name if not using the defaults.
Save or Proceed
- Complete the setup by saving or applying your changes.
Note: The API Token is sensitive. Keep it safe and do not share it publicly.