Agent Claim MCP logo

Agent Claim MCP

Coordinates file ownership for parallel coding agents through a local MCP ledger with claim, inspect, and release tools.

Install Agent Claim MCP

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-claim-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vk0/agent-claim-mcp"
      ]
    }
  }
}

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.

npx -y @vk0/agent-claim-mcp

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 agent-claim-mcp MCP server coordinates file ownership between parallel coding agents sharing one worktree. It records claims in a local JSON ledger, reports conflicts explicitly, and supports path inspection and release through three MCP tools. Claims can include task, note, owner, and TTL metadata. Reach for it when agents need edit-time collision detection, not hosted orchestration or cross-machine locking.

Use cases

  • Claim files before parallel edits
  • Check ownership before modifying shared paths
  • Release completed or reassigned work
  • Coordinate agents in one worktree

Key features

  • Local JSON ledger for shared claims
  • Explicit conflict detection
  • TTL-based claim expiry
  • Ownership inspection with metadata
  • Release by path or claim ID
  • Normalized worktree paths

Tools3

What Agent Claim MCP lets your agent do. Expand a tool for its parameters.

Self-reported~169 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.

15/15 checks healthy over the last 77d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @vk0/agent-claim-mcp (npm)

Adoption & maintenance

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

npm downloads325Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Claim MCP works

What agent-claim-mcp MCP server does

The agent-claim-mcp MCP server provides a narrow coordination layer for coding agents that work in the same repository and filesystem view. Before editing, an agent can claim one or more paths. Other sessions can inspect those paths and see whether they are available or already owned.

The server is designed for collision prevention during active work. It does not route tasks, schedule agents, run queues, or provide a broader orchestration system. Its scope is limited to recording ownership, identifying conflicts, and removing claims when work is finished, paused, or reassigned.

Claims can carry an agent ID, task ID, note, expiry time, and normalized paths. This gives other agents enough context to decide whether a path is safe to edit or already involved in another task.

How it works

The agent-claim-mcp MCP server stores coordination data in a local ledger on disk. Because sessions read and write that shared ledger, separate agents using the same worktree can observe each other's claims instead of keeping ownership only in process memory.

A claim request normalizes the supplied paths and checks for active ownership. If another agent already owns any requested path, the operation returns an explicit conflict and writes nothing. A successful claim returns the claimed paths, ledger version, and expiration time. Refreshing a claim allows active work to extend its lifetime.

The inspection tool reports whether each requested path is free or claimed. For claimed paths, it can return the owner, task, note, expiry, and claim ID. Release operations accept normalized paths or a claim ID, but only the current owner can remove an active claim. TTL expiry provides cleanup protection; it does not replace task ownership or human review.

Setup and configuration

The published npm package is available as @vk0/agent-claim-mcp. A stdio MCP client can launch it with npx:

config.json
{
  "mcpServers": {
    "agent-claim": {
      "command": "npx",
      "args": ["-y", "@vk0/agent-claim-mcp"]
    }
  }
}

Claude Desktop users must restart the application after changing its MCP configuration. For local development, build the repository with npm ci followed by npm run build, then point the client at the resulting dist/server.js using node and an absolute path.

Claims only line up when agents use the same repository root or compatible cwd values. The server has no documented environment variables required for operation.

Tools and capabilities

The agent-claim-mcp MCP server exposes three tools:

  • claim_files creates or refreshes ownership for a list of paths. Inputs include agentId, taskId, paths, ttlSeconds, an optional note, and cwd. Conflicts are returned explicitly.
  • release_claim removes claims belonging to the current agent. It can target paths or a claim ID and reports released or missing paths.
  • whose_claim reads ownership status for requested paths. The includeExpired option controls whether expired entries are included in inspection results.

Path normalization helps equivalent path forms resolve consistently, while ledger versions make state changes visible in tool responses.

Limitations and notes

The agent-claim-mcp MCP server is local-first. It coordinates sessions that can access the same on-disk ledger, but it is not a hosted lock service and does not replicate claims across machines. Workflows requiring cross-host coordination, central audit policy, or mandatory approvals need another orchestration layer.

Using a TTL reduces stale claims, but expiration should not be treated as a complete ownership policy.

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 Agent Claim MCP

agent-claim-mcp is an MCP server that connects coding agents sharing one worktree to a local file-claim ledger. Its main tools are claim_files for ownership, whose_claim for checking status and metadata, and release_claim for removing claims. It helps prevent overlapping edits without providing queues, scheduling, or cross-machine coordination.

Install it through the published npm package with `npx -y @vk0/agent-claim-mcp` in your MCP client configuration. For local development, run `npm ci`, build with `npm run build`, and launch the resulting `dist/server.js` with `node`.

Yes, agent-claim-mcp works with Cursor through a stdio MCP configuration using `npx -y @vk0/agent-claim-mcp`. Add the server under the client’s `mcpServers` configuration and ensure collaborating sessions use the same worktree context.

It checks the shared local ledger before creating a claim and returns an explicit conflict if another active owner already claims a requested path. A successful claim records ownership and optional expiry metadata, which other sessions can inspect with `whose_claim`.

No, agent-claim-mcp does not provide cross-machine coordination. Claims are stored locally on disk, so the participating sessions must be able to read and write the same worktree ledger. Cross-host workflows require a separate coordination or orchestration layer.

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 PreviewAgent Claim MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-claim-mcp?style=directory)](https://allmcps.com/mcp/agent-claim-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agent-claim-mcp"><img src="https://allmcps.com/api/badge/agent-claim-mcp?style=directory" alt="Agent Claim MCP on AllMCPs" /></a>