Lujo-MCP v0.4.1-beta
Pre-release
Pre-release
Lujo-MCP 是面向 AI Agent 的运行时调试上下文基础设施。
目标:让 AI Agent 不仅读取代码,还能够理解真实 Bug 运行现场。
What's New
Runtime Debug Context
- 采集:runtime events、exceptions、stacktrace、network trace、UI events、git context、spec context
Debug Experience RAG
- 通过历史 Debug Experience 增强 Agent 分析能力
retrieve_debug_experience()三层检索:L1 fingerprint 精确 → L2 message normalize → L3 vector(默认关闭)- 种子知识库 + KB 验证写回
MCP Debug Context Observability(Phase 3 D5)
DebugContextTrace:记录 request_id / Runtime Context 可用性与大小 / Debug Experience 开关与命中数 / Context 构建耗时 / Tool 响应耗时- stdio + HTTP 传输层记录 tool 响应耗时/大小(仅日志,不打印敏感负载)
Server(...)传入version=0.4.1-beta对齐 serverInfo 版本
Quality Benchmark Framework(Phase 3 D6)
benchmark/:BenchmarkCase/EvaluationMetrics+ 5 个手写 Debug Case(api_500 / frontend_blank / db_error / auth_403 / perf_slow)runner.pyCLI:list / show / quality 旁证- 验证 MCP Debug Context 是否提升外部 AI Debug 能力(与 QualityScorer 两个体系分离)
npm 开箱即用分发
npm install -g @lujoai/lujo-mcp一条命令,三平台二进制(win32-x64 / linux-x64 / osx-arm64)自动安装- 版本统一
0.4.1-beta(app / npm / README / CHANGELOG / serverInfo / git tag)
Architecture
External MCP Client
↓
MCP Server(stdio / HTTP)
↓
Runtime Debug Context
↓
Debug Experience RAG
↓
Agent
↓
Verifier
Validation
测试:927 passed / 6 skipped / 0 failed(含 D5 MCP Observability 16 项 + D6 Benchmark 框架 19 项 + stacktrace 工具与存储工厂边界 17 项)
MCP Client 接入验证:stdio + HTTP 双传输 initialize / tools/list(17 工具)/ tools/call 全通过。
说明:无回归。
Architecture Rules
- Runtime 保持纯净(不依赖 RAG / Agent / LLM / MCP)
- RAG 独立(不反向依赖 Agent / Runtime / LLM / MCP)
- Agent 消费 RAG(允许方向:Agent → RAG)
Limitations
当前版本:
- 不包含自动修复
- 不包含 Patch 生成
- 不包含 Repair Loop
Roadmap
未来:
- More Debug Experience
- Better Context Collection
- Enterprise Integration