Agora Mcp

io.github.vorluno由 GitHub 账号 vorluno 发布v0.1.0更新于 Nov 3, 2026

Shared per-repo space for Claude Code sessions: see activity, get collision warnings, notes.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

已退役的本地 MCP 服务器,为同一仓库的多个 Claude Code 会话提供共享 SQLite 看板,查看活动、冲突警告与留言。

可以做什么
  • 汇总仓库共享空间:活跃会话、近期活动、冲突与未读留言
  • 列出活跃会话及各自正在改动的文件
  • 按时间或会话筛选读取仓库事件日志
  • 检查是否有其他活跃会话正在写同一批文件或同一分支
  • 向指定会话或全体广播留言,并读取发给某会话的留言
适用场景
仅当你仍在同一仓库上并行运行多个 Claude Code 会话,并希望它们互相看到文件占用情况、留下留言时适用。README 已将其标记为退役,因为 Claude Code 现在自行完成会话协调,新项目基本不需要它。
运行要求
通过 stdio 在本机运行,需要 Bun 1.3+ 与 git 2.x,以及任意 MCP 客户端(如 Claude Code)。无需守护进程或服务器,状态保存在仓库根目录下的 SQLite 文件中。未声明认证、环境变量或请求头。
安装前请注意
已归档且不再维护:仍可从 npm 安装,但不会有更新。它会在仓库内写入 SQLite 数据库,并安装钩子记录文件编辑、把会话摘要注入上下文。留言与活动对该仓库的所有会话可见,避免放入敏感内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agora Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[agora — a shared space for your Claude Code sessions]

agora

A shared, persistent space for your Claude Code sessions — per repository.

See what other sessions are doing, get warned before you overwrite their work, and leave notes. No daemon, no server to run.

[License: Apache 2.0] [Bun] [Model Context Protocol] [Built with Claude Code]


Retired

Claude Code now does this itself. Sessions coordinate, see each other's work and share state without a separate MCP server in between, which is what this existed to provide.

The repository is archived and read-only. It still works — nothing was removed from npm, and the last published version keeps installing — but it will not be maintained, and it does not need to be. If you want the idea rather than the package, the whole design is in docs/ and the licence lets you take it.

Why

When several Claude Code sessions work on the same repository — in parallel, or just over the course of a day — they're blind to each other. None of them knows what the others touched, they overwrite the same files silently, and the context is lost when you close them.

agora gives every session a shared place to leave a trail and look at each other's work.

How it works

The whole system is one SQLite file per repo: <repo-root>/.agora/space.db (in WAL mode, so multiple processes read and write it at once without corruption).

  • No one runs a server. There's no daemon, no web app. The "space" is the file.
  • Every session of the repo writes what it does and reads what the others did.
  • Because it's a file, it persists by itself — close everything, come back tomorrow, the state is still there.
  • It's a shared board, not a live chat: sessions find out when they start, when they're about to edit (collision), or when they ask (the tools).

Multi-worktree friendly: the .db lives at the main repo root, so every session of the repo — including those in different worktrees — shares one agora.

Features

  • 🟢 See who's here and what files each session is touching, live.
  • ⚠️ Collision warnings — before you edit a file (or work a branch) another active session already holds.
  • 📋 Project resume — open a session and get a summary of what the others did.
  • 📓 Activity log — a per-repo timeline of everything that happened.
  • ✉️ Notes between sessions (directed or broadcast).
  • 🛡️ Best-effort hooks — they exit 0 no matter what; they never block your session.

Requirements

Installation

From npm — nothing to clone:

bash
# Register the MCP server — nothing to install for this partclaude mcp add agora -- bunx --bun @vorluno/agora-mcp
# The hooks need the CLI on your PATH. Install once, then run it from any repo.# Idempotent; add --project to scope it to the current repo only.bun add -g @vorluno/agora-mcpagora-init init

From source — if you want to change it:

bash
git clone https://github.com/vorluno/agora-mcp.gitcd agora-mcpbun installbun run src/cli.ts initclaude mcp add agora -- bun run /absolute/path/to/agora-mcp/src/index.ts

Configuration

Any MCP client works. The mcpServers entry:

json
{  "mcpServers": {    "agora": {      "command": "bun",      "args": ["run", "/absolute/path/to/agora-mcp/src/index.ts"]    }  }}

For Claude Code, claude mcp add (above) writes this for you. For Warp or Cursor, paste the snippet into their MCP settings.

Tools

ToolDescription
resume_projectSummary of the agora: active sessions, recent activity, collisions, unread notes.
who_is_hereActive sessions and which files each one is touching.
activity_logThe repo's event log, filterable by time/session.
check_collisionIs another active session touching these files or this branch?
leave_noteLeave a note for another session (or broadcast to all).
read_notesRead notes addressed to a session (marks them read).

How collisions are detected

  • File collision: 2+ distinct sessions with an active writing claim on the same file.
  • Branch collision: 2+ active sessions on the same branch but in different worktrees.

Only live sessions are counted, so a session that died without a clean exit won't produce false positives.

Automatic capture (hooks)

init installs 5 best-effort hooks (they always exit 0):

HookWhat it does
SessionStartRegisters the session and injects the agora summary into your context (also fires on /resume and after a context compaction).
PostToolUse (Edit/Write)Records the file claim + event; warns if a new collision appears.
PreToolUse (Edit/Write)Warns you before editing if another session already holds the file.
Stop / SessionEndMarks the session idle / stopped and releases its claims.

Development

bash
bun test          # full suite (incl. a real WAL concurrency test)bunx tsc --noEmit # type-check

Built test-first across 14 TDD tasks with per-task and whole-branch review.

Contributing and security

Read CONTRIBUTING.md first — its first line tells you whether your pull request will be considered. Vulnerabilities go to [email protected], never to an issue: see SECURITY.md, where the 72-hour acknowledgement is the one response time we commit to.

License

Apache-2.0 © 2026 Vorluno. See NOTICE.

Up to and including 0.1.0 this was MIT. Those releases stay MIT — a licence already granted cannot be withdrawn. From 0.2.0 on it is Apache-2.0, which grants patent rights explicitly.


Built by Vorluno — a software studio from Panamá 🇵🇦

Part of the mcp-s family of MCP servers.

来源:README.md,提交 dba487c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分