loading…
Search for a command to run...
loading…
A control plane for AI agents and human supervisors. Persistent task registry with scoped permissions, inter-agent delegation, and full provenance — all accessi
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. Deploy on Supabase free tier in 3 commands.
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.
AI agents need a shared, persistent task registry — not ephemeral in-memory state that vanishes between sessions. WritBase gives your agent fleet:
No repo clone needed. Just npx:
npx writbase init # Interactive setup — configures Supabase credentials
npx writbase migrate # Apply database schema
npx writbase key create # Create your first agent key
That's it. Your MCP endpoint is live at:
https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp
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.
git clone https://github.com/Writbase/writbase.git
cd writbase && npm install
# Create a free project at supabase.com/dashboard, then:
npx supabase link --project-ref <your-project-ref>
npx supabase db push
npx supabase functions deploy mcp-server --no-verify-jwt
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.
Via the CLI (npx writbase key create), the dashboard, or a manager agent:
my-app. Optionally add departments (backend, frontend, devops)worker role, save the key (wb_<key_id>_<secret> — shown once)writbase key permit my-agent --grant --project my-app --can-read --can-create --can-update (or via dashboard)claude mcp add writbase \
--transport http \
--url https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp \
--header "Authorization: Bearer wb_<key_id>_<secret>"
Add to .cursor/mcp.json:
{
"mcpServers": {
"writbase": {
"type": "streamableHttp",
"url": "https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp",
"headers": { "Authorization": "Bearer wb_<key_id>_<secret>" }
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"writbase": {
"type": "http",
"url": "https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp",
"headers": { "Authorization": "Bearer wb_<key_id>_<secret>" }
}
}
}
See the MCP Config Reference for all supported clients.
Ask your agent:
"Check my WritBase permissions" → calls info
"Create a task in my-app: Fix login bug" → calls add_task
"Mark it as in_progress" → calls update_task (with version for concurrency)
"Show all high priority tasks" → calls get_tasks with priority filter
| Agent | Role | Scoped to | Use case |
|---|---|---|---|
ci-bot |
worker | my-app/devops — can_create |
CI creates tasks on build failure |
triage-agent |
worker | my-app (all depts) — can_comment |
Reviews tasks, adds notes |
ops-manager |
manager | (workspace-wide) | Manages keys, permissions, projects |
Each agent gets its own key with exactly the permissions it needs — nothing more.
Full walkthrough: Getting Started Guide — permissions, departments, troubleshooting
| Tool | Description |
|---|---|
info |
Agent identity, permissions, and system metadata |
get_tasks |
List tasks with filtering, pagination, and full-text search |
add_task |
Create a task in permitted scope |
update_task |
Update a task with optimistic concurrency control |
| Tool | Description |
|---|---|
manage_agent_keys |
Create, update, deactivate, rotate agent keys |
manage_agent_permissions |
Grant/revoke permissions with subset enforcement |
get_provenance |
Query the append-only audit log |
manage_projects |
Create, rename, archive projects |
manage_departments |
Create, rename, archive departments |
subscribe |
Register webhooks for task event notifications |
discover_agents |
Find agents by capability and skill |
can_read, can_create, can_update, can_assign, can_comment, can_archive┌─────────────┐ ┌──────────────────┐ ┌──────────────┐
│ MCP Client │────▶│ Edge Function │────▶│ Postgres │
│ (Agent) │◀────│ (Hono + MCP SDK)│◀────│ (Supabase) │
└─────────────┘ └──────────────────┘ └──────────────┘
│
┌──────┴──────┐
│ Next.js 16 │
│ Dashboard │
└─────────────┘
| Supabase Cloud (recommended) | Self-Hosted Supabase | |
|---|---|---|
| Setup | npx writbase init → npx writbase migrate → done |
Docker Compose (5 containers) |
| Cost | Free tier: 500MB DB, 50K MAUs | Your infrastructure |
| Dashboard | Deploy to Vercel (free) | Self-host Next.js |
| Updates | Automatic platform updates | Manual |
| Control | Supabase-managed | Full |
See docs/deployment.md for detailed setup instructions.
npx writbase init, migrate, key, statusSee CONTRIBUTING.md for development setup, testing, and PR guidelines.
See SECURITY.md for vulnerability reporting.
Apache 2.0 — see LICENSE.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"writbase": {
"command": "npx",
"args": []
}
}
}Read and write pages in your workspace
Issues, cycles, triage — from Claude
Search and read your Drive files
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).