Skip to main content

TAPD MCP Server

Project description

TAPD MCP Server

TAPD 是腾讯敏捷研发管理平台,覆盖需求、计划、研发、测试、发布研发全生命周期。支持用自然语言与 TAPD 对话,实现需求、缺陷、任务、迭代等管理。

  • 与 TAPD API 无缝集成,提升开发效率

系统要求

  • uv
  • TAPD Access Token(推荐)或 TAPD API 账号密码

快速开始

Install uv

brew install uv
# OR
curl -LsSf https://astral.sh/uv/install.sh | sh

参数

  • TAPD_ACCESS_TOKEN: 个人令牌(推荐)
  • TAPD_API_USER: API账号
  • TAPD_API_PASSWORD: API密钥
  • BOT_URL: 企业微信机器人 webhook 地址,如果需要发送消息到企业微信群才需要填(选填)

注意 TAPD_API_USER/TAPD_API_PASSWORD(TAPD API 账号密码) 与 TAPD_ACCESS_TOKEN(TAPD 个人授权令牌)为两种调用 MCP 的凭据,选一种即可。

获取 TAPD Access Token(推荐)

TAPD_ACCESS_TOKEN 为 TAPD 个人令牌,在 我的设置-个人访问令牌 点“创建个人访问令牌”,令牌只显示一次,注意保存下来。

获取 API 账号密码(兼容)

  1. 未注册,请前往 注册
  2. 已注册但未授权API,请前往API配置:登录TAPD,点击进入 公司管理-API账号管理,复制API账号和API密钥

IDE 配置

CodeBuddy / Claude Desktop / Cursor

本地 stdio 运行,环境变量配置示例(推荐个人 Token)

{
  "mcpServers": {
    "mcp-server-tapd": {
      "command": "uvx",
      "args": ["mcp-server-tapd"],
      "env": {
        "TAPD_ACCESS_TOKEN": "您的个人Token",
        // 兼容账号密码方式(如未配置 Token 时生效)
        "TAPD_API_USER": "",
        "TAPD_API_PASSWORD": "",
        "TAPD_API_BASE_URL": "https://api.tapd.cn",
        "TAPD_BASE_URL": "https://www.tapd.cn",
        "BOT_URL": ""
      }
    }
  }
}

Streamable HTTP 配置

使用 Streamable HTTP 替代 stdio

  1. 在终端手动启动服务
git clone https://cnb.cool/tapd_mcp/mcp-server-tapd.git

cd mcp-server-tapd/src/mcp_server_tapd

uv venv && source .venv/bin/activate

uv pip install requests markdown mcp mcp_server_tapd

python server.py --mode=streamable-http --host="0.0.0.0" --port=8000 --path="/mcp" --api-user=your_api_user --api-password=your_api_password --api-base-url=https://api.tapd.cn --tapd-base-url=https://www.tapd.cn  --bot-url="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=XXX"

# 如果使用个人 Token,则将 --api-user=your_api_user --api-password=your_api_password 替换为 --access-token=您的个人Token

  1. 通过如下配置连接到已启动的服务
{
  "mcpServers": {
    "tapd_mcp_http": {
      "url": "http://localhost:8000/mcp/"
    }
  }
}

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

mcp_server_tapd-8.0.58.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

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

mcp_server_tapd-8.0.58-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_tapd-8.0.58.tar.gz.

File metadata

  • Download URL: mcp_server_tapd-8.0.58.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for mcp_server_tapd-8.0.58.tar.gz
Algorithm Hash digest
SHA256 1824e506490692508d10a82501fd49b744bcc60412bccf63933d8b9b299ba70a
MD5 4343117d40a0f1da9121927c3048a588
BLAKE2b-256 639464b751a80d7daa34ae31c0247b3555ef86f761083e38371a03767217459b

See more details on using hashes here.

File details

Details for the file mcp_server_tapd-8.0.58-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_tapd-8.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 520e2493d586c0c9caf7079dfd5c451b3279b67ad2cd7ea2408c52046d98e50d
MD5 51a858e907ffa70a0f7fa4a69df47e71
BLAKE2b-256 96bf89140957352f6e8ba1c13a275444d0fe7a8b0d86b45ac25023bbf7d926f2

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