{
  "name": "influxdb",
  "display_name": "InfluxDB",
  "description": "Run queries against InfluxDB OSS API v2.",
  "repository": {
    "type": "git",
    "url": "https://github.com/idoru/influxdb-mcp-server"
  },
  "homepage": "https://github.com/idoru/influxdb-mcp-server",
  "author": {
    "name": "idoru"
  },
  "license": "MIT",
  "categories": [
    "Databases"
  ],
  "tags": [
    "InfluxDB",
    "API",
    "server",
    "time-series"
  ],
  "installations": {
    "npm": {
      "type": "npm",
      "command": "npx",
      "args": [
        "influxdb-mcp-server"
      ],
      "env": {
        "INFLUXDB_TOKEN": "${INFLUXDB_TOKEN}",
        "INFLUXDB_URL": "${INFLUXDB_URL}",
        "INFLUXDB_ORG": "${INFLUXDB_ORG}"
      }
    }
  },
  "arguments": {
    "INFLUXDB_TOKEN": {
      "description": "Authentication token for the InfluxDB API",
      "required": true,
      "example": "your_token"
    },
    "INFLUXDB_URL": {
      "description": "URL of the InfluxDB instance",
      "required": false,
      "example": "http://localhost:8086"
    },
    "INFLUXDB_ORG": {
      "description": "Default organization name for certain operations",
      "required": false,
      "example": "your_org"
    }
  },
  "tools": [
    {
      "name": "write-data",
      "description": "Write data to InfluxDB in line protocol format.",
      "inputSchema": {
        "org": {
          "type": "string",
          "description": "The organization name"
        },
        "bucket": {
          "type": "string",
          "description": "The bucket name"
        },
        "data": {
          "type": "string",
          "description": "Data in InfluxDB line protocol format"
        },
        "precision": {
          "type": "string",
          "enum": [
            "ns",
            "us",
            "ms",
            "s"
          ],
          "description": "Timestamp precision (ns, us, ms, s)"
        }
      },
      "required": [
        "org",
        "bucket",
        "data"
      ]
    },
    {
      "name": "query-data",
      "description": "Execute a Flux query on InfluxDB data.",
      "inputSchema": {
        "org": {
          "type": "string",
          "description": "The organization name"
        },
        "query": {
          "type": "string",
          "description": "Flux query string"
        }
      },
      "required": [
        "org",
        "query"
      ]
    },
    {
      "name": "create-bucket",
      "description": "Create a new bucket in InfluxDB.",
      "inputSchema": {
        "name": {
          "type": "string",
          "description": "The bucket name"
        },
        "orgID": {
          "type": "string",
          "description": "The organization ID"
        },
        "retentionPeriodSeconds": {
          "type": "number",
          "description": "Retention period in seconds (optional)"
        }
      },
      "required": [
        "name",
        "orgID"
      ]
    },
    {
      "name": "create-org",
      "description": "Create a new organization in InfluxDB.",
      "inputSchema": {
        "name": {
          "type": "string",
          "description": "The organization name"
        },
        "description": {
          "type": "string",
          "description": "Organization description (optional)"
        }
      },
      "required": [
        "name"
      ]
    }
  ]
}
