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 --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.60.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.60-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_server_tapd-8.0.60.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.60.tar.gz
Algorithm Hash digest
SHA256 56b35fc96de6871d04e4e2c0f2f21644d6b2eb741362e1e7f379d800139061e8
MD5 60de766db2c139916dd01e6af6ab404a
BLAKE2b-256 d7833f955170c97cc1787c439951b4e285d0c50bd58014f7662944ff610a7da8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_tapd-8.0.60-py3-none-any.whl
Algorithm Hash digest
SHA256 340a5ed17fc1bdf226b89cecf09db94e6c3a4df9165815d7568a6fe4689ed864
MD5 ce80b7b53ca9966e8bd4d63e449a8269
BLAKE2b-256 60c7eafa2e96af5e48eb6d754a4c38aa0bb94ecdf1a10a435dcfaa5bc7e1b723

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