Skip to main content

An AWS Labs Model Context Protocol (MCP) server for Timestream for InfluxDB

Project description

AWS Labs Timestream for InfluxDB MCP Server

An AWS Labs Model Context Protocol (MCP) server for Timestream for InfluxDB. This server provides tools to interact with AWS Timestream for InfluxDB APIs, allowing you to create and manage database instances, clusters, parameter groups, and more. It also includes tools to interact with InfluxDB's write and query APIs.

Features

  • Create, update, list, describe, and delete Timestream for InfluxDB database instances
  • Create, update, list, describe, and delete Timestream for InfluxDB database clusters
  • Manage DB parameter groups
  • Tag management for Timestream for InfluxDB resources
  • Manage InfluxDB 2 buckets and organizations
  • Write and query data using InfluxDB 2 APIs

Pre-requisites

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.10
  3. Set up AWS credentials with access to AWS services
    • You need an AWS account with appropriate permissions
    • Configure AWS credentials with aws configure or environment variables
    • Consider starting with Read-only permission if you don't want the LLM to modify any resources

Installation

Kiro Cursor VS Code
Add to Kiro Install MCP Server Install on VS Code

You can modify the settings of your MCP client to run your local server (e.g. for Kiro, ~/.kiro/settings/mcp.json)

{
  "mcpServers": {
    "awslabs.timestream-for-influxdb-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.timestream-for-influxdb-mcp-server@latest"],
      "env": {
        "AWS_PROFILE": "your-aws-profile",
        "AWS_REGION": "us-east-1",
        "INFLUXDB_URL": "https://your-influxdb-endpoint:8086",
        "INFLUXDB_TOKEN": "your-influxdb-token",
        "INFLUXDB_ORG": "your-influxdb-org",
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Windows Installation

For Windows users, the MCP server configuration format is slightly different:

{
  "mcpServers": {
    "awslabs.timestream-for-influxdb-mcp-server": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "uv",
      "args": [
        "tool",
        "run",
        "--from",
        "awslabs.timestream-for-influxdb-mcp-server@latest",
        "awslabs.timestream-for-influxdb-mcp-server.exe"
      ],
      "env": {
        "AWS_PROFILE": "your-aws-profile",
        "AWS_REGION": "us-east-1",
        "INFLUXDB_URL": "https://your-influxdb-endpoint:8086",
        "INFLUXDB_TOKEN": "your-influxdb-token",
        "INFLUXDB_ORG": "your-influxdb-org",
        "FASTMCP_LOG_LEVEL": "ERROR"
      }
    }
  }
}

Available Tools

The Timestream for InfluxDB MCP server provides the following tools:

AWS Timestream for InfluxDB Management

Database Cluster Management
  • CreateDbCluster: Create a new Timestream for InfluxDB database cluster
  • GetDbCluster: Retrieve information about a specific DB cluster
  • DeleteDbCluster: Delete a Timestream for InfluxDB database cluster
  • ListDbClusters: List all Timestream for InfluxDB database clusters
  • UpdateDbCluster: Update a Timestream for InfluxDB database cluster
  • ListDbClusters: List all Timestream for InfluxDB database clusters
  • ListDbInstancesForCluster: List DB instances belonging to a specific cluster
  • ListClustersByStatus: List DB clusters filtered by status
Database Instance Management
  • CreateDbInstance: Create a new Timestream for InfluxDB database instance
  • GetDbInstance: Retrieve information about a specific DB instance
  • DeleteDbInstance: Delete a Timestream for InfluxDB database instance
  • ListDbInstances: List all Timestream for InfluxDB database instances
  • UpdateDbInstance: Update a Timestream for InfluxDB database instance
  • ListDbInstancesByStatus: List DB instances filtered by status
Parameter Group Management
  • CreateDbParamGroup: Create a new DB parameter group
  • GetDbParameterGroup: Retrieve information about a specific DB parameter group
  • ListDbParamGroups: List all DB parameter groups
Tag Management
  • ListTagsForResource: List all tags on a Timestream for InfluxDB resource
  • TagResource: Add tags to a Timestream for InfluxDB resource
  • UntagResource: Remove tags from a Timestream for InfluxDB resource

InfluxDB Data Operations

Write API
  • InfluxDBWritePoints: Write data points to InfluxDB
  • InfluxDBWriteLP: Write data in Line Protocol format to InfluxDB
Query API
  • InfluxDBQuery: Query data from InfluxDB using Flux query language
Bucket Management
  • InfluxDBListBuckets: List all buckets in InfluxDB
  • InfluxDBCreateBucket: Create a new bucket in InfluxDB
Organization Management
  • InfluxDBListOrgs: List all organizations in InfluxDB
  • InfluxDBCreateOrg: Create a new organization in InfluxDB

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file awslabs_timestream_for_influxdb_mcp_server-0.0.18.tar.gz.

File metadata

File hashes

Hashes for awslabs_timestream_for_influxdb_mcp_server-0.0.18.tar.gz
Algorithm Hash digest
SHA256 5d9c1f94d1b0e1df4e0d8951c747b004ba6003e79fad9365c99a9dee7a84db9c
MD5 0694fbf7e21a6556a755e27c8e256e7e
BLAKE2b-256 3eb407d51d14c3abdfda86f165a1123fd2423e250c409475a5c72f22dc9de934

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_timestream_for_influxdb_mcp_server-0.0.18.tar.gz:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awslabs_timestream_for_influxdb_mcp_server-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for awslabs_timestream_for_influxdb_mcp_server-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 84ddfbe2c150c28f8ff4f5d7534caab6a20bee80b5f30fe8dc972a8d7d0f55bf
MD5 0e3f32a5815fce6a1420bd6e6afa0246
BLAKE2b-256 076a33e0b8349e51204f4eae8676607211137a5abc7efd133243b54fbec6a733

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_timestream_for_influxdb_mcp_server-0.0.18-py3-none-any.whl:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page