# Cohexa Ai Stale Write Guard Fs MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.cohexa-ai%2Fstale-write-guard-fs
Registry id: `mcp-registry/io.github.cohexa-ai/stale-write-guard-fs`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "cohexa-ai-stale-write-guard-fs-mcp-serve": {
      "command": "uvx",
      "args": [
        "agent-coherence"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add cohexa-ai-stale-write-guard-fs-mcp-serve -- uvx agent-coherence
```

## Tools (10)

- `swg_accept`: Accepts a handoff as successor without writing the path.
- `swg_decline`: Declines a handoff as successor; giver may write again.
- `swg_gate`: Effect fence re-checking version and ownership before irreversible actions.
- `swg_reacquire`: Recovery clearing stale view and mandating fresh read after deny.
- `swg_read`: Tracked read registering agent's view; denies stale views with typed conflict.
- `swg_status`: Three-state coordination health plus session agent ID and handoff info.
- `swg_transfer`: Hands session's claim on paths to another session by ID.
- `swg_withdraw`: Withdraws a handoff on explicit user or host instruction.
- `swg_write`: Guarded write denying stale views or foreign edits with typed conflict.
- `swg_write_cas`: Single-shot version-checked write for concurrent same-key contention.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
