# Merget

This MCP server for Claude Code connects an agent to Merget’s merge queue. It supports setup, pull request findings, and code graph queries.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: MergetAI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MergetAI/merget-plugin
- Updated: 2026-11-04
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/merget

## What it does

Merget connects a coding agent to a semantic merge queue for GitHub. For pull requests, the service builds code graphs, detects issues that appear when branches meet, prepares a brief, and orders the merges. If the repository allows it, Merget prepares each pull request against its landing code and merges it.

The package includes the MCP server and four skills: initial setup, queue operations, pull request findings, and code graph queries. The agent acts with the permissions granted at sign-in. Organization-owner actions and GitHub connection remain with a person in Merget’s dashboard.

A Merget account and organization are required. Sign-in and GitHub connection happen in a browser; an agent without shell access provides commands rather than carrying out setup.

## Requirements
- Remote server: `https://sema.merget.ai/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http merget https://sema.merget.ai/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add merget --url https://sema.merget.ai/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "merget": {
            "url": "https://sema.merget.ai/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "merget": {
            "type": "http",
            "url": "https://sema.merget.ai/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http merget https://sema.merget.ai/mcp
```

## When to use it
- set up Merget and connect an initial repository
- inspect a pull request’s findings and queue position
- trace symbol and call relationships in a code graph
- review merge conflicts and failed batches

## Example prompts
- Set up Merget for my organization and first repository.
- Show Merget’s findings for this pull request and its queue position.
- Find the callers of this symbol in the commit’s code graph.

## Similar
- [ci-speedup](https://affpapa.org/en/nevibecode/skills/ci-speedup.md) — skill · 250 installs
- [mergify](https://affpapa.org/en/nevibecode/plugins/mergify.md) — plugin · ★ 32 repo stars
- [Mergetrain](https://affpapa.org/en/nevibecode/mcp/mergetrain.md) — MCP server · ★ 8 repo stars
- [review-pr](https://affpapa.org/en/nevibecode/skills/tirth8205-review-pr.md) — skill · 1200 installs
- [rag-rat](https://affpapa.org/en/nevibecode/mcp/rag-rat.md) — MCP server · ★ 27 repo stars
- [lain](https://affpapa.org/en/nevibecode/mcp/lain.md) — MCP server · ★ 9 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
