TAPD MCP Server

v1.0.8
io.github.sun-jingtao/tapd-mcp-server Checked 1 day ago Published 4 months ago

在 Cursor/Copilot 中查询、分析和回填 TAPD bug / 需求

Values you need

VariableWhat it is
TAPD_ACCESS_TOKENrequired secret TAPD 个人访问令牌
TAPD_ALLOW_RAW_WRITEoptional 是否允许 tapd_call_api 通用透传工具发起 POST 写操作,设为 true 开启;默认关闭,仅拦截透传写入,不影响专用写工具

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add tapd-mcp-server -e 'TAPD_ACCESS_TOKEN=<TAPD_ACCESS_TOKEN>' -- npx -y tapd-mcp-server@1.0.8
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tapd-mcp-server": {
      "args": [
        "-y",
        "tapd-mcp-server@1.0.8"
      ],
      "command": "npx",
      "env": {
        "TAPD_ACCESS_TOKEN": "<TAPD_ACCESS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tapd-mcp-server": {
      "args": [
        "-y",
        "tapd-mcp-server@1.0.8"
      ],
      "command": "npx",
      "env": {
        "TAPD_ACCESS_TOKEN": "<TAPD_ACCESS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TAPD_ACCESS_TOKEN",
      "id": "tapd-access-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "tapd-mcp-server": {
      "args": [
        "-y",
        "tapd-mcp-server@1.0.8"
      ],
      "command": "npx",
      "env": {
        "TAPD_ACCESS_TOKEN": "${input:tapd-access-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tapd-mcp-server]
command = "npx"
args = ["-y", "tapd-mcp-server@1.0.8"]
env = { "TAPD_ACCESS_TOKEN" = "<TAPD_ACCESS_TOKEN>" }

For AI agents

  1. Ask the user for: TAPD_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: tapd_list_bugs, tapd_list_bug_changes, tapd_create_bug, tapd_get_bugs, tapd_writeback, tapd_upload_bug_attachment, tapd_upload_bug_image, tapd_append_bug_description_image, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json