Skip to content

Cursor

Connect Cursor to Trurlic so AI-generated code follows your architectural decisions.

  • Trurlic installed and .trurlic/ initialized in your project
  • Cursor installed

The fastest way:

Terminal window
trurlic install --ide cursor

This writes to ~/.cursor/mcp.json.

Add to .cursor/mcp.json (or Cursor settings):

{
"mcpServers": {
"trurlic": {
"command": "trurlic",
"args": ["serve"]
}
}
}

Restart Cursor to pick up the configuration.

Add to your .cursorrules:

## Trurlic
This project uses Trurlic for architectural decisions.
Before implementing any task:
1. Call `advance` with the component name.
2. Follow the returned action exactly.
3. Call `advance` again after completing each action.
4. Repeat until `ready: true`.
5. Implement, constrained by every decision in the context brief.
  1. Open the project in Cursor with Trurlic configured.
  2. Ask Cursor to implement a feature — it should query get_context and follow your recorded decisions.
  3. Check trurlic status for any new decisions recorded during the session.