AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Tdengine Tsdb

mcp-taosdata-mcp-tdengine-tsdb · by taosdata

MCP Server for TDengine TSDB

— No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add mcp-taosdata-mcp-tdengine-tsdb

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ● Network access Used
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-taosdata-mcp-tdengine-tsdb)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 8mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Tdengine Tsdb? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

mcp-tdengine-tsdb

English | [简体中文](README-CN.md)

Table of Contents

  • [1. Introduction](#1-introduction)
  • [2. Documentation](#2-documentation)
  • [3. Prerequisites](#3-prerequisites)
  • [4. Build](#4-build)
  • [5. Testing](#5-testing)
  • [5.1 Test Execution](#51-test-execution)
  • [5.2 Test Case Addition](#52-test-case-addition)
  • [5.3 Performance Testing](#53-performance-testing)
  • [6. CI/CD](#6-cicd)
  • [7. Submitting Issues](#7-submitting-issues)
  • [8. Submitting PRs](#8-submitting-prs)
  • [9. References](#9-references)
  • [10. License](#10-license)

1. Introduction

MCP Server for TDengine TSDB provides a complete set of tools for querying, managing, and monitoring TDengine time-series database.

Core Tools

  • Query Tool (query) - Execute TDengine SELECT queries and return results
  • Show Tool (show) - Execute various SHOW commands to query metadata, supporting multiple parameter options
  • Info Tool (info) - Provide TDengine server information, including version, status, etc.
  • Describe Table Tool (describe_table) - Describe the structure of a specified table
  • Predefined Schema Overview Tool (getschemaoverview) - Get database structure overview information

Technical Features

  • Developed in Go language, lightweight and efficient
  • Uses TDengine WebSocket driver to connect to the database
  • Supports configuration via command line parameters and environment variables
  • CSV format result output

2. Documentation

Configuration Options

| Parameter | Environment Variable | Default Value | Description | |:--------------------------|:---------------------------------|:--------------|:----------------------------------------------------------------------------------------| | --host | TDENGINE_HOST | localhost | TDengine hostname | | --port | TDENGINE_PORT | 6041 | TDengine port (taosAdapter port) | | --user | TDENGINE_USER | root | TDengine username | | --pass | TDENGINE_PASS | taosdata | TDengine password | | --db | TDENGINE_DB | | TDengine database name | | --dsn | TDENGINE_DSN | | TDengine Data Source Name (DSN), higher priority than individual connection parameters | | --schema_overview_file | TDENGINE_SCHEMA_OVERVIEW_FILE | | Predefined database schema overview file path |

Usage Instructions

Installation
  1. Download the latest release
  2. Place the executable in your system's $PATH or in an easily accessible location.
  3. Alternatively, if you have Go installed, you can build from source using:
go install -v github.com/taosdata/mcp-tdengine-tsdb@latest
Configuring MCP

Example of adding to MCP configuration file:

{
  "mcpServers": {
    "tdengine-tsdb": {
      "command": "mcp-tdengine-tsdb",
      "args": [
        "--host", "localhost",
        "--port", "6041",
        "--user", "root",
        "--pass", "taosdata",
        "--db", "test"
      ]
    }
  }
}
  • command: Specify the executable name or path
  • args: List of parameters passed to the executable

3. Prerequisites

  • Go 1.24.12 environment
  • TDengine database 3.3.6.0 or higher
  • Git version control tool

4. Build

Clone Repository

git clone https://github.com/taosdata/mcp-tdengine-tsdb.git
cd mcp-tdengine-tsdb

Build Project

go build -o mcp-tdengine-tsdb

5. Testing

Tests will operate on the test database, which will be deleted after testing. Please ensure the test database does not contain important data.

5.1 Test Execution

  1. Before running tests, ensure that the TDengine server is installed and that taosd and taosAdapter are running.

The database should be empty.

  1. In the project directory, run go test ./... to execute the tests. The tests will connect to the local TDengine

server and taosAdapter for testing.

  1. The output result PASS means the test passed, while FAIL means the test failed. For detailed information, run

go test -v ./....

5.2 Test Case Addition

Add test cases to the *_test.go file to ensure that the test cases cover the new code.

5.3 Performance Testing

Performance testing is in progress.

6. CI/CD

The project uses GitHub Actions for continuous integration and continuous deployment (CI/CD), with configuration files located at .github/workflows/build.yml.

When code is pushed to the main branch or a pull request is created for the main branch, the CI workflow will automatically trigger, executing automated builds and tests.

7. Submitting Issues

We welcome submitting GitHub Issues. When submitting, please include the following information:

  • Problem description
  • Reproduction steps
  • Expected behavior
  • Actual behavior
  • Environment information
  • Related screenshots or logs

8. Submitting PRs

We welcome developers to contribute to this project. When submitting PRs, please follow these steps:

  1. Fork this project. Please refer

to how to fork a repo.

  1. Create a new branch from the main branch with a meaningful branch name (git checkout -b my_branch).
  2. Modify the code, ensure all unit tests pass, and add new unit tests to verify the changes.
  3. Push the changes to the remote branch (git push origin my_branch).
  4. Create a Pull Request on GitHub. Please refer

to how to create a pull request.

  1. After submitting the PR, you can find your PR through

the Pull Request. Click on the corresponding link to see if the CI for your PR has passed. If it has passed, it will display "All checks have passed". Regardless of whether the CI passes or not, you can click "Show all checks" -> "Details" to view the detailed test case logs.

  1. After submitting the PR, if the CI passes, you can find your PR on

the codecov page to check the coverage.

9. References

10. License

[MIT License](./LICENSE)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.