Skopaq MCP服务器
 
Skopaq E2E测试代理的模型上下文协议(MCP)服务器。这允许AI编码助手直接从IDE与Skopaq测试功能进行交互。
支持的AI IDE
- 克劳德代码 -克劳德的Anthropic CLI
- 光标 -AI第一代码编辑器
- 帆板运动 -Codeium的人工智能集成开发环境
- VS代码 -带MCP扩展
- 任何兼容MCP的客户端
可用工具(共74个)
身份验证(4个工具)
| 工具 | 说明 |
|---|
argus_auth | 启动OAuth2设备流身份验证 |
argus_auth_complete | 登录后完成OAuth2设备流程 |
argus_auth_status | 检查当前身份验证状态 |
argus_auth_logout | 注销并清除存储的凭据 |
核心浏览器测试(4个工具)
| 工具 | 说明 |
|---|
argus_health | 检查Skopaq API状态 |
argus_discover | 在页面上发现互动元素 |
argus_act | 执行浏览器操作(单击、键入、导航) |
argus_test | 使用屏幕截图运行多步骤E2E测试 |
数据提取和人工智能代理(3个工具)
| 工具 | 说明 |
|---|
argus_extract | 从页面中提取结构化数据 |
argus_agent | 在网站上自主完成任务 |
argus_generate_test | 从自然语言生成测试步骤 |
质量情报(3个工具)
| 工具 | 说明 |
|---|
argus_quality_score | 获得项目总体质量得分(0-100) |
argus_quality_stats | 获取详细的质量统计数据 |
argus_risk_scores | 计算/检索组件的风险评分 |
生产事件与分析(3个工具)
| 工具 | 说明 |
|---|
argus_events | 列出生产错误/事件并进行筛选 |
argus_event_triage | 基于人工智能的事件分类建议 |
argus_test_from_event | 从生产错误生成E2E测试 |
测试管理(3个工具)
| 工具 | 说明 |
|---|
argus_tests | 按状态列出生成的测试 |
argus_test_review | 审查(批准/拒绝/修改)生成的测试 |
argus_batch_generate | 一次生成多个事件的测试 |
自我修复(4个工具)
| 工具 | 说明 |
|---|
argus_healing_config | 查看/更新自愈配置 |
argus_healing_patterns | 使用信心评分查看学习到的自我修复模式 |
argus_healing_stats | 获取自我修复统计数据(成功率、模式) |
argus_healing_review | 批准/拒绝治疗建议 |
同步(4个工具)
| 工具 | 说明 |
|---|
argus_sync_push | 将本地测试更改推送到云端 |
argus_sync_pull | 从云端拉取测试更新 |
argus_sync_status | 检查同步状态和冲突 |
argus_sync_resolve | 解决同步冲突 |
测试导出和记录(4个工具)
| 工具 | 说明 |
|---|
argus_export | 将测试导出到代码(Python/TS/Java/C#/Ruby/Go) |
argus_export_languages | 列出支持的导出语言/框架 |
argus_recording_to_test | 将浏览器录制(rrweb)转换为测试 |
argus_recording_snippet | 生成用于录制会话的JavaScript代码段 |
协作(2个工具)
| 工具 | 说明 |
|---|
argus_presence | 获取/更新工作区中的用户状态 |
argus_comments | 获取/添加/回复测试评论 |
项目管理(4个工具)
| 工具 | 说明 |
|---|
argus_projects | 列出用户有权访问的项目 |
argus_what_to_test | 获取AI对下一步测试内容的建议 |
argus_coverage_gaps | 识别有生产错误但没有测试的区域 |
argus_dashboard | 获取全面的项目仪表板/概述 |
基础设施和监控(5个工具)
| 工具 | 说明 |
|---|
argus_infra_overview | 获取基础设施成本和Selenium Grid状态 |
argus_infra_recommendations | 获取人工智能成本优化建议 |
argus_infra_apply | 应用基础设施优化建议 |
argus_browser_pool | 获取Selenium Grid浏览器池实时状态 |
argus_llm_usage | 获取LLM/AI模型的使用情况和成本 |
AI助手(1个工具)
| 工具 | 说明 |
|---|
argus_ask | 就你的测试/错误/策略向人工智能提问 |
CI/CD集成(4个工具)🆕
| 工具 | 说明 |
|---|
argus_cicd_test_impact | 基于AI的PR测试影响分析-CI速度提高10倍 |
argus_cicd_deployment_risk | 部署前的风险评估 |
argus_cicd_builds | 列出构建历史记录 |
argus_cicd_pipelines | 查看CI/CD管道状态 |
发现和智能爬行(4个工具)🆕
| 工具 | 说明 |
|---|
argus_discovery_start | 启动自主应用程序爬行会话 |
argus_discovery_flows | 获取人工智能发现的用户流 |
argus_discovery_generate | 从发现的流生成测试 |
argus_discovery_compare | 比较发现会话 |
时间旅行调试(5个工具)🆕
| 工具 | 说明 |
|---|
argus_time_travel_checkpoints | 列出测试运行的状态检查点 |
argus_time_travel_history | 查看线程的状态更改历史记录 |
argus_time_travel_replay | 从检查点回放执行 |
argus_time_travel_fork | A/B测试的分叉执行 |
argus_time_travel_compare | 比较不同的执行路径 |
视觉AI测试(5个工具)🆕
| 工具 | 说明 |
|---|
argus_visual_capture | 使用元数据捕获屏幕截图 |
argus_visual_compare | AI驱动的屏幕截图之间的视觉差异 |
argus_visual_baseline | 设置视觉基线 |
argus_visual_baselines | 列出视觉基线 |
argus_visual_analyze | 使用WCAG可访问性分析视觉变化 |
调度和自动化(4个工具)🆕
| 工具 | 说明 |
|---|
argus_schedule_create | 创建测试计划(cron样式) |
argus_schedule_list | 列出时间表 |
argus_schedule_run | 手动触发计划 |
argus_schedule_history | 查看日程表的运行历史记录 |
相关性和分析(4个工具)🆕
| 工具 | 说明 |
|---|
argus_correlations_timeline | 查看统一的SDLC事件时间线 |
argus_correlations_root_cause | 人工智能驱动的根本原因分析 |
argus_correlations_insights | 获取人工智能生成的见解 |
argus_correlations_query | 相关性的自然语言查询 |
API测试(3种工具)🆕
| 工具 | 说明 |
|---|
argus_api_discover | 从OpenAPI/Swagger发现API端点 |
argus_api_generate | 用人工智能生成API测试用例 |
argus_api_run | 执行API测试 |
安装
适用于克劳德代码/克劳德桌面
添加到MCP设置(~/.claude/claude_desktop_config.json 或克劳德代码设置):
{
"mcpServers": {
"argus": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://argus-mcp.samuelvinay-kumar.workers.dev/sse"]
}
}
}
对于光标
添加到Cursor的MCP设置:
{
"mcpServers": {
"argus": {
"url": "https://argus-mcp.samuelvinay-kumar.workers.dev/sse"
}
}
}
使用示例
发现页面元素
Use argus_discover to analyze https://example.com and find all interactive elements
运行E2E测试
Use argus_test to test login on https://uitestingplayground.com/sampleapp with these steps:
1. Type "TestUser" in the username field
2. Type "pwd" in the password field
3. Click the Log In button
4. Verify the welcome message appears
AI驱动的测试影响分析
Use argus_cicd_test_impact to analyze which tests need to run for my PR changes
自主应用发现
Use argus_discovery_start to crawl https://myapp.com and discover all user flows
视觉回归测试
Use argus_visual_compare to compare the current homepage against the baseline
时间旅行调试
Use argus_time_travel_checkpoints to list all state snapshots for the failed test run
根本原因分析
Use argus_correlations_root_cause to analyze why the checkout test started failing
API测试
Use argus_api_discover to find all endpoints from our OpenAPI spec, then generate tests
发展
先决条件
设置
cd argus-mcp-server
npm install
本地开发
npm run dev
部署
npm run deploy
建筑
┌─────────────────────────────────────────────────────────────┐
│ AI IDE (Claude/Cursor) │
└─────────────────────────┬───────────────────────────────────┘
│ MCP Protocol (SSE)
▼
┌─────────────────────────────────────────────────────────────┐
│ Skopaq MCP Server │
│ (Cloudflare Workers + Durable Objects) │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ 74 MCP │ │ OAuth │ │ R2 │ │ KV │ │
│ │ Tools │ │ Auth │ │ Storage │ │ State │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └────┬─────┘ │
└───────┼────────────┼────────────┼────────────┼──────────────┘
│ │ │ │
└────────────┴────────────┴────────────┘
│ REST API
▼
┌─────────────────────────────────────────────────────────────┐
│ Skopaq Backend │
│ │
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ │
│ │ Browser │ │ AI Brain │ │ Knowledge │ │
│ │ Pool (K8s) │ │ (Railway) │ │ Graph │ │
│ └────────────┘ └────────────┘ └────────────┘ │
└─────────────────────────────────────────────────────────────┘
特性
自愈选择器
元素变化时AI驱动的选择器恢复
智能等待
无需显式等待的智能元素检测
视觉AI测试
屏幕截图与WCAG可访问性分析的比较
时间旅行调试
从任何检查点重播测试执行
CI/CD集成
基于人工智能的测试影响分析,使管道速度提高10倍
多浏览器支持
Chrome、Firefox、Safari、Edge通过Selenium Grid
许可证
麻省理工学院