
Writbase
io.github.Writbase由 GitHub 帳號 Writbase 發布v0.1.3更新於 Oct 24, 2026
MCP-native task management for AI agent fleets with scoped permissions and provenance.
概覽
WritBase 是面向 AI 代理機群的 MCP 原生任務登錄系統,讓助理在限定權限內建立、搜尋和更新任務並保留溯源紀錄。
- 可以做什麼
- 檢視代理身分、權限和系統中繼資料,並依篩選條件、分頁和全文搜尋列出任務,支援優先順序過濾和游標翻頁。在允許範圍內建立任務,並透過以版本號為基礎的樂觀並行控制更新任務。供管理者代理使用:建立、輪替和停用代理金鑰,並依子集規則授予或撤銷權限。管理專案和部門,並查詢僅追加的稽核日誌以取得溯源資訊。註冊任務事件 webhook,並依能力和技能探索其他代理。
- 適用情境
- 當多個 AI 代理或人類主管需要共用一個持久任務登錄系統,而不是把狀態散落在檔案和聊天串中時適用,尤其適合需要依代理限定權限、代理間委派和稽核軌跡的情境。
- 執行需求
- 需要一個 Supabase 專案上的遠端 MCP 端點網址(WRITBASE_URL),以及透過 Authorization Bearer 標頭傳送的代理金鑰(WRITBASE_AGENT_KEY)。自行部署執行個體需要 Node 18+、Supabase CLI 和一個 Supabase 專案;npm 套件可透過 npx 在本機執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Writbase,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
WritBase
MCP-native task management for AI agent fleets
A control plane for AI agents and human supervisors. Persistent task registry with scoped permissions, inter-agent delegation, and full provenance — all accessible via MCP.
[License] [CI] [MCP Compatible]
[WritBase MCP demo — agent creates a task and delegates to another agent]
Why WritBase?
AI agents need a shared, persistent task registry — not ephemeral in-memory state that vanishes between sessions. WritBase gives your agent fleet:
- One source of truth — Tasks live in Postgres, not scattered across files and chat threads
- Scoped permissions — Each agent gets exactly the access it needs, nothing more
- Full provenance — Every change is recorded: who, what, when, and why
- Inter-agent delegation — Agents can assign tasks to each other with depth limits and cycle detection
- MCP-native — Agents connect via the Model Context Protocol, no custom integration needed
Getting Started
Option A: CLI Setup (recommended)
No repo clone needed. Just npx:
That's it. Your MCP endpoint is live at:
Prerequisites: Node 18+, Supabase CLI, a Supabase project (free tier works)
Deploy the Edge Function:
npx supabase functions deploy mcp-server --no-verify-jwtSee the CLI README for all commands.
Option B: Manual Setup
Clone and deploy manually
Optional dashboard:
cp .env.example .env.local→ edit with your Supabase URL + anon key →npm run devSee the Deployment Guide for Vercel hosting and self-hosted Supabase.
2. Create a project and agent key
Via the CLI (npx writbase key create), the dashboard, or a manager agent:
- Create a project — e.g.,
my-app. Optionally add departments (backend,frontend,devops) - Create an agent key — name it, pick the
workerrole, save the key (wb_<key_id>_<secret>— shown once) - Grant permissions —
writbase key permit my-agent --grant --project my-app --can-read --can-create --can-update(or via dashboard)
3. Connect your MCP client
Claude Code
Cursor
Add to .cursor/mcp.json:
VS Code / Copilot
Add to .vscode/mcp.json:
Windsurf / Claude Desktop / Other
See the MCP Config Reference for all supported clients.
4. Use it
Ask your agent:
5. Scale up
Each agent gets its own key with exactly the permissions it needs — nothing more.
Full walkthrough: Getting Started Guide — permissions, departments, troubleshooting
MCP Tools
Worker Tools (all agents)
Manager Tools (manager agents only)
Features
- Multi-tenant workspaces — Signup auto-provisions an isolated workspace
- Dynamic MCP schema — Tool visibility and parameter enums adapt per agent's role and permissions
- 6 permission types —
can_read,can_create,can_update,can_assign,can_comment,can_archive - Project + department scoping — Permissions are granted per (project, department) pair
- Optimistic concurrency — Version-based conflict detection prevents silent overwrites
- Cursor pagination — Efficient traversal of large task sets
- Rate limiting — Per-agent-key request throttling
- Request logging — Every MCP call logged with latency, status, and agent context
Architecture
- Backend: Supabase (Postgres + Edge Functions with Deno runtime)
- Transport: Streamable HTTP (MCP SDK)
- Frontend: Next.js 16 (App Router) + Tailwind CSS
- Auth: Supabase Auth (humans) + SHA-256 agent keys (agents)
Deployment Options
See docs/deployment.md for detailed setup instructions.
Documentation
- Getting Started — Deploy, create an agent key, connect your MCP client, and manage tasks
- CLI Reference —
npx writbase init,migrate,key,status - Deployment Guide — Supabase Cloud, Vercel, and self-hosted setup
- Core Concepts — Permissions, provenance, error codes, delegation
- MCP Config Reference — Client configs for Claude Code, Cursor, VS Code, Windsurf
Contributing
See CONTRIBUTING.md for development setup, testing, and PR guidelines.
Security
See SECURITY.md for vulnerability reporting.
License
Apache 2.0 — see LICENSE.
來源:README.md,提交 598bef6
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 60%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分