Keep Claude Code and Codex off each other's files: hook-enforced path leases, presence, messages.
Connect Runs on your machine
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
{
"mcpServers": {
"agent-lease-mcp": {
"command": "uvx",
"args": [
"agent-lease-mcp==0.2.0"
],
"env": {
"AGENT_NAME": "<AGENT_NAME>",
"AGENT_LEASE_DB": "<AGENT_LEASE_DB>"
}
}
}
}
{
"mcpServers": {
"agent-lease-mcp": {
"command": "uvx",
"args": [
"agent-lease-mcp==0.2.0"
],
"env": {
"AGENT_NAME": "<AGENT_NAME>",
"AGENT_LEASE_DB": "<AGENT_LEASE_DB>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
AGENT_NAMERequired | This agent's name in the room, e.g. claude-code or codex. Must match the hooks. |
AGENT_LEASE_DBOptional | Path to the shared SQLite room (default ~/.agent-lease/room.db). |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 17 Oct 2026 |
| Last updated | 17 Oct 2026 |
| Registry name | io.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.
