# Agent Coherence — Stale Write Guard (FS)

> Agent Coherence — Stale Write Guard (FS) is an open-source MCP server. Coherence guard for shared files: denies stale writes so agents don't silently overwrite each other. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://agent-coherence.dev
- **Repository:** https://github.com/cohexa-ai/agent-coherence
- **MCP Registry name:** io.github.Cohexa-ai/stale-write-guard-fs
- **Listing updated:** 2026-11-13

## About

Coherence guard for shared files: denies stale writes so agents don't silently overwrite each other.

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

```json
{
  "servers": {
    "stale-write-guard-fs": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-coherence"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Agent Coherence — Stale Write Guard (FS) free?

Yes. Agent Coherence — Stale Write Guard (FS) is open source, so you can use and self-host it for free.

### How do I add Agent Coherence — Stale Write Guard (FS) to Claude Code?

Run this command in your terminal: claude mcp add stale-write-guard-fs -- uvx agent-coherence

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-coherence-stale-write-guard-fs
