Cursor
Cursor supports MCP servers and per-project rules. AVC plugs into both.
avc init --skills cursorWhat gets written
Section titled “What gets written”.cursor/├── mcp.json ← MCP server registration└── rules/ └── avc.mdc ← Instructions on when to use AVC toolsThe mcp.json:
{ "mcpServers": { "avc": { "command": "avc", "args": ["mcp", "serve", "--compact"] } }}The avc.mdc rules file instructs Cursor on the AVC workflow — branching for non-trivial work, snapshotting before risky changes, etc.
Workflow
Section titled “Workflow”Open the project in Cursor. The MCP server is loaded automatically. When you ask Cursor to do something via Chat or Composer, it can call AVC tools as part of its actions.
Example prompt:
“Add bcrypt to the auth module”
Cursor (with AVC integration) will:
- Snapshot the current state (
avc_snapshot) - Create a branch (
avc_branch_create) - Make changes inside the workspace
- Snapshot the result
- Optionally preview a merge
Verifying it’s working
Section titled “Verifying it’s working”In Cursor’s Chat panel, type:
“list all AVC tools you have”
If integration is working, Cursor will list 14 tools starting with avc_. If not, restart Cursor and check .cursor/mcp.json exists.
Updating
Section titled “Updating”avc init --skills cursorRewrites .cursor/mcp.json and .cursor/rules/avc.mdc. Existing rules files for other tools are left alone.