Wolbarg Coordination for Cursor

Wolbarg Coordination for Cursor

Provides MCP tools and hooks for agent coordination within Cursor workspaces, enabling claim-based scope management, compliance auditing, and production readiness checks.

Category
Visit Server

README

Wolbarg Coordination for Cursor

Cursor plugin that turns Wolbarg’s coordination-plane design into something agents can use natively: MCP tools + skill + rules + hooks.

Status: @wolbarg/cursor@0.2.0 — production-ready for Cursor workspaces that complete wolbarg init and (for hard guarantees) enable fail_closed_protected_paths. Verify with MCP tool production_readiness (ready: true).

Hard requirement: wolbarg init

npx wolbarg init

That writes .wolbarg/config.json. Without it:

  • MCP starts in setup mode (tools return WOLBARG_NOT_INITIALIZED instead of crashing)
  • Hooks deny / warn until init exists
  • CoordinationPlane throws under default options

After init, reload MCP / reopen the agent chat.

This is not another coding agent and not an orchestrator. Cursor remains the runtime.

See the RFC: cursor coordination plane.

Production checklist

Gate How to verify
Init .wolbarg/config.json exists
Mechanics coordination_scorecard → ≥ 9.5
Fail-closed Copy examples/coordination.production.json → .wolbarg/coordination.json
Compliance audit Hooks/MCP check_path_write write compliance_events; see compliance_report
Actor identity Set WOLBARG_ACTOR_ID or .wolbarg/actor.id so hooks ignore your own leases
Hard gate MCP production_readiness → ready: true

Recommended production policy

{
  "enforcement": "fail_closed_protected_paths",
  "protectedGlobs": ["src/auth/**", "src/payments/**", "src/billing/**"],
  "defaultClaimTtlSeconds": 1800,
  "allowClaimBreakBy": "human",
  "pulseTtlSeconds": 900
}

Default remains advisory for gentle onboarding; production deployments should switch to fail-closed on protected globs.

What you get

Piece Role
MCP server Agent API (workspace_briefing, claim_scope, …)
Skill When/how agents should coordinate
Rule Always-on short contract
Hooks Session briefing + claim checks on writes (deny when fail-closed)
SQLite store .wolbarg/coordination.db + compliance audit log
Scorecard / prod gate CI-friendly coordination_scorecard + production_readiness

Install

git clone https://github.com/wolbarg/cursor.git
cd cursor
npm install
npm run build
npm test

In the target workspace:

npx wolbarg init

Option A — project MCP (prefer absolute paths on Windows)

{
  "mcpServers": {
    "wolbarg-cursor-mcp": {
      "command": "npx",
      "args": ["-y", "@wolbarg/cursor"],
      "env": {
        "WOLBARG_WORKSPACE_ROOT": "C:/absolute/path/to/workspace"
      }
    }
  }
}

Option B — Cursor plugin (local symlink)

# macOS / Linux
mkdir -p ~/.cursor/plugins/local
ln -s "$(pwd)" ~/.cursor/plugins/local/wolbarg-cursor-mcp

Option C — npm bin

npx -y @wolbarg/cursor

Agent workflow

  1. workspace_briefing — use short queries; pass wait_ms when siblings may still be writing
  2. claim_scope — lease paths before contested edits
  3. record_finding — facts / decisions / dead_ends (+ tags)
  4. pulse_update / heartbeat_claim
  5. release_claim + create_handoff
  6. compliance_report / production_readiness — ops

MCP tools

  • workspace_briefing (supports wait_ms, min_*)
  • claim_scope / heartbeat_claim / release_claim
  • record_finding / search_findings
  • upsert_work_item / list_work_items
  • create_handoff / pulse_update
  • coordination_status / coordination_scorecard
  • compliance_report / production_readiness
  • check_path_write

Library API

import { CoordinationPlane } from "@wolbarg/cursor";

const plane = new CoordinationPlane({ rootPath: process.cwd() });
const gate = plane.productionReadiness();
if (!gate.ready) throw new Error(gate.blockers.join("\n"));
plane.close();

Design notes

  • Init is mandatory for full plane operation.
  • Git remains code SoR — the DB is coordination + compliance truth only.
  • Claims use TTL + heartbeat — crashed agents expire.
  • Findings use local FTS (+ synonym expansion); core Wolbarg semantic memory uses project embedding config separately.
  • Conflicts are flat JSON for MCP clients.
  • Requires Node.js ≥ 22.5 (node:sqlite, WAL + busy_timeout).

Development

npm run build
npm test
npm run mcp

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured