Agenthold logo

Agenthold

by edobusy

Coordinates concurrent agents with SQLite-backed claims, version checks, release outcomes, and waitable resource locks.

Install Agenthold

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "edobusy-agenthold": {
      "command": "uvx",
      "args": [
        "agenthold"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx agenthold

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The edobusy/agenthold MCP server coordinates concurrent AI agents around shared resources using claims, releases, and version-aware state. It stores coordination data in SQLite and uses optimistic concurrency control to detect stale writes rather than silently accepting them. Agents register for an ID, claim resources before modifying them, release them with an outcome, and can inspect or wait for availability. Reach for it when multiple agents may edit the same files, records, or other named resources.

Use cases

  • Coordinate agents editing the same workspace files
  • Prevent stale read-modify-write updates
  • Record release outcomes for subsequent agents
  • Wait for resources held by another agent
  • Coordinate resources across multiple workspaces

Key features

  • SQLite-backed shared state
  • Optimistic concurrency control
  • Exclusive resource claims and releases
  • Waitable resource availability
  • Canonical file and custom resource URIs
  • Append-only audit logging

Tools5

What Agenthold lets your agent do. Expand a tool for its parameters.

Self-reported~182 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · agenthold (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed5Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Agenthold works

What edobusy/agenthold MCP server does

The edobusy/agenthold MCP server provides coordination primitives for agents that may work on the same resource at the same time. It is intended to prevent one agent from overwriting another agent's work without detecting the conflict. The server uses SQLite as its backing store and maintains versioned state, claims, and an append-only audit log.

Resources can represent workspace files or opaque custom names. File resources use canonical URIs such as file://default/path/to/file, while custom resources use custom://name. Bare paths are also accepted and resolved against a configured workspace. Equivalent path forms are normalized so agents do not accidentally coordinate on separate keys for the same resource.

How it works

The edobusy/agenthold MCP server combines exclusive claims with optimistic concurrency control. An agent first registers to receive an identifier, then claims a resource before changing it. If another agent already holds the claim, the response reports that the resource is busy. The waiting agent can choose another resource or use the wait tool until the claim is released or a timeout occurs.

Each stored value has a version. A write based on an older version is rejected and includes the current value, allowing the agent to reread state, recalculate, and retry. This approach avoids keeping a database lock open while an agent performs network requests or generates text.

When releasing a resource, the agent supplies an outcome describing what happened. That outcome remains available to a later claimant, helping the next agent understand prior work instead of relying on stale assumptions. Claim responses can also include information about previous deletion, movement, abandonment, or expiration activity when relevant.

Setup and configuration

Install the Python package with pip install agenthold or uv pip install agenthold. An MCP client can launch the server with the agenthold command. The example configuration passes --db with a path for the SQLite database.

Without workspace flags, the process creates a default workspace based on its current working directory. Additional workspaces can be supplied with repeatable --workspace name=path options, allowing one process to coordinate resources across separate codebases. The database location and workspace paths should be selected consistently for all clients that need to share state.

Tools and capabilities

The server exposes five MCP tools:

  • agenthold_register creates an agent identity. Registration is required before claiming or releasing resources.
  • agenthold_claim requests exclusive access to a resource and returns its version when successful.
  • agenthold_release ends a claim and records an explicit outcome.
  • agenthold_status reports whether a resource is available or claimed and does not require registration.
  • agenthold_wait blocks until a claimed resource becomes available or its timeout expires.

Limitations and notes

The edobusy/agenthold MCP server is coordination infrastructure, not an agent orchestration framework. It supplies shared state and resource ownership while the surrounding framework remains responsible for the actual work and retry behavior.

Agents must register before using claim or release. A claim controls access to the named resource, but the agent still needs to perform the underlying file or state modification through its other tools. For optimistic concurrency control to help, agents must use the returned version and respond to conflicts by rereading and retrying.

Path traversal and dot segments are rejected. On case-insensitive platforms, file paths are matched without case distinctions; custom resource names remain case-sensitive.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agenthold

Install the Python package with `pip install agenthold` or `uv pip install agenthold`, then configure your MCP client to launch the `agenthold` command.

Yes.

Agents claim resources before modifying them, and version checks reject writes based on stale state. The agent can reread the current value and retry.

It provides `agenthold_register`, `agenthold_claim`, `agenthold_release`, `agenthold_status`, and `agenthold_wait`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgenthold AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/edobusy-agenthold?style=directory)](https://allmcps.com/mcp/edobusy-agenthold)
HTML Embed
<a href="https://allmcps.com/mcp/edobusy-agenthold"><img src="https://allmcps.com/api/badge/edobusy-agenthold?style=directory" alt="Agenthold on AllMCPs" /></a>