Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Mesrai - AI Code ReviewNew to Visual Studio Code? Get it now.
Mesrai - AI Code Review

Mesrai - AI Code Review

Mesrai Dev

|
1 install
| (1) | Free
Get AI-powered code reviews before pushing — right in your IDE
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mesrai - AI Code Review for VS Code

Get AI-powered code reviews before you push — right in your editor.

Mesrai uses multi-agent AI analysis (security, performance, architecture, code quality) with a 7-stage quality gate to catch real issues, not false positives.

Features

Review Before You Commit

Catch issues before they reach your PR. Review staged changes, uncommitted work, or individual files instantly.

Smart Diagnostics

Findings appear as squiggly underlines in your editor and in the Problems panel — just like built-in linters.

  • Red — Critical / High severity
  • Yellow — Medium severity
  • Blue — Low / Informational

One-Click Fixes

When Mesrai suggests a fix, click the lightbulb (Quick Fix) to apply it automatically.

Four Review Flows

Flow How to trigger
Pre-Commit Review Command: Mesrai: Review & Commit
Review Uncommitted Command: Mesrai: Review Uncommitted Changes
Review Unpushed Command: Mesrai: Review Unpushed Commits
Review Current File Right-click in editor > Mesrai: Review Current File

Status Bar

Click the Mesrai button in the status bar for quick access to all review actions.

Getting Started

  1. Install this extension from the VS Code Marketplace
  2. Get a token from your Mesrai dashboard at app.mesrai.com → Settings → IDE Tokens → Create Token
  3. Configure the extension:
    • Open VS Code Settings (Cmd+, / Ctrl+,)
    • Search for "Mesrai"
    • Paste your token in mesrai.token

That's it! Right-click any file and select Mesrai: Review Current File to try it out.

Settings

Setting Default Description
mesrai.apiUrl https://app.mesrai.com Mesrai API URL
mesrai.token — Your IDE access token (msr_...)
mesrai.preCommitReview true Prompt for review before committing
mesrai.severityThreshold low Minimum severity to display

Requirements

  • VS Code 1.85 or later
  • A Mesrai account with an active organization
  • Git installed and a git repository open

Privacy

Code diffs are sent to your Mesrai server for analysis. No code is stored permanently — it is processed in memory and discarded after review. Self-hosted deployments keep all data within your infrastructure.

Feedback & Issues

Report issues at github.com/piyushkumarrai/CodePilot/issues

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft