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.
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_INITIALIZEDinstead of crashing) - Hooks deny / warn until init exists
CoordinationPlanethrows 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
workspace_briefing— use short queries; passwait_mswhen siblings may still be writingclaim_scope— lease paths before contested editsrecord_finding— facts / decisions / dead_ends (+ tags)pulse_update/heartbeat_claimrelease_claim+create_handoffcompliance_report/production_readiness— ops
MCP tools
workspace_briefing(supportswait_ms,min_*)claim_scope/heartbeat_claim/release_claimrecord_finding/search_findingsupsert_work_item/list_work_itemscreate_handoff/pulse_updatecoordination_status/coordination_scorecardcompliance_report/production_readinesscheck_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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.