
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 分