MCP.Market

Agent Coherence — Stale Write Guard (FS) MCP server

by Cohexa-ai·io.github.Cohexa-ai/stale-write-guard-fs·v0.14.1·11 stars

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

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

full report

Adoption
Growing

11 stars

Reviews

Write one

Nobody has reviewed Agent Coherence — Stale Write Guard (FS) yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Agent Coherence — Stale Write Guard (FS) tools (6, 2 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • swg_gate
  • swg_reacquire
  • swg_read
  • swg_status
  • swg_writewrite action
  • swg_write_caswrite action

Public scan report

scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it

no findings
  • Code scan124 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 2 days ago15/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 91/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Agent Coherence — Stale Write Guard (FS) compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 88% of 4,460 AI and agents servers
Tools
6
the typical AI and agents server has 6
Tools that change things
33%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
11
more than 85% of 2,711 AI and agents servers

What its tools let an agent do: 4 read · 2 change

Install Agent Coherence — Stale Write Guard (FS) in Claude Code, Cursor or VS Code

claude mcp add stale-write-guard-fs -- uvx agent-coherence
Add to Cursor

What the publisher says

From the Agent Coherence — Stale Write Guard (FS) repository's README, as published. We do not edit it. Read it on GitHub

agent-coherence

agent-coherence stops one agent from silently clobbering another's work on a shared plan.md, store key, or memory.json — a vendor-neutral MESI + optimistic-concurrency coordinator for agent state on a single host, with the safety invariants machine-checked in TLA+.

Two agents share an artifact — a plan.md, a store key, a memory.json. One reads it and works; meanwhile a peer commits a newer version; the first writes back anyway. Last write wins, the peer's work is silently gone, nothing errors, and every downstream decision builds on the wrong version.

Why it goes unnoticed. An agent system keeps two records of what happened: the one your infrastructure can verify — which version each agent held, what actually committed, what was refused — and the one the model narrates, "task complete", "the plan is updated". They agree until an agent acts on a version that moved underneath it, and the narrated record is the one you read. That is why a lost update looks like a clean run and gets debugged as a model problem. agent-coherence is the verified record for the state your agents share. (It does not verify what an agent did in the outside world — a sent email, a fired webhook — that stays your outbox and idempotency layer's job.) agent-coherence turns that silent clobber into a loud, typed refusal: MESI-style ownership and invalidation over shared artifacts, optimistic commit-CAS for concurrent writers, and a read-generation fence for crash-reclaimed ones — a stale write is denied or returned as a retryable conflict, never silently applied. Same library, same protocol, across LangGraph, CrewAI, AutoGen, the OpenAI Agents SDK, plain files shared across processes (CoherentVolume), any MCP client (the stale-write-guard-fs server, via the mcp extra), and any custom orchestrator. Same behavior regardless of which model provider (Anthropic, OpenAI, Google, Mistral, open-source) the agents talk to.

<!-- MCP Registry — PyPI ownership tag for the stale-write-guard-fs server --> mcp-name: io.github.Cohexa-ai/stale-write-guard-fs

# Requires Python 3.11+
pip install "agent-coherence[langgraph]"        # LangGraph drop-in
pip install "agent-coherence[crewai]"           # CrewAI adapter
pip install "agent-coherence[openai-agents]"    # OpenAI Agents SDK adapter (experimental)
pip install "agent-coherence[diagnose]"         # ccs-diagnose CLI
pip install "agent-coherence[mcp]"              # stale-write-guard-fs MCP server
pip install "agent-coherence[conformance]"      # substrate conformance corpus (for foreign implementations)
pip install "agent-coherence[all]"              # everything
# Before
from langgraph.store.memory import InMemoryStore
store = InMemoryStore()

# After — one import change, no node code changes
from ccs.adapters import CCSStore
store = CCSStore(strategy="lazy")

store.get(), store.put(), store.search() keep working unchanged. CCSStore adds read-side coherence: a peer's commit invalidates your cached view, so your next read is a fresh miss. It does not deny a stale write-back — put is not version-CAS; for write-side lost-update prevention, route writes through CoherentVolume or write_cas (below).

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Agent Coherence — Stale Write Guard (FS): common questions

Is Agent Coherence — Stale Write Guard (FS) MCP server safe?
Yes, by our scan: it is graded A (91/100). Read the Agent Coherence — Stale Write Guard (FS) safety report
How do I install Agent Coherence — Stale Write Guard (FS)?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Agent Coherence — Stale Write Guard (FS) need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Agent Coherence — Stale Write Guard (FS) maintained?
The last commit was 21 days ago (2026-10-14). The latest release is v0.14.1.
What can I use instead of Agent Coherence — Stale Write Guard (FS)?
Servers from other publishers that do the same job: Basic Memory MCP server, HOL Guard MCP server and OpenWorkProof MCP server.
How does Agent Coherence — Stale Write Guard (FS) compare with other AI and agents MCP servers?
safety score 91/100 (higher than 88% of 4,460 AI and agents servers); tools 6 (the typical AI and agents server has 6); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Agent Coherence — Stale Write Guard (FS)

Same job from other publishers: the closest match first, then the best rated.

  • Basic Memory
    Local-first knowledge management with bi-directional LLM sync via Markdown files.
    B
  • HOL Guard
    Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.
    A
  • OpenWorkProof
    Verifiable agent evidence; opt-in Codex guard and reference SOC alert review.
    A
  • Mnemoverse Memory
    Hosted agent memory that learns from outcomes, with shared rooms. No key: mcp.mnemoverse.com/mcp
    A
  • Openflowkit
    Architecture diagrams for your agent: draw on the live OpenFlowKit canvas or edit diagram files.
    A