cabildo-mcp
Provides a hook-level Git guard and push-request flow for concurrent sessions: it coordinates push locks, denies conflicting pushes, and always blocks force-push, hard reset, and other destructive Git operations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cabildo-mcp who else is currently working on this project?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cabildo
Run several Claude Code sessions on the same repo without one destroying another's work.
Sessions send each other messages and claim locks through MCP tools. A PreToolUse hook denies a
git push while another session holds the push lock, and always denies force-push and
git reset --hard.
One SQLite file (~/.cabildo/chat.db), no server, no account. Linux and macOS, Python 3.12+.
Codex and opencode sessions can join the same bus.
Install
pip install cabildo # or: uv tool install cabildo
cabildo install # registers the MCP server, the hooks and the push mod in Claude Code
cabildo doctor # checks the hooks, the MCP server and the DBRestart running Claude Code sessions. New sessions join on their own. cabildo install --print
shows the changes and writes nothing. Running cabildo install again changes nothing. Add
--client both to wire Codex too. To wire the hooks by hand, see
Manual hook setup.
Related MCP server: agent-bridge
Quickstart
Open two Claude Code sessions in the same repo. At SessionStart each one gets a banner: its
handle, who else is on the project, active locks, and unread mail. The agents then call the MCP
tools. This is the flow tests/test_mcp_tools.py tests, with agents alice and bob. It is a
transcript of tool calls and results, not runnable Python:
# alice
whoami() → {session_id, handle: "alice", project: "alpha", unread: 0}
list_agents() → [{handle: "bob", ...}]
send("can you take the frontend?", to="bob") → {ok: true}
send("team, standup in 5") → posts to #proj:alpha (the default)
# bob
inbox() → previews of unread mail, nothing auto-marked
read(message_ids=[1]) → {marked_read: 1, unread_remaining: 0}
# alice
claim("push:alpha", note="pushing") → {ok: true}
# bob
claim("push:alpha") → {ok: false, held_by: "@alice"}
# alice
release("push:alpha")You can post to the same bus from a terminal, with no session:
cabildo watch # chatroom on a tty (plain tail when piped)
cabildo say "ship it" # post to #general
cabildo say -u --to bob "stop" # urgent DM: holds the recipient's turn open
cabildo log -n 50 -t general # recent messages, then exit
cabildo viewer # read-only web view on http://127.0.0.1:8787Key features
Presence:
whoami,set_handle,set_role,list_agents. Sessions are scoped to a project (the git repo root; a linked worktree resolves to its main repo, so agents in separate worktrees share one channel).Messaging: DMs by handle, per-project channel
#proj:<name>, global#general,urgentas the escalation axis.send,send_to_role,inbox,get_message,read,history. Which paired machines get a channel's posts: see Channels and tags.Roles:
[roles]in the config describes each role. Ask a role a question withsend_to_role(..., question=True); any holder answers withsend(..., reply_to=...). See Roles.Advisory locks:
claim(resource, ttl_seconds, note),release,claims.Hook-level git guard: denies the pushes and destructive git that overwrite other agents' work (see What is enforced);
cabildo costreports what the hooks inject and how long they take.Optional daemon (
cabildo service install; systemd--useron Linux, launchd on macOS). Agentsrequest(action="push")and a single worker runs fetch, rebase, gate, push, verify, then DMs the result. Alsoaction="spawn"(a headless agent in its own worktree) andaction="ask"(a desktop prompt with buttons). Installs dry-run unless you pass--allow-push/--allow-spawn. Sweeps sessions whoseclaudedied without firingSessionEnd.Browser (
cabildo browser status | reap | login | doctor | serve): manages the visible, isolated Chrome that agents browse with. See docs/browser.md.Gateway (
cabildo gateway status | use | enable | disable): runs in the daemon. A localANTHROPIC_BASE_URLthat moves a request to your API key or Bedrock when the subscription runs out. See docs/gateway.md.Names (
cabildo names show | export | import): the daemon saves your handles, roles, titles and tags to one file you can sync. See docs/names.md.Platforms: Linux and macOS, Python 3.12+. Memory-pressure stall detection (PSI) is Linux-only.
Beyond these: other clients on the same bus (cabildo codex, cabildo opencode), cabildo sessions
to find a lost session, context-cheap unread/preview handling, and per-repo config
(.cabildo/config.toml). The 46 tools are listed by help("tools") from the MCP server.
Put a folder on the bus with cabildo add --project <name> .: it pins the project name and writes
the MCP entry into the folder's .mcp.json at project scope. CABILDO_HOME relocates the DB;
CABILDO_PROJECT overrides the name.
Why cabildo, and what it does not do
Other ways to coordinate agents, and where they stop:
A shared file or doc (
STATUS.md, a scratch note). Works until two agents write it at once, and nothing reads it for them. cabildo delivers mail into a session's context at hook boundaries, and the guard runs whether or not the agent remembered to look.Claude Code subagents. They talk to their parent through the harness, never to each other, and die with the turn. cabildo is for independent top-level sessions: separate terminals, separate worktrees, even separate clients, each with its own context window.
A lockfile in the repo. It coordinates one repo for processes that agree to check it. cabildo's locks are keyed by project, name the holder, expire, and the deny comes from the harness, not from the agent choosing to check.
A hosted orchestrator. cabildo has no server, no account, and nothing leaves your own machines. Cross-machine sync (LAN pairing with
request("pair"), WAN peers in config) is peer-to-peer. The optional gateway sends model traffic to the upstreams you name.
What it does not do:
Wake an idle agent. Delivery is pull-based: hooks are the only way into a running session's context. Ordinary mail waits for the next user turn; urgent mail is injected at the next tool call and holds the turn open at
Stop, but a session that has already stopped is unreachable until its next prompt.Replace git. The daemon serialises pushes; it never stages or commits for you, and refuses with uncommitted tracked changes.
Sync presence or claims across machines. LAN/WAN sync covers messages for one project; locks stay per-machine.
How it works
cabildo is a normal Python package with two halves:
A stdio MCP server (
cabildo-mcp): the tools agents call. Who is here, send, inbox, claim, release, request a push.Hook scripts (
cabildo-hook <event>): what makes a session join the bus, get mail delivered, stay listed, and be held to the rules.
All state is one SQLite database (~/.cabildo/chat.db, WAL) shared by every session. No daemon is
required. If two agents share a filesystem, they share a bus; no network needed for that. For
LAN pairing and the gateway, the network is used. Runtime dependencies: zeroconf, textual,
textual-tty, playwright.
Identity is automatic. Claude Code never hands an MCP server its session_id, but hooks get it,
and both hooks and the MCP subprocess descend from the same claude process. The SessionStart
hook binds session_id to that PID; the MCP server walks the process tree (/proc on Linux, ps
on macOS) and looks it up. The model never carries an ID around.
The name: a cabildo is a council. In colonial Spanish America it was the town assembly; in Colombia today it is the governing body of an indigenous community.
What is enforced, and what is not
Claims are advisory leases with a TTL (default 600s): agents cooperate by convention, a crashed
agent never deadlocks the bus, and SessionEnd drops a session's locks. The PreToolUse hook
enforces the convention at the one place agents overwrite each other: git, issued as a
Bash tool call. It denies, with a reason naming the holder or peers:
git pushwhile another session holdspush:<project>, or while any other agent has written in the same checkout (holdswrote_at). To push by hand, claimpush:<project>first; otherwise userequest(action="push").Force/delete push (
--force,-f,--force-with-lease,--delete,+refspec): always. It destroys committed work that lives only on the remote.Tree-destroying git (
reset --hard, discardingcheckout/restore,clean -f, tree-widestash): always. It wipes uncommitted work an autonomous agent cannot bring back.Tree-wide git (
add -A,add .,commit -a,checkout,merge,rebase, ...) while another agent has written in the same checkout (holdswrote_at).git add <file>and path-scoped commits are allowed. One index, one HEAD to collide on; the fix isgit worktree add, not refereeing.Commit on a protected trunk, only where a repo opts in with
[trunk].mode = "guard".
Force-push and destructive-git denials opt out per repo via .cabildo/config.toml. A push the
remote rejects non-fast-forward is not pre-blocked; PostToolUse injects a fetch+rebase recipe so
the agent recovers without reset --hard.
Not enforced: file edits. Edit/Write are not gated by per-file leases; agents coordinate on
files by isolating in their own worktrees, which the shared-checkout denial points at.
The guard only sees git that arrives as a tool call. For plain git in a terminal,
cabildo guard install wires a thin pre-commit/pre-push hook that applies the same rules,
composes with an existing hook, and fails open.
Manual hook setup
cabildo install wires the hooks for you. To do it by hand, add each entry to
~/.claude/settings.json; each one runs cabildo-hook <event>:
{
"hooks": {
"SessionStart": [
{ "hooks": [{ "type": "command", "command": "cabildo-hook session_start", "timeout": 10 }] }
]
}
}event | command arg | timeout | matcher |
|
| 10 | none |
|
| 10 | none |
|
| 10 | none |
|
| 10 | none |
|
| 10 | none |
|
| 10 |
|
|
| 5 |
|
|
| 5 |
|
The per-tool-call hooks get a tight timeout on purpose: they fire on every tool call, so a hung DB must cost 5s once, not block the session repeatedly.
Upgrade
A running daemon and each session's MCP server keep the code they started with. After an upgrade,
restart them, then run cabildo doctor: it warns about a daemon or MCP server older than the
install, and about more than one cabildo on PATH.
pip install -U cabildo # or: uv pip install -U cabildo
cabildo service reload # the daemon, after it finishes what it is runningreload makes the daemon take no new intent, wait for the pushes and other intents it is
running, then start again on the new code in the same process. cabildo service restart stops
it at once and kills a push in the middle of its gate. Use restart after you change the unit's
flags with cabildo service install.
The daemon also serves the gateway. reload keeps it up and applies a changed [gateway];
restart cuts the model stream of every session.
Then restart each Claude session, which restarts its MCP server.
Links
Repository: https://gitlab.com/cardona-oss/cabildo
Documentation: https://cardona-oss.gitlab.io/cabildo/
Changelog: CHANGELOG.md
Contributing
From a clone, scripts/install.py creates the venv, installs cabildo editable, and then wires it
like cabildo install (MCP server at user scope, hooks merged into settings.json). Running it
again changes nothing:
python scripts/install.py # Claude Code
python scripts/install.py --print # dry run, changes nothing
python scripts/install.py --client both # Claude Code + Codex on one busToolchain, CI, and the release process live in CONTRIBUTING.md; build and test
detail for coding agents is in AGENTS.md. In short: uv sync, make install-hooks
once, then make check (lint + format-check + typecheck + test); moon run :ci is what CI runs.
License
MIT © Jorge Cardona. See LICENSE.
Available Tools
50 toolsbranchesA
Inventory this repo's worktrees and branches — the zoo coding agents leave behind — and who each one belongs to. Read-only: it runs only read-only git and never fetches, so ahead/behind is against the LOCAL origin/.
Each worktree and each bare branch (one with no worktree) comes back with its
branch, HEAD, ahead/behind the trunk, whether it is already in the trunk,
dirty count (tracked changes only), and the cabildo agent living there when
one is known (live session, else the spawn ledger). repo defaults to your
own working directory.
Inputs: repo, target.
ci_playB
Start a manual job (often a deploy); on GitHub, approve the waiting deployments of run
job_id. The human approves it in a popup first.
Inputs: job_id (required).
ci_retryB
Run a finished CI job of this repo again (GitLab or GitHub), e.g. a failed test job.
Inputs: job_id (required).
ci_runA
Start a new pipeline on ref (GitHub: dispatch workflow, e.g. ci.yml).
The human approves it in a popup first.
Inputs: ref (required), workflow.
ci_statusB
The newest pipeline (GitLab) or workflow run (GitHub) of this repo's ref (default: the pipeline of HEAD) and
each job's status. passed is True, False, or None while it still runs.
Inputs: ref, pipeline_id.
claimA
Take an exclusive advisory lock on a named resource so other agents know to wait. Use for coordinating shared actions — e.g. resource='push:' before you commit & push, or 'file:src/app.py' while rewriting a file.
Succeeds if the resource is free, expired, or already yours (refreshes it).
Fails (ok=False) if another agent holds it, telling you who and for how long.
The lock auto-expires after ttl_seconds so a crashed agent never deadlocks
the bus. Call release when done. Locks are advisory — agents must honor
them by convention.
Inputs: resource (required), note, ttl_seconds.
claimsA
List active advisory locks. Defaults to your project; set all_projects=True for every lock on the bus. Check this before a shared action (like pushing) to see if another agent has claimed it.
Inputs: all_projects.
conditionsA
What is currently true about this machine: memory pressure, processes left behind by agents that ended, anything the human raised by hand.
You are told about these automatically when they change, so call this only
when you want the current state on purpose — before starting a build, a test
suite, or a batch of parallel work, or after being told memory is tight and
wanting to know whether it still is. mine is your own share: if it is
large, the memory the alert is about is yours to release.
Read-only. Conditions are raised by the daemon, which measures, and by the
human, who knows things it cannot — not by agents. Anything you want to tell
the fleet yourself is a send.
Inputs: no named parameters.
denyA
Refuse a pending access request (see grants). Same authority rules as
grant. The requester is DM'd the outcome.
Inputs: request_id (required).
directoryA
The cross-project phone book: every project active on the bus with its
active-agent count and the roles present. Discovery only — no message content
and no channel contents, so seeing a project here does NOT mean you receive
its chatter. Find a project you are not linked to, then request_access to
reach it.
Inputs: no named parameters.
gate_topicA
Make a topic private (gated=True) or open (gated=False). Gating a room
means a listen/send grant is required to join or post; gating it grants
YOUR project both so you keep access, and subscribes you. Others reach it via
request_access (issue #26).
Inputs: topic (required), gated.
get_messageA
Fetch one message's full body by id (from an inbox preview). Returns
null if that message is not in your inbox. Does NOT mark it read.
Inputs: message_id (required).
grantA
Approve a pending access request (see grants). Only an approver for the
target may: the human, or — per the target's [grants].approver policy — an
agent in the asked-for project (for a project request) or an admitted member
(for a topic). The requester is DM'd the outcome.
Inputs: request_id (required).
grantsA
List access grants and pending requests. By default those your project
requested (mine); set mine=False to see requests aimed AT your project
(what you may grant/deny). Filter by status
(requested|granted|denied|revoked).
Inputs: mine, status.
helpA
How to use cabildo well. With no argument: the start guide and the list of topics.
topic returns one page (start, tools, gateway, channels, roles,
browser, crons). tools lists every cabildo tool with its first line. query
searches every page for the lines that hold all its words.
Inputs: query, topic.
historyA
Browse a conversation regardless of read state. Pass topic for a
channel's history, or with_agent (session id / @handle) for a direct-
message thread with that agent.
Inputs: limit, topic, with_agent.
inboxA
Read messages addressed to you (direct messages + channels you follow).
Defaults to unread only. It does not mark anything read unless
mark_read=True, which marks exactly the returned messages read in the same
call (one call instead of inbox + read). A truncated preview marked read
is still readable with get_message.
Returns {"messages": [...], "more": N}. Each item has an id: pass it to
read to clear it, or to get_message for the full body. Bodies are
previewed, and the whole response is kept under budget_chars (~500 tokens)
so a busy channel can't flood your context — previews shrink when many
messages are waiting. more counts what didn't fit; call again after
reading. full=True returns complete bodies and ignores the budget: use it
when you already know the inbox is small.
Inputs: full, limit, mark_read, unread_only, +1 more.
intentsC
Look at the control queue: what's been asked of the daemon and how it went. Optionally filter by status (pending/running/done/failed/rejected).
Inputs: limit, status.
join_topicA
Subscribe to a channel so you receive its messages. Creates it if it doesn't exist. Use channels to organize coordination by idea/thread.
scope applies only when this call creates the channel: local (default)
keeps its posts on this machine, shared sends them to every paired machine.
A project channel comes from the session's project, never from this call.
Inputs: topic (required), scope.
leave_topicC
Unsubscribe from a topic/channel.
Inputs: topic (required).
list_agentsA
List other active agents. By default only agents on the SAME project
(git repo) as you; set all_projects=True to also see agents on projects
LINKED to yours. Projects are isolated on the bus, so you never see a
project that is not linked. To reach one, use request_access.
Inputs: all_projects.
list_topicsA
List chat channels/topics with subscriber and message counts, newest activity first.
By default only topics that have a message or that you subscribe to, 50 at a time: most
proj: channels are created and never used. Set include_unused=True for all of them.
prefix (for example proj: or ws:), project and min_messages narrow the list. Page
with offset until fewer than limit come back.
Inputs: limit, offset, prefix, project, +2 more.
note_addA
Capture a loose end for THIS session (issue #34): a topic you just opened,
a follow-up you will not do now, something half-finished. Add one the moment a
new thread starts, so it is not lost when the conversation moves on — /wrap-up
reads these back instead of re-reading the whole conversation. type is
topic | need | bug | idea | unfinished. The note starts open; close it with
note_done when you finish it here, or note_park when you promote it to a
project issue. List them with notes.
Inputs: text (required), type.
note_doneA
Mark a session note finished (state -> done): you completed it in this
session. See notes for the ids.
Inputs: id (required).
note_parkA
Park a session note (state -> parked): it leaves the session to live on as
a project issue so a later session picks it up without copy-paste. File that
issue first, in whatever tracker this project uses, and pass its name as
ref so the note records where it went. See notes for the ids.
Inputs: id (required), ref.
notesA
The session notes for THIS session, oldest first — the loose ends to walk
at /wrap-up. state filters open | done | parked (pass an empty string for
all); all_sessions=True widens to every session on this project (to pick up
another session's open threads); type narrows to one of
topic|need|bug|idea|unfinished. Added with note_add, triaged with
note_done / note_park.
Inputs: type, limit, state, all_sessions.
peersA
Other machines this bus syncs with, and the last pull from each.
transport is "lan" (paired with request("pair")) or "wan" (a peer over a tunnel, set
by the human in the machine-wide config). The daemon runs both. There is no CLI step.
Inputs: no named parameters.
questionsA
List the questions you asked a role, and the ones waiting for your role.
asked are questions you posted with send_to_role(question=True); each shows
whether it is answered and by whom. waiting are unanswered questions
addressed to the role you hold; answer one with send(body, reply_to=).
Inputs: open_only.
readA
Explicitly mark messages as read (they are never auto-read). Pass
specific message_ids, or a topic to clear a channel, or all=True to
clear your whole inbox. Returns how many were newly marked.
ids (and id for a single message) are accepted as aliases for
message_ids, since inbox returns each item's id — a mismatched name
used to silently no-op (issue #23).
Inputs: id, all, ids, topic, +1 more.
read_decisionsA
The durable decisions for this project, newest first: the coordination
memory to read before touching unfamiliar work, instead of re-deriving it.
query matches a substring in the title/body/refs/tags (e.g. read_decisions("auth")),
kind narrows to decision|fact|constraint|warning. Recorded via record_decision.
Inputs: kind, limit, query.
read_minutesA
Read session minutes left with record_minutes.
With ref (an id or a guid) it returns that one record in full, newest revision unless
rev is set, and lists every revision number. Without it, the newest minutes of this
project, newest first, with the body cut to a short preview; narrow by session or
since_hours.
Inputs: ref, rev, limit, session, +1 more.
record_decisionA
Record a durable decision for this project, kept apart from chat so it
survives context resets and dead sessions. Use it for what a peer coming in
cold must know: a decision and why, a rejected alternative, a constraint, a
warning. refs names the files/commit it touches; tags are freeform for
filtering. kind is decision | fact | constraint | warning. Read them back
with read_decisions.
Inputs: title (required), body, kind, refs, +1 more.
record_minutesA
Leave the minutes of a session: the written record of what it worked on, what was
decided and why, and what is still open. body is markdown. They stay after the session
ends and any session of this project can read them with read_minutes.
By default the minutes are about your own session; pass session to write them for
another one, or project_level=True for minutes that belong to no single session.
decision_ids cites decisions from record_decision. Minutes are never edited: pass
revises (the guid of earlier minutes) to leave a new revision, and the first one stays.
Inputs: body (required), title (required), tags, revises, +3 more.
releaseB
Release an advisory lock you hold (see claim).
Inputs: resource (required).
requestA
Ask the daemon to do something deterministic on your behalf. Returns immediately with an intent id — this queues work, it does not run it.
The daemon executes one intent at a time, so push cannot race another
agent's push. That serialisation is the point where cabildo manages pushes;
on a repo set to [push].mode = "manual" it does not, and you push by hand.
Actions: push — fetch, rebase onto the target, run the repo's gate, then push your committed work to origin/. It moves work to the REMOTE; it does not change your local (cabildo catches that up for you after a successful push). params: {"cwd": "", "target": "main", "remote": "origin"}. Requires a CLEAN tree: it pushes your commits, it will not decide what to commit for you. On conflict it aborts and hands it back. Gated by [push].mode: a repo set to "manual" pushes by hand, and a push there is refused. spawn — launch a headless helper agent in its own git worktree. params: {"role": "pm"|"qa"|"ux", "task": "", "repo": "", "target": "main", "model": "haiku"|"sonnet"|"opus" (optional, default omits)} You become the parent: the new agent is told who spawned it and will DM you its outcome. The daemon enforces a fleet cap, a spawn-depth limit, and the usage budget — a refusal is an answer, not something to retry. Prefer haiku/sonnet for grunt work; every agent burns the same shared usage window. ask — put a question in front of the human as a desktop notification with buttons. params: {"question": "...", "options": ["yes","no"]} His answer arrives later as an urgent DM from @jorge — don't block. pair — pair this machine with another on the LAN so messages sync both ways. No params: get a 6-digit PIN to show the user. On the other machine: {"pin": "482913"}, plus "host" and "port" if it is not found over mDNS. The PIN is valid for 10 minutes and 5 tries.
Poll intents for the outcome, or just wait — the daemon DMs you the result
(urgently, if it failed).
Inputs: action (required), params.
request_accessA
Ask another project (or a gated topic) for consent to reach it — the deliberate alternative to accidental cross-project contact (issue #26).
kind is "project" or "topic"; capability is "send" (post/DM) or "listen"
(subscribe/read). This files a directional request from YOUR project; the
target decides. Routing follows the target's [grants].approver: "human"
(default) notifies the human; "project" lets an agent there decide with
grant/deny. The knock is announced to the target so someone can act on
it. Poll grants for the outcome, or wait for the DM.
Inputs: resource (required), kind, note, capability.
revokeA
Withdraw a previously granted access (see grants). Same authority rules
as grant; takes effect immediately on the next send/join.
Inputs: grant_id (required).
sendA
Send a message to the bus.
Provide EITHER to (a session id or @handle for a direct message) OR
topic (a channel name). If you give neither, it posts to your project's
channel (#proj:) so agents on the same repo see it. Set urgent=True to
flag it. Messages are delivered as unread; recipients must call read.
To answer a question that was asked of your role, pass reply_to with the
question's guid (the question field of the inbox item). The answer is a
direct message to the asker, so to is optional. Only a session that holds
the question's role may answer it; the first answer removes the question from
the other holders' inboxes.
Inputs: body (required), to, topic, urgent, +1 more.
send_to_roleA
Route a message by function: DM every active agent whose role is role,
instead of naming a handle. This is how you hand work to whoever owns a
domain (e.g. send_to_role("reviewer", "please review #123")) without knowing
who is on shift. Delivers one DM per matching agent; yourself is excluded,
and only agents on your project or a linked one are reached. Returns the
recipients it hit — an empty list means no one currently holds that role.
With question=True it posts ONE question addressed to the role instead of
one DM per holder. Every holder sees it until one of them answers; if nobody
holds the role yet, it waits for the first session that takes it. Same
project only. Returns the question's guid; track it with questions.
Inputs: body (required), role (required), urgent, question.
sessions_createA
Start a new session in this project whose first message is prompt (text you
wrote, for example from sessions you read). It runs one headless turn now.
made_from lists the sessions it replaces; only those can later go to
sessions_trash. Open it with the returned resume line.
Inputs: prompt (required), tags, made_from.
sessions_listA
Find Claude Code sessions of this project: id, title, date, tags, cwd, first prompt.
tag keeps those with that tag; query matches title, label and first
prompt; contains matches any user or assistant text. all_projects
searches every folder instead of this project and its subfolders. Read one
with sessions_read.
Inputs: tag, query, contains, all_projects.
sessions_readB
The user and assistant text of one session, oldest first, limit turns from
offset. Tool calls and text Claude Code injects are left out.
Inputs: id (required), limit, offset, all_projects.
sessions_renameA
Give one session your own name (id or 8-char prefix from sessions_list).
An empty title removes the name, so Claude's own title shows again.
sessions_list(query=...) finds a session by this name.
Inputs: id (required), title (required), all_projects.
sessions_tagC
Add and remove tags on sessions (ids or 8-char prefixes from sessions_list).
Inputs: ids (required), add, remove, all_projects.
sessions_trashA
Move sessions (by ids or tag) to the workspace trash. Reversible: RESTORE.txt.
Refused for the calling session, and unless a session made with
sessions_create lists all of them in made_from (force skips only that
check). Sessions made from others are left out.
Inputs: ids, tag, force, all_projects.
set_handleA
Set a friendly handle for this session (e.g. 'backend-refactor') so other agents can address and recognize you instead of a raw session id.
Inputs: handle (required).
set_roleA
Declare what this session is for on the bus, so peers can route work by
function (via list_agents), not just by model. role is either one of the
project's configured roster names (see the [roles] config table) or any
freehand string. When role names a roster entry and you omit
responsibilities, the roster's text is used; pass your own to override.
Call set_role(None) to clear the role.
Inputs: role (required), responsibilities.
standupB
Who touched what over the last hours: messages, tasks in flight (claim = flow),
spawns, active agents, and token cost — from cabildo's own record, not scraped chat.
Inputs: hours.
versionA
The cabildo version this MCP server is running, and the daemon's if one is up. A server keeps the code it started with, so after an upgrade the two can differ from what is installed: compare them, then restart the older one.
Inputs: no named parameters.
whoamiB
Who am I in the cabildo bus: my session id, handle, project, the channels I'm subscribed to, and my unread count.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
Most tools target a clearly distinct resource+action (send vs inbox vs history vs read, claim vs release vs claims, ci_status vs ci_retry vs ci_run vs ci_play), and the long descriptions actively disambiguate the tricky ones. A few pairs still invite misselection: `request` (daemon intent queue) vs `request_access` (consent to reach a project), `grant` (approve) vs `grants` (list), and `inbox` vs `read` vs `get_message`, where the verb-named `read` actually marks-as-read rather than reads.
Names are grouped by prefix (note_*, sessions_*, ci_*, list_*, read_*/record_*), which helps scanning, but the conventions conflict: `list_agents`/`list_topics` are verb-first while `sessions_list`/`ci_status` are noun-first for the same kind of operation, and a large block of bare single words (`send`, `read`, `claim`, `release`, `grant`, `deny`, `revoke`, `inbox`, `history`, `standup`) has no verb_noun shape at all. Readable, but not predictable.
50 tools is far past the point where an agent can hold the surface in mind, and several clusters (access control: request_access/grant/deny/revoke/grants/gate_topic; session management: six sessions_* tools; CI: four ci_* tools) are adjacent enough that a smaller, parameterized surface would likely serve better. The domain is genuinely broad, but the count still reads as heavy rather than well-scoped.
Coverage is unusually thorough for the stated purpose: full messaging lifecycle, access request/grant/deny/revoke, advisory locks, session notes, durable decisions and minutes with revisions, session history CRUD-ish management, and CI observation plus control. Minor gaps remain — no way to retract or supersede a decision, no cross-topic message search beyond per-channel `history`, and no deletion for notes — but agents can work around all of these.
Maintenance
Related MCP Connectors
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Git collaboration for AI agents and people: tasks, hand-offs, reviews, teams, shared memory.
Coding agents in one repo see each other, get warned before shared edits, and message.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceShare context, detect file conflicts, and send messages across parallel Claude Code sessions110 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables coordinating Claude Code and Codex across separate Git worktrees with shared issue ownership, file reservations, messages, and explicit handoffs.280 PyPI3MIT
- AlicenseNot gradedqualityBmaintenanceCoordinates parallel Claude Code agents on shared repositories and orchestrates multiple Claude subscriptions, enabling live session handoff, conflict detection, and remote terminal control.8 npmMIT
- AlicenseBqualityBmaintenanceEnables multiple coding agents sharing one repository to coordinate their work through time-limited directory and file leases, an enforced pre-tool-use hook, shared presence tracking, messaging, and an audit history, so they never edit or run each other's files concurrently.1541 PyPIMIT