Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Writbase avatar

Writbase

  • 8 repo stars
  • Updated March 29, 2026
  • Writbase/writbase

WritBase MCP is an MCP server that manages tasks for AI agent fleets with scoped permissions and provenance.

About

WritBase MCP provides task management designed for AI agent fleets: scoped permissions, MCP-first APIs, and provenance on work items. developers running more than one agent—or one agent with many parallel jobs—install it during Build agent-tooling to avoid ad hoc JSON files and unsafe shared credentials. You can run the npm writbase package over stdio with WRITBASE_URL and WRITBASE_AGENT_KEY, or connect to a Supabase-hosted streamable-http endpoint templated with your project ref and bearer token. Version 0.1.3 signals an early but purposeful API surface for assign, track, and permission boundaries. It complements human PM tools by being machine-writable. It does not replace production error monitoring or security scanners; it organizes who does what next in the agent layer.

  • MCP-native task management for multi-agent fleets with scoped permissions
  • Provenance on task operations for accountability across agents
  • Stdio via npx writbase plus optional Supabase streamable-http remote
  • Requires WRITBASE_URL and WRITBASE_AGENT_KEY (wb_<key_id>_<secret>)

Writbase by the numbers

  • Data as of Jul 14, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env WRITBASE_URL=YOUR_WRITBASE_URL --env WRITBASE_AGENT_KEY=YOUR_WRITBASE_AGENT_KEY writbase -- npx -y writbase

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars8
Packagewritbase
TransportSTDIO, HTTP
AuthRequired
Last updatedMarch 29, 2026
RepositoryWritbase/writbase

What it does

Coordinate tasks across multiple coding agents with MCP-native permissions and provenance instead of a shared Notion board the bots cannot write to safely.

Who is it for?

Best when you're orchestrating multiple Claude/Codex workers on one product and need a writable task plane built for agents.

Skip if: Single-agent hobby projects with a one-line TODO.md, or teams that only need human-centric Jira with no MCP surface.

What you get

After setup, agents create and complete tasks through MCP with permission boundaries and provenance you can trace per agent key.

  • Fleet task queue manipulable via MCP tools
  • Per-agent scoped permissions on task operations
  • Provenance-backed task history for multi-agent runs

By the numbers

  • npm package writbase at version 0.1.3
  • Optional remote pattern https://{PROJECT_REF}.supabase.co/functions/v1/mcp-server/mcp
  • GitHub repository Writbase/writbase
README.md

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:

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-jwt

See the CLI README for all commands.

Option B: Manual Setup

Clone and deploy manually
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 dev

See 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:

  1. Create a project — e.g., my-app. Optionally add departments (backend, frontend, devops)
  2. Create an agent key — name it, pick the worker role, save the key (wb_<key_id>_<secret> — shown once)
  3. Grant permissionswritbase key permit my-agent --grant --project my-app --can-read --can-create --can-update (or via dashboard)

3. Connect your MCP client

Claude Code
claude mcp add writbase \
  --transport http \
  --url https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp \
  --header "Authorization: Bearer wb_<key_id>_<secret>"
Cursor

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>" }
    }
  }
}
VS Code / Copilot

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>" }
    }
  }
}
Windsurf / Claude Desktop / Other

See the MCP Config Reference for all supported clients.

4. Use it

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

5. Scale up

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

MCP Tools

Worker Tools (all agents)

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

Manager Tools (manager agents only)

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

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 typescan_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

┌─────────────┐     ┌──────────────────┐     ┌──────────────┐
│  MCP Client │────▶│  Edge Function   │────▶│   Postgres   │
│  (Agent)    │◀────│  (Hono + MCP SDK)│◀────│  (Supabase)  │
└─────────────┘     └──────────────────┘     └──────────────┘
                           │
                    ┌──────┴──────┐
                    │  Next.js 16 │
                    │  Dashboard  │
                    └─────────────┘
  • 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

Supabase Cloud (recommended) Self-Hosted Supabase
Setup npx writbase initnpx 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.

Documentation

Contributing

See CONTRIBUTING.md for development setup, testing, and PR guidelines.

Security

See SECURITY.md for vulnerability reporting.

License

Apache 2.0 — see LICENSE.

Recommended MCP Servers

How it compares

Agent fleet task MCP, not a markdown planning skill or generic GitHub Issues integration.

FAQ

Who is WritBase MCP for?

Developers running agent fleets or parallel automation jobs who need scoped agent keys and MCP-accessible task state.

When should I use WritBase MCP?

During Build agent-tooling when coordination and provenance matter more than a static plan document.

How do I add WritBase MCP to my agent?

Set WRITBASE_URL and WRITBASE_AGENT_KEY, run npx writbase for stdio—or configure the Supabase streamable-http remote with Authorization Bearer wb_<key_id>_<secret>.

Developer Toolspmworkflow

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.