Cursor
Connect Cursor to Trurlic so AI-generated code follows your architectural decisions.
Prerequisites
Section titled “Prerequisites”- Trurlic installed and
.trurlic/initialized in your project - Cursor installed
The fastest way:
trurlic install --ide cursorThis writes to ~/.cursor/mcp.json.
Manual setup
Section titled “Manual setup”Add to .cursor/mcp.json (or Cursor settings):
{ "mcpServers": { "trurlic": { "command": "trurlic", "args": ["serve"] } }}Restart Cursor to pick up the configuration.
Agent instructions
Section titled “Agent instructions”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.Verification
Section titled “Verification”- Open the project in Cursor with Trurlic configured.
- Ask Cursor to implement a feature — it should query
get_contextand follow your recorded decisions. - Check
trurlic statusfor any new decisions recorded during the session.