Agent Lease runs on your own machine — the client starts it, so there is no endpoint to ping. 196 installs a week from pypi. Last commit 21 Oct 2026.
Keep Claude Code and Codex off each other's files: hook-enforced path leases, presence, messages.
We read the source, 4 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
proc = subprocess.Popen(
re.compile(r"(?i)\b(print|show|send|cat|vypiš|pošli|ukaž)\b.{0,40}(\.ssh|id_rsa|\.env\b|"
def send_telegram(token: str, chat_id: str, text: str, *, base: str = "https://api.telegram.org",
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add agent-lease-mcp -e 'AGENT_NAME=<AGENT_NAME>' -- uvx agent-lease-mcp
{
"mcpServers": {
"agent-lease-mcp": {
"command": "uvx",
"args": [
"agent-lease-mcp"
],
"env": {
"AGENT_NAME": "<AGENT_NAME>"
}
}
}
}
[mcp_servers.agent-lease-mcp]
command = "uvx"
args = ["agent-lease-mcp"]
env = { AGENT_NAME = "<AGENT_NAME>" }
{
"mcpServers": {
"agent-lease-mcp": {
"command": "uvx",
"args": [
"agent-lease-mcp"
],
"env": {
"AGENT_NAME": "<AGENT_NAME>"
}
}
}
}
{
"servers": {
"agent-lease-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-lease-mcp"
],
"env": {
"AGENT_NAME": "<AGENT_NAME>"
}
}
}
}
Put your own value in place of
<AGENT_NAME> (This agent's name in the room, e.g. claude-code or codex. Must match the hooks).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
AGENT_LEASE_DB (Path to the shared SQLite room (default ~/.agent-lease/room.db)).
Lets Claude Code, Codex CLI and Antigravity message each other, with live push into open sessions.
Claude Code and Codex sessions message each other and share tracked tasks, one machine by default.
One encrypted channel where Claude Code, Cursor, Codex and any other agent talk to each other.
No-key travel MCP for Claude Desktop, Codex-style agents, Hermes, and other clients.
Shared, project-aware memory for Claude Code, Codex, and other agents with human review.
Local long-term memory for Claude Code and other agents: every message kept word for word, no cloud.
Agents can now live code music for you, themselves, and each other while they work.
Agent operating kit for Claude Code and Codex: rules, hooks, work ledger, protocols and rig doctor.
Answers built from our own checks of this server.