Skip to main content

A MCP Agent for TapDB

Project description

TapDB MCP Agent

概览

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

能力

Tools

提供 2 个核心工具:

  • list_projects

    • 列出当前可访问的项目
    • 输入:无
    • 返回:项目列表(包含 idnameappid 等信息)
  • execute_project_query

    • 对指定项目执行只读 SQL
    • 输入:
      • project_id (string): 项目的数字 ID(来自 list_projects
      • sql (string): 只读 SQL(仅 SELECT/DESC 等)
    • 返回:查询结果数组

从源码构建

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_BASE_URL": "{由TapDB分配给您的后端服务地址(HTTPS)}"
    }
  }
}

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

tapdb_mcp_agent-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

tapdb_mcp_agent-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file tapdb_mcp_agent-0.0.1.tar.gz.

File metadata

  • Download URL: tapdb_mcp_agent-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for tapdb_mcp_agent-0.0.1.tar.gz
Algorithm Hash digest
SHA256 98e23d10ac1680d3daf362d7b206dae7ad78a3db323959e87f776770e6d1ff39
MD5 b5bc5642cb8271ed1423cb3e2f2c08b2
BLAKE2b-256 5380f2aba54ffb64c9a70cf888d01ba16cdb22817b111c35cf02102b22b853bb

See more details on using hashes here.

File details

Details for the file tapdb_mcp_agent-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tapdb_mcp_agent-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fc638cbf1c73cf22428af9c8dad4ad4a8193200a192454905dc9a9dbc0c186f
MD5 b32eeda82c2d09634f203361a97112f7
BLAKE2b-256 da2e7a6ba5b73950e54f472a5da3bd9e4cac9aad45313126c4afbe96eced1941

See more details on using hashes here.

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