TIA-init
Initializes remote HTTP clients for test impact analysis by auto-issuing API keys, detecting agent type, and returning command files for local setup.
Instructions
【首次使用必调】TIA (Test Impact Analysis) 初始化引导工具。
远程 HTTP 客户端在接入 TIA MCP Server 后,必须先调用此工具完成初始化:
自动签发 API KEY(写入客户端 MCP 配置)
自动判断客户端 Agent 类型(X-Agent-Type 请求头 > agentType 参数) ClaudeCode → Claude Code 命令文件 CodeX → Codex (OpenAI) 技能文件 OpenCode → OpenCode 命令文件
自动返回 TIA 命令文件内容,由客户端 LLM 写入本地
调用前提:客户端 IP 已在服务端白名单中。 IP 不在白名单 → 403 + 联系人信息。
可重复调用:已持有效 API KEY 时跳过签发步骤,仅返回命令文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentType | No | 客户端 Agent 类型。优先读取 X-Agent-Type 请求头,此参数作为回退。 |