
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 分