idoru / influxdb-mcp-server

An MCP Server for querying InfluxDB
MIT License
10 stars 5 forks source link

the address of influxdb #1

Open zhanghaiqiangshigezhu opened 1 month ago

zhanghaiqiangshigezhu commented 1 month ago

where can i configure the address of influxdb

idoru commented 1 month ago

It's done with environment variables.

{
  "mcpServers": {
    "influxdb": {
      "command": "npx",
      "args": ["influxdb-mcp-server"],
      "env": {
        "INFLUXDB_TOKEN": "your_token",
        "INFLUXDB_URL": "http://localhost:8086",
        "INFLUXDB_ORG": "your_org"
      }
    }
  }
}