NestDaddy

Agent Lease

io.github.Buggy1111/agent-lease-mcp ยท v0.2.0

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

Connect Runs on your machine

Terminal
claude mcp add agent-lease-mcp -e AGENT_NAME=<AGENT_NAME> -e AGENT_LEASE_DB=<AGENT_LEASE_DB> -- uvx agent-lease-mcp==0.2.0
claude_desktop_config.json
{
  "mcpServers": {
    "agent-lease-mcp": {
      "command": "uvx",
      "args": [
        "agent-lease-mcp==0.2.0"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>",
        "AGENT_LEASE_DB": "<AGENT_LEASE_DB>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "agent-lease-mcp": {
      "command": "uvx",
      "args": [
        "agent-lease-mcp==0.2.0"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>",
        "AGENT_LEASE_DB": "<AGENT_LEASE_DB>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "agent-lease-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-lease-mcp==0.2.0"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>",
        "AGENT_LEASE_DB": "<AGENT_LEASE_DB>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
AGENT_NAME
Required
This agent's name in the room, e.g. claude-code or codex. Must match the hooks.
AGENT_LEASE_DB
Optional
Path to the shared SQLite room (default ~/.agent-lease/room.db).

Details

Package[email protected] (PYPI, stdio)
First published17 Oct 2026
Last updated17 Oct 2026
Registry nameio.github.Buggy1111/agent-lease-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.