resource_claim
Acquire advisory lock on a named resource (wait: true joins the waiting queue, capacity: N makes it a counted lock allowing N concurrent holders)
How to use it
resource_claim is exposed by the Claude Presence MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the resource_claim tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Claude Presence
npm install -g claude-presenceOther tools in Claude Presence (8)
Post a message to the project inbox
Read recent messages
List active locks
Release a lock slot (one waiter gets an inbox notification per freed slot)
Keep this session alive (optionally renew held locks with renewlocks: true)
List active sessions on the same project
Declare this session (project, branch, intent)
Clean exit