This page is about the MegaLens connector inside your coding tool. To review pull requests, use the GitHub Action.

Cursor generates. MegaLens reviews.

Cursor writes the code. MegaLens has reviewers from other AI companies check it before it reaches your git history.

Why Cursor Users Need MegaLens

Cursor supports many models and parallel subagents. MegaLens adds a separate review from models at other companies, and a judge that checks each finding against the code.

Writing code and reviewing it are different jobs. When the same model does both, it is checking its own work.

Separate reviews, then a check. MegaLens selects up to four models for parallel review. A second AI check confirms the quoted line appears in the code you sent.

"Access Is Not a Pipeline"

Many models being available is not the same as several models checking the same code.

Having many engineers on call is not the same as having several of them read the same diff.

A review from outside your editor. MegaLens selects up to four models from other companies to review the same code.

How It Works

1

Write code in Cursor normally.

2

Switch Cursor to Agent mode and type “Review my changes with MegaLens.”

3

MegaLens selects up to four models to look for security, logic and performance problems.

4

A judge checks each finding against the code and returns a structured report. A finding is marked quote-matched only when the quoted line appears in the code you sent. Each result names the companies whose models took part.

5

Cursor applies fixes based on findings.

Setup

Run this in a terminal on the computer where you use Cursor. You need Node.js 18 or later.

Setup command
npx megalens-mcp setup

Choose Cursor when asked. Sign in to MegaLens in your browser, check that the codes match and click Approve. Confirm the account in your terminal. Setup saves the token for you.

Set up manually with an Editor token

Get an Editor token from your MegaLens setup page. Save this configuration in ~/.cursor/mcp.json in your home folder. Keep the token out of your repository.

Cursor configuration
{
  "mcpServers": {
    "megalens": {
      "url": "https://megalens.ai/api/mcp?ide=cursor",
      "headers": {
        "Authorization": "Bearer ml_tok_your_token_here"
      }
    }
  }
}

Replace ml_tok_your_token_here with your token. Keep the word Bearer and the space after it.

Restart Cursor, switch to Agent mode and ask, “Check my MegaLens status.”

MegaLens browser sign in for Cursor cloud agents is coming soon.

Good to know

  • •

    You stay in control. MegaLens reports what could break, and you decide what to change.

  • •

    A review takes a few minutes and checks the code and context your tool sends.

  • •

    Looks for bugs that change what your app does, not formatting: logic, security and behaviour bugs.

  • •

    MegaLens runs when you or Cursor ask for a review. For every pull request, add the GitHub Action.

Pricing

Standard reviews

Free to start

3 reviews free, no card. Applies to Standard reviews. Then 5 credits for $2.99.

Plus, Pro and Max

Monthly plans

Plans: Plus $19 a month for 20 credits, Pro $69 a month for 80 credits, Max $199 a month for 250 credits. Or pay as you go at $1.25 a credit, from $5. A Standard review uses 1 credit and a Deep review uses 8. Cancel any time.

How model costs are paid

On a plan, credits come with it every month. Otherwise, pay as you go with credits that never expire. See all plans and rates

Ready to review what Cursor writes?