Test Impact Analysis MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| impact_analysisA | 分析代码变更对测试用例的影响。基于 impact-rules.conf.json 中配置的文件→测试映射规则, 自动匹配变更文件对应的测试模块,返回受影响测试用例的优先级排序列表。 使用方式: impact_analysis(name="gh-backend") — 分析从水位到 HEAD 的变更 impact_analysis(name="gh-backend", from="abc", to="def") — 指定 SHA 范围 impact_analysis(module="用户中心") — 按模块分析 前提:
|
| TIA-initA | 【首次使用必调】TIA (Test Impact Analysis) 初始化引导工具。 远程 HTTP 客户端在接入 TIA MCP Server 后,必须先调用此工具完成初始化:
调用前提:客户端 IP 已在服务端白名单中。 IP 不在白名单 → 403 + 联系人信息。 可重复调用:已持有效 API KEY 时跳过签发步骤,仅返回命令文件。 |
| repo_monitorA | 统一仓库监控工具。仓库列表在 monitors.conf.json 中配置(直接编辑即可,无需 MCP 工具)。 三种操作(通过 action 参数选择):
范围定位(二选一,不传则遍历全部):
配合 CronCreate 定时监控: /cron "*/15 * * * *" "repo_monitor(action='check')" 敏捷迭代重置: repo_monitor(action="reset", module="订单系统", label="Sprint 25 kickoff", sinceDate="2026-06-13") |
| repo_cloneA | 克隆监控仓库的代码到本地。可用于初始化(首次拉取分支代码)或更新全量代码,也可增量拉取 MR。 定位方式(二选一):
克隆模式(通过 mode 参数控制):
存储路径(由 repoType 决定):
行为模式(自动判断,无需用户干预):
增量模式前提:
|
| test_recommendationA | 基于代码变更智能推荐测试用例执行顺序。在 Phase 2 影响分析结果上计算推荐分, 按优先级排序测试用例,生成最小可行测试集(覆盖所有高风险模块的最少测试)。 test_recommendation(name="gh-backend") — 分析从水位到 HEAD test_recommendation(module="用户中心") — 按模块分析 推荐分 = 风险权重(h=100/m=50/l=20) × 置信度(0-100) 强烈建议(≥7000) | 建议(≥2000) | 可选(<2000) |
| risk_assessmentA | 量化代码变更风险,生成风险评分(0-100)与缓解建议。 综合文件变更数量、受影响模块的风险等级分布、置信度三个维度计算。 risk_assessment(name="gh-backend") — 评估从水位到 HEAD 的风险 risk_assessment(module="用户中心") — 按模块评估 评分: files(0-60) + modules(0-40) + confidencePenalty(0-20) = 0-100 等级: 0-30=低风险 | 31-60=中等 | 61-85=高风险 | 86-100=严重 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WayneLiu519888/Test-Impact-Analysis-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server