Skip to content
MergeSafe logo

MergeSafe MCP server

Reviews GitHub pull requests and pushed commits, flagging bugs, vulnerable or malicious packages, and CVEs, and opening verified fix PRs.

read 2026-11-20

← Back to MergeSafe

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "mergesafe": {
      "type": "http",
      "url": "https://mcp.mergesafe.ai"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http mergesafe https://mcp.mergesafe.ai

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://mcp.mergesafe.ai as a custom connector in the settings.

The first time it connects, the client opens a MergeSafe sign-in.

Tools it offers16 tools · read 2026-11-30
  • get_findings

    List MergeSafe's findings on the latest review of a pull request. Each has severity (P0 most severe .. P3), title, problem, file, line, status, blocking and comment_url, the inline comment on GitHub that holds the full explanation and a…

  • request_reviewchanges data

    Ask MergeSafe to review the current head of a pull request; MergeSafe posts the review on the pull request. A head that was already reviewed is refused, not charged twice. Call it after pushing fixes.

  • get_settings

    Read how this organization's MergeSafe is set up: for each setting its effective value, where the value comes from (repo_override, org, mixed with field_sources, mergesafe_default, or unchecked when it could not be read) and the values it…

  • list_repositories

    List the repositories MergeSafe reviews for an organization, each with its effective level, plus the org's trigger mode and the GitHub link where the repository selection is changed (GitHub decides which repos are reviewed). Read-only. A…

  • local_context_status

    Whether the repository's organization accepts local context (request_review_with_context). Ask before reading anything to send: when it is off, send nothing and use request_review.

  • request_review_with_contextchanges data

    Like request_review, but also sends excerpts of the tests of the files the pull request changes, read from your local checkout, so the review sees them. Only when local_context_status says enabled. Push first: head_sha is the commit you…

  • start_sessionchanges data

    Start a MergeSafe review session for local changes, before or without a pull request; nothing is posted to GitHub. FIRST ask the user for a cost limit for the session in US dollars and pass it as limit_usd: reviews stop when it is reached…

  • review_localchanges data

    Send the local diff for review and get its quote. Nothing runs yet: the answer says 'This review will cost you up to $X (Strong)' with the other levels' prices. Always show the user the price and ask them to confirm before you call…

  • review_branchchanges data

    Review a branch already pushed to GitHub, with no upload: MergeSafe reads the branch's changes from GitHub itself. Returns review_id with status 'fetching' (queued). Poll get_session_findings until this review is 'quoted', then show the…

  • confirm_reviewchanges data

    Run a quoted review at the level the user chose, ONLY after the user confirmed its price. The price is held; what is charged afterwards is never more. If the session's limit would be passed, nothing runs: ask the user, and use…

  • approve_morechanges data

    Raise the session's cost limit by amount_usd. Only after the user explicitly agreed to that amount; never on your own.

  • get_session_findings

    The session's findings (severity P0 most severe .. P3, file, lines, problem, suggestion, status: open, withdrawn or kept_at_p3, and any answer's verdict; a finding whose answer could not be judged is open again and may be answered) and…

  • answer_findingchanges data

    Answer a finding once per review (free): 'won't fix here' or why it is intended. MergeSafe judges the reply and withdraws the finding, keeps it at P3, or notes it; get_session_findings shows the verdict. For a fix, just review_local…

  • session_cost

    The session's total so far, its limit and what is left.

  • prepare_uploadchanges data

    Get a short-lived upload token for this open session (10 minutes, one upload). The local process POSTs the review's files to upload_path with it, so the file contents never pass through you. Then call review_local with the upload_id it…

  • end_sessionchanges data

    Close the session; the uploaded code is deleted. Findings are kept.

How we checked it

Should an agent connect it

Connect it, with care
  • Its tools do Flag malicious or vulnerable packages on every pull request, but not Triage new Sentry errors into GitHub issues.

Once connected

  • prepare_upload change data without a sign-in: anyone with the address can call them.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 10, the first on 2026-11-20
  • INITE MCP score56 of 100answers 100 · does the job 50 · definitions 100 · context 96 · use 0 · connects 100 · lowered until one of our scenario runs passes · lowered by the warning signs below
  • What an agent can do with it1 of 2 use cases
  • Answered100% of days10 of 10 daily checks
  • Median first answer266 ms
  • Space in an agent's context≈ 3,496 tokensthe definitions of all its tools (16), which an agent carries on every turn
  • Tool definitionsA · 100 of 100
  • Typed results0 of 16 toolsdeclared outputSchema: results come typed, read once
  • Every tool passes all six checks.

What an agent can do with it

  • can do · Flag malicious or vulnerable packages on every pull request
  • not sure · Review each commit and post ranked findings to pull requests
  • cannot · Triage new Sentry errors into GitHub issues

Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?

Worth a look

  • Tools that change data, on a server that answers without a sign-in: prepare_upload

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

When we asked itchecked 2026-11-20
  • Staterequires sign-inchecked 2026-11-20

On 2026-11-20 the server answered and asked for a sign-in with a MergeSafe account (OAuth). It shows its tool list only to signed-in users, so we list none here.

Whose server it is
  • Registry nameai.mergesafe/mergesafeverified in the MCP registry

The registry name sits under mergesafe.ai. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.