$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[November 18, 2026] Cursor

Use Plan mode before a wide edit: when using MCP

For refactors that touch handlers and templates, plan, then implement. Review the tool list after connect and pin server versions.

────────────────────────────────────────────────────────

Use Plan mode before a wide edit: when using MCP

Tip: Agree the file list first

For refactors that touch handlers and templates, plan, then implement. Review the tool list after connect and pin server versions.

Plan: 1) filter categories SQL 2) 404 empty 3) cargo check

Gotcha: Implementing during the plan (when using mcp)

You asked for a plan and got a dirty tree. Check write tools. A filesystem server rooted at / is a data leak.

plan mode + write enabled

Source: https://docs.cursor.com/agent/overview

────────────────────────────────────────────────────────
<-- back to posts