loading…
Search for a command to run...
loading…
A dual-track testing server that combines CLI test execution with Playwright-based browser testing and persistent SQLite logging. It enables automated test pipe
A dual-track testing server that combines CLI test execution with Playwright-based browser testing and persistent SQLite logging. It enables automated test pipelines, Git integration, and evidence-based requirement generation to streamline the development lifecycle.
AutoDev MCP is a TypeScript MCP server that keeps your original CLI testing and adds an extra Chrome Dev (browser) testing track with persistent logs.
run_tests) - not replacedbrowser_* tools) via Playwright + CDP eventsrun_pipelinenpm install
npm run build
npm run start
For local development:
npm run dev
autodev.config.json{
"projectRoot": ".",
"storage": {
"databasePath": ".autodev/logs/autodev.db",
"screenshotsDir": ".autodev/logs/screenshots"
},
"commands": {
"test": "npm test"
},
"browser": {
"headless": true,
"timeoutMs": 15000
},
"pipeline": {
"maxIterations": 3
},
"compact": {
"enabled": true,
"warningThreshold": 0.8,
"compactThreshold": 1.0,
"estimatedMaxChars": 120000
},
"git": {
"enabled": true,
"autoCommitOnFeatureComplete": true,
"defaultCommitPrefix": "feat",
"protectSensitiveFiles": true,
"sensitiveFilePatterns": [
"(^|/)\\.env(\\..*)?$",
"(^|/)credentials\\.json$",
"(^|/)secret(s)?(\\.|$)",
"(^|/).+\\.pem$",
"(^|/).+\\.key$"
]
}
}
run_testsgenerate_tests (stub)fix_failures (stub)browser_openbrowser_navigatebrowser_interactbrowser_assertbrowser_screenshotbrowser_get_consolebrowser_get_errorsbrowser_get_networkbrowser_closerun_pipeline (CLI first, browser optional)propose_requirements (always outputs 10 directions)check_compact (检查上下文占用并给出 none/warn/compact 建议)git_commit_feature(小功能完成后按策略提交 git)git_status_summary(查看当前仓库改动状态)test_get_session_logstest_compare_sessionsrun_testsbrowser_open with URLbrowser_interactbrowser_assertbrowser_screenshotbrowser_closetest_get_session_logspropose_requirementsrun_pipeline also includes suggestedRequirements in the final output so you can directly pick your next approved requirement.
run_pipeline now also returns compactSuggestion:
none: 上下文充足,继续执行warn: 上下文超过预警阈值(默认 80%),建议当前小任务结束后 compactcompact: 上下文达到 compact 阈值(默认 100%),建议立即 compactrun_pipeline 现在也会在测试通过后尝试执行 gitCommit:
.env、*.pem、*.key).autodev/logs/autodev.db.autodev/logs/screenshots你可以通过 MCP 工具查看:
test_get_session_logs:按 sessionId 拉取日志、摘要、截图路径test_compare_sessions:对比两次测试结果每条方向的评分由以下字段组成:
impact:影响面(1-10)confidence:把握度(1-10)effort:工作量映射分值(S=2, M=5, L=8)公式:
priorityScore = (impact × confidence) / effort
分数越高,优先级越高。
generate_tests and fix_failures are stubs in this version and intentionally logged for future extension.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"autodev-mcp": {
"command": "npx",
"args": []
}
}
}