# Merget MCP server

> Lets an AI agent manage semantic merge queues for GitHub, analyze code property graphs, and resolve pull request conflicts.

- Repository: https://github.com/MergetAI/merget-plugin
- Page: https://hostedmcp.org/servers/mergetai/merget-plugin
- Transport: remote
- Stars: 0
- Latest version: 0.8.2

## Install

### Claude Code

```sh
claude mcp add --transport http merget-plugin https://sema.merget.ai/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "merget-plugin": {
      "url": "https://sema.merget.ai/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "merget-plugin": {
      "type": "http",
      "url": "https://sema.merget.ai/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"merget-plugin","type":"http","url":"https://sema.merget.ai/mcp"}'
```

### Codex

```sh
codex mcp add merget-plugin --url https://sema.merget.ai/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.merget-plugin]
url = "https://sema.merget.ai/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http merget-plugin https://sema.merget.ai/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "merget-plugin": {
      "url": "https://sema.merget.ai/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### What can Merget do for my pull requests?

Merget builds code property graphs to find branch breaks, textual conflicts, and interactions between changes, then orders and prepares merges.

### How do I set up Merget with an AI agent?

You can use a single prompt to fetch and execute setup instructions from Merget's agent-setup URL.

### Can the agent perform administrative tasks like an organization owner?

No, the agent acts within your granted permissions and does not perform owner-level steps or browser-based steps, which remain with the person in the dashboard.
