Skip to main content

TapDB MCP Agent

概览

TapDB 的 MCP Agent,用于列出项目并执行只读 SQL 查询。

能力

Tools

提供 2 个核心工具:

  • list_projects

    • 列出当前可访问的项目
    • 输入:无
    • 返回:项目列表(包含 id、name、appid 等信息)
  • list_project_tables

    • 查询指定项目的可访问数据表清单
    • 输入:
      • project_id (string): 项目的数字 ID(来自 list_projects)
    • 返回:返回结果是一个对象列表,对象包含'table_name','description'等信息
  • execute_project_query

    • 对指定项目执行只读 SQL
    • 输入:
      • project_id (string): 项目的数字 ID(来自 list_projects)
      • sql (string): 只读 SQL(仅 SELECT/DESC 等)
      • result_format (string,optional): 选择'csv'或者'dict',默认是csv
      • save_file_path (string,optional): 本地保存文件路径,结果写入该文件,并返回一个空list
    • 返回:result_format=csv时返回一个list[list[str,Any]],=dict时返回list[dict[str, Any]]

从源码构建

cd /path/to/tapdb-mcp-agent
uv pip install .
uv build

与 Cline 一起使用

# 添加到 cline_mcp_settings.json
"mcpServers": {
  "tapdb-mcp-agent": {
    "command": "uv",
    "args": [
      "run",
      "--with",
      "tapdb-mcp-agent",
      "tapdb-mcp-agent"
    ],
    "env": {
      "TAPDB_MCP_KEY": "{由TapDB分配给您的Access Key}",
      "TAPDB_MCP_ENDPOINT": "{cn=国内环境,sg=海外环境。默认是国内环境}"
    }
  }
}

Metadata

Release files for tapdb-mcp-agent 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tapdb-mcp-agent 0.0.6
File Size Uploaded Provenance
tapdb_mcp_agent-0.0.6.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tapdb-mcp-agent 0.0.6
File Interpreter ABI Platform
tapdb_mcp_agent-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / tapdb_mcp_agent-0.0.6.tar.gz

Download URL tapdb_mcp_agent-0.0.6.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ea5b7422b346228bee3ee8c9a74249d90259b11761016fb7b8c9aa2294915e43
BLAKE2b-256 checksum
How to use checksums
7fded276fb09e2e7919014eb866107268ccb87eced631ddd0b1f1129ff84f9a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / tapdb_mcp_agent-0.0.6-py3-none-any.whl

Download URL tapdb_mcp_agent-0.0.6-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0f125555a97f4924441fa5fad3b77a55805d7c80866184dbb91897657d2a497
BLAKE2b-256 checksum
How to use checksums
453be141e5488fde904fdf4d3af242f4bfec18bce0a2b8587647a011fbe8a462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for tapdb-mcp-agent 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page