Skip to main content

Agent Lease

io.github.Buggy1111/agent-lease-mcp

v0.2.0Updated Oct 17, 2026stdio · PyPI

Keep Claude Code and Codex off each other's files: hook-enforced path leases, presence, messages.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add agent-lease-mcp -e 'AGENT_NAME=<your-agent-name>' -- uvx agent-lease-mcp==0.2.0

Configuration

2 settings.

  • AGENT_NAME
    Env var· required
    This agent's name in the room, e.g. claude-code or codex. Must match the hooks.
  • AGENT_LEASE_DB
    Env var· optional
    Path to the shared SQLite room (default ~/.agent-lease/room.db).

Listed in the official MCP Registry since Oct 17, 2026. Mirrored daily; last checked Nov 26, 2026.