
Writbase
io.github.WritbasePublished by GitHub account Writbasev0.1.3Updated Oct 24, 2026
MCP-native task management for AI agent fleets with scoped permissions and provenance.
Overview
WritBase is an MCP-native task registry for AI agent fleets, letting an assistant create, search and update scoped tasks with provenance.
- What you can do
- Inspect agent identity, permissions and system metadata, and list tasks with filtering, pagination and full-text search, including priority filters and cursor paging. Create tasks in permitted scope and update them with version-based optimistic concurrency control. For manager agents: create, rotate and deactivate agent keys, and grant or revoke permissions with subset enforcement. Manage projects and departments, and query the append-only audit log for provenance. Register webhooks for task events and discover other agents by capability and skill.
- When to use it
- Use it when several AI agents or human supervisors need one persistent, shared task registry instead of state scattered across files and chat threads, especially when per-agent scoped permissions, inter-agent delegation and an audit trail matter.
- Requirements
- A remote MCP endpoint URL (WRITBASE_URL) on a Supabase project, plus an agent key (WRITBASE_AGENT_KEY) sent as an Authorization Bearer header. Setting up your own instance needs Node 18+, the Supabase CLI and a Supabase project; the npm package runs locally via npx.
Installation
In SourceWeft
- Open Writbase in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 598bef6
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
60% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts