# list_conflicts

List all unresolved merge conflicts in the knowledge graph, grouped by merge_group. Each group contains competing versions with full data. Call this when the user runs /merge to begin AI-assisted conflict resolution.

Agent View of the PolicyLayer registry record for `list_conflicts`. HTML page: https://policylayer.com/tools/0xk3vin-megamemory/list-conflicts

## Facts

- Tool: `list_conflicts`
- Server: MegaMemory (`0xk3vin/megamemory`) — https://policylayer.com/tools/0xk3vin-megamemory.md
- Homepage: https://github.com/0xK3vin/MegaMemory
- Risk category: Read (Low risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_conflicts",
    "arguments": {}
  }
}
```

## Why list_conflicts is rated Low

This tool retrieves and displays existing conflict information without creating, modifying, deleting, or executing any operations. It is purely informational, helping users understand the state of the knowledge graph before conflict resolution. The most severe action it enables is reading conflict metadata, making it a Read category tool with low severity due to its passive, non-destructive nature.

From the tool's own definition: "'List all unresolved merge conflicts' is a query operation that retrieves conflict data from the knowledge graph without modification or side effects. The description explicitly states it lists conflicts and provides 'full data' for review."

## Use case

AI agents call list_conflicts to retrieve information from MegaMemory without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches MegaMemory:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_conflicts": {}
  }
}
```

## Other tools on MegaMemory (8)

- `remove_concept` — Destructive — https://policylayer.com/tools/0xk3vin-megamemory/remove-concept.md
- `get_concept` — Read — https://policylayer.com/tools/0xk3vin-megamemory/get-concept.md
- `list_roots` — Read — https://policylayer.com/tools/0xk3vin-megamemory/list-roots.md
- `understand` — Read — https://policylayer.com/tools/0xk3vin-megamemory/understand.md
- `create_concept` — Write — https://policylayer.com/tools/0xk3vin-megamemory/create-concept.md
- `link` — Write — https://policylayer.com/tools/0xk3vin-megamemory/link.md
- `resolve_conflict` — Write — https://policylayer.com/tools/0xk3vin-megamemory/resolve-conflict.md
- `update_concept` — Write — https://policylayer.com/tools/0xk3vin-megamemory/update-concept.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xk3vin-megamemory · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xk3vin-megamemory
