Writbase logo

Writbase

MCP task control plane for scoped agent work, permissions, delegation, and audit provenance backed by Supabase Postgres.

Install Writbase

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "writbase": {
      "command": "npx",
      "args": [
        "-y",
        "writbase"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y writbase

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The writbase MCP server gives AI agent fleets a persistent task registry with project and department scopes. It exposes task operations, agent identity, key and permission management, provenance queries, project administration, webhooks, and agent discovery through streamable HTTP. Deployments use Supabase Postgres and Edge Functions, with agent authentication handled by bearer keys. Reach for it when multiple agents need shared tasks, controlled access, concurrency protection, and an audit trail.

Use cases

  • Create tasks from CI failures within a scoped project
  • Search and triage shared work across multiple agents
  • Grant agents project- and department-level permissions
  • Audit task changes through the append-only provenance log
  • Subscribe to task events with webhooks

Key features

  • Persistent Supabase Postgres task registry
  • Project and department permission scoping
  • Optimistic concurrency for task updates
  • Agent key rotation and permission management
  • Append-only provenance queries
  • Capability-based agent discovery

Tools11

What Writbase lets your agent do. Expand a tool for its parameters.

Self-reported~151 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · writbase (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars12Stargazers on the source repository.
npm downloads171Package downloads in the last 30 days.
Last commit8mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed11Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Writbase works

What the writbase MCP server does

The writbase MCP server provides a shared task control plane for AI agents and human supervisors. Tasks are stored persistently in Supabase Postgres rather than in session-only agent state. Workspaces can organize tasks by project and department, while agent permissions can be scoped to those areas.

The system supports separate agent identities and keys, permission grants, task assignment, and provenance tracking. It is suited to fleets in which different agents perform roles such as CI task creation, triage, or workspace administration. The available tool surface changes according to the connected agent's role and permissions.

How it works

An MCP client connects to a deployed Edge Function over streamable HTTP. The Edge Function uses the MCP SDK and Hono to handle requests, while Supabase supplies Postgres storage and the surrounding authentication and deployment platform. Agent requests use bearer credentials in the form of a Writbase agent key.

Worker agents can inspect their identity and permissions, search and paginate through tasks, create tasks within their permitted scope, and update tasks. Updates use version-based optimistic concurrency control, so a stale version can be detected instead of silently overwriting a newer change. Manager agents receive additional administrative tools, subject to their permissions.

The writbase MCP server records MCP request details and task changes, including provenance data. It also supports webhook registration for task event notifications. Rate limiting is applied per agent key.

Setup and configuration

The recommended setup uses the Writbase CLI with Node 18 or newer, the Supabase CLI, and a Supabase project. Run npx writbase init to configure Supabase credentials, then npx writbase migrate to apply the database schema. Deploy the MCP Edge Function with npx supabase functions deploy mcp-server --no-verify-jwt.

Create an initial agent key with npx writbase key create, create a project, and grant the key only the permissions and project or department scope it needs. The resulting MCP endpoint follows this pattern:

text
https://<project-ref>.supabase.co/functions/v1/mcp-server/mcp

Clients connect with the endpoint and an Authorization: Bearer header containing the agent key. The repository documents configurations for Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop. Manual deployment and self-hosted Supabase are also documented; the optional dashboard can be hosted with Next.js and Vercel.

Tools and capabilities

Worker tools include:

  • info for agent identity, permissions, and system metadata
  • get_tasks for filtering, pagination, and full-text task search
  • add_task for creating tasks in an allowed scope
  • update_task for version-controlled task changes

Manager tools include manage_agent_keys, manage_agent_permissions, get_provenance, manage_projects, manage_departments, subscribe, and discover_agents. These cover key rotation and deactivation, permission changes, audit-log queries, project and department administration, webhook registration, and capability-based agent discovery.

The writbase MCP server defines six permission types: read, create, update, assign, comment, and archive. Permission grants use project and department pairs, and manager permissions are subject to subset enforcement.

Limitations and notes

The material describes Supabase as the backend and requires a Supabase project for the recommended deployment. Agent keys are shown once when created, so they must be saved by the operator. Tool access is not uniform across agents: manager-only operations are unavailable to ordinary worker agents, and each key is limited by its granted scope.

The documented MCP endpoint uses streamable HTTP rather than a local stdio process. Deployments can use Supabase Cloud or self-hosted Supabase, but self-hosting requires operating the documented infrastructure and applying updates manually.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Writbase

writbase is an MCP server that connects AI agents and human supervisors to a persistent task registry backed by Supabase Postgres. Its main tools list, create, and update tasks; manage agent keys and permissions; organize projects and departments; query provenance; subscribe to webhooks; and discover agents by capability.

Install it by running the Writbase CLI setup with Node 18 or newer and a Supabase project. Use `npx writbase init`, then `npx writbase migrate`, create an agent key, and deploy the `mcp-server` Edge Function with the Supabase CLI.

Yes, writbase works with Cursor through streamable HTTP. Add its Supabase Edge Function MCP URL and an `Authorization: Bearer` header containing the agent key to `.cursor/mcp.json`.

writbase controls access with agent keys and scoped permission grants. Managers can grant or revoke read, create, update, assign, comment, and archive permissions for project and department pairs, with subset enforcement.

Yes, writbase uses optimistic concurrency control for task updates. The update operation uses a task version so stale requests can be detected instead of silently overwriting newer changes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWritbase AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/writbase?style=directory)](https://allmcps.com/mcp/writbase)
HTML Embed
<a href="https://allmcps.com/mcp/writbase"><img src="https://allmcps.com/api/badge/writbase?style=directory" alt="Writbase on AllMCPs" /></a>