
MegaLens
ai.megalens由 megalens.ai 发布官方发布者v1.0.0更新于 Nov 2, 2026
Code review by AI models from different companies, usually two. Shows where they agree and disagree.
概览
MegaLens 通过来自不同公司的多个 AI 模型组成评审团进行代码审查,并报告它们一致与分歧之处。
- 可以做什么
- 把代码提交给最多四个来自不同公司的 AI 模型,由它们各自独立评审。
- 返回汇总结果,说明各模型在哪里一致、在哪里分歧,并列出实际参与的模型。
- 若随请求附上你自己的评估,结果还会指出评审团发现而你未发现的问题。
- 提供辅助命令:自动检测已安装的工具、写入配置、验证令牌连通性并显示配置状态。
- 适用场景
- 当你希望在已有的 AI 编程工具中获得多个独立模型对代码的第二意见,并看到它们之间的分歧而非单一结论时适用。首次审查免费,便于先试用再决定是否付费。
- 运行要求
- 远程 MCP 端点 megalens.ai,需使用从 MegaLens 设置页获取的 Authorization bearer 令牌进行认证。需要 MegaLens 账户。可选的安装向导需要 Node.js 18 或更高版本;手动配置则无需任何依赖。可选提供 OpenRouter 密钥请求头以自带密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 MegaLens,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/ai.megalens%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"megalens": {
"type": "http",
"url": "https://megalens.ai/api/mcp"
}
}
}README
megalens-mcp
Code review from a panel of AI models, inside the AI tool you already use. MegaLens selects up to four AI models from different companies to review your code, and reports where they agree and where they disagree. On Free, MegaLens selects two reviewing models.
Works with Claude Code, Codex CLI, Cursor, Gemini CLI and Lovable. GitHub Copilot is coming soon.
Your first review is free, with no card.
Quick Start
The setup wizard:
- Asks for your MegaLens token (get one here)
- Detects installed tools automatically
- Writes the correct config for each tool
The wizard does not ask for an OpenRouter key. To use your own key, add one header by hand: see Adding your own OpenRouter key.
Supported Tools
If no tool is detected, the wizard lets you pick one and creates the config file. The wizard can also write configs for Windsurf and Grok Build. Those are not supported or tested.
Lovable needs no config file and no wizard. Paste the server URL and your token into Lovable's MCP connector form. Steps: megalens.ai/integrations/lovable
Manual Setup
The tools use two config languages and three different top-level keys, which is why the wizard exists.
Keep the ?ide= on each URL. It tells MegaLens which tool the review came from. It does not
change which models review your code: the panel is the same whichever tool you call it from.
Claude Code
Run this once. The --scope user flag makes MegaLens available in every project:
Or in .mcp.json (project) / ~/.claude.json (user):
Cursor
~/.cursor/mcp.json or .cursor/mcp.json. No type field. Cursor does not use one:
Gemini CLI
~/.gemini/settings.json. Gemini CLI uses httpUrl, not url:
GitHub Copilot in VS Code (coming soon, not supported yet)
GitHub Copilot is coming soon. If you want to try it early: .vscode/mcp.json. The top-level key
is servers, not mcpServers. A config written for Claude Code or Cursor will not be read here:
Codex
~/.codex/config.toml or .codex/config.toml. TOML, not JSON:
Adding your own OpenRouter key (free / BYOK)
Add one more header alongside Authorization, in whichever shape your tool uses above. The key
needs credit on it. You pay OpenRouter directly; MegaLens is not part of that bill.
In Codex TOML:
With Claude Code's command, add --header "x-megalens-openrouter-key: sk-or-v1-your-openrouter-key".
If you skip the key, use pay-as-you-go credits instead: $9 per 1M blended tokens, prepaid from $20.
Commands
How It Works
MegaLens selects up to four AI models from different companies to review your code. They review it separately. A final check reviews their findings, and you get back where they agreed and where they disagreed. Each result names the models that actually took part.
If you send your own assessment with the request, the answer also says what the panel found that yours did not.
The panel is the same whichever tool you call it from. MegaLens reports; it does not change your code. Your own tool stays the one that decides what to do next.
Our private recipe. What stays private: how we choose the models and what each one is asked to do, the numbers that tune each check, and the prompts. That recipe came from months of measured runs and changes as models change. Our results, rules and mistakes are public: megalens.ai/research/ai-code-review-false-positives
Requirements
- Node.js 18+ (only for the setup wizard; manual setup needs nothing)
- A MegaLens account: megalens.ai. Your first review is free, with no card
Links
来源:README.md,提交 8bdf563
工具
0版本历史
1- v1.0.0最新Sep 23, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分