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 分