II

idoru/influxdb-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

50 stars 19 forks 품질 85 트렌드 20MIT

idoru/influxdb-mcp-server는 MCP 서버 후보가 https://github.com/idoru/influxdb-mcp-server.]에서 가져온

개요

idoru/influxdb-mcp-server는 MCP 서버 후보가 https://github.com/idoru/influxdb-mcp-server.]에서 가져온

개요(AI 번역)

InfluxDB OSS API v2를 사용하여 InfluxDB v2 인스턴스에 액세스하는 모델 Context Protocol (MCP) 서버. Claude Code로 가장 많이 제작되었습니다.

특징

이 MCP 서버는 제공합니다:

-Resources: 조직, 물통 및 측정 자료에 접근

  • 도구: Data를 작성하고 쿼리를 실행하고 데이터베이스 개체를 관리
  • Prompts: 일반적인 Flux 쿼리 및 Line Protocol 형식의 템플릿

자원

서버는 다음과 같은 리소스를 노출:

  1. 조직 목록: influxdb://orgs
  • InfluxDB 인스턴스의 모든 조직을 표시합니다.
  1. 부켓 목록: influxdb://buckets
  • 메타데이터로 모든 버킷을 표시합니다.
  1. 부켓 측정: influxdb://bucket/{bucketName}/measurements
  • 지정된 버킷 내의 모든 측정 목록([T3]])
  1. ** 쿼리 데이터 **: influxdb://query/{orgName}/{fluxQuery}
  • Flux 쿼리를 실행하고 JSON으로 결과를 반환합니다 (headers] and one record per row per row, 모든 결과 테이블에)

템플릿 변수 (bucketName, orgName], fluxQuery]]])는 % 인코딩되어야한다, encodeURIComponent], 그래서 공백이 포함 된 이름 또는 / 및 멀티 라인 쿼리는 URI를 생존.

도구

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

InfluxDB v2 MCP Server

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2. Mostly built with Claude Code.

Features

This MCP server provides:

  • Resources: Access to organization, bucket, and measurement data
  • Tools: Write data, execute queries, and manage database objects
  • Prompts: Templates for common Flux queries and Line Protocol format

Resources

The server exposes the following resources:

  1. Organizations List: influxdb://orgs

    • Displays all organizations in the InfluxDB instance
  2. Buckets List: influxdb://buckets

    • Shows all buckets with their metadata
  3. Bucket Measurements: influxdb://bucket/{bucketName}/measurements

    • Lists all measurements within a specified bucket (uses INFLUXDB_ORG)
  4. Query Data: influxdb://query/{orgName}/{fluxQuery}

    • Executes a Flux query and returns results as JSON (headers and one record per row, across all result tables)

Template variables (bucketName, orgName, fluxQuery) must be percent-encoded, e.g. with encodeURIComponent, so names containing spaces or / and multi-line queries survive the URI.

Tools

The server provides these tools:

  1. write-data: Write time-series data in line protocol format

    • Parameters: org, bucket, data, precision (optional)
    • org and bucket are optional when INFLUXDB_ORG / INFLUXDB_BUCKET are set, and fall back to those values
  2. query-data: Execute Flux queries

    • Parameters: org, query
    • org is optional when INFLUXDB_ORG is set, and falls back to that value
  3. create-bucket: Create a new bucket

    • Parameters: name, orgID, retentionPeriodSeconds (optional, whole seconds; omit or pass 0 for infinite retention)
  4. create-org: Create a new organization

    • Parameters: name, description (optional)

Prompts

The server offers these prompt templates:

  1. flux-query-examples: Common Flux query examples
  2. line-protocol-guide: Guide to InfluxDB line protocol format

Configuration

The server requires these environment variables:

  • INFLUXDB_TOKEN (required): Authentication token for the InfluxDB API
GitHub에서 전체 README 보기

설치

npx influxdb-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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