Installing the MCP server is only half the job. Coding agents won’t reach for a new tool unprompted — you need a line or two in the agent’s system prompt that nudges it towardDocumentation Index
Fetch the complete documentation index at: https://recipe.uselettuce.dev/llms.txt
Use this file to discover all available pages before exploring further.
lettuce whenever it would otherwise
grep or open a file blind.
The snippet
Drop this into your agent’s system prompt / rules file:lettuce call instead of a
filesystem scan.
Where to put it, per agent
The MCP install gives the agent the tools. The system-prompt snippet tells it when to use them. Each agent reads instructions from a different place:Claude Code
CLAUDE.md at the root of your repo. Append the snippet anywhere — the
file is read top-to-bottom on every session.
Cursor
.cursor/rules at the root of your project (or in Settings → Rules
for AI for a global rule). Cursor reads rules into every chat.
VS Code (GitHub Copilot)
.github/copilot-instructions.md at the root of your repo. Copilot
auto-loads it for the workspace. Same content as the snippet above.
Windsurf
Settings → Cascade → Rules (per-workspace or global). Paste the snippet as a rule.Cline
Cline panel → Settings → Custom instructions. Paste the snippet.OpenCode / others
Anywhere the agent reads project instructions (oftenAGENTS.md or a
project-level system prompt). If there is no instructions file, paste
the snippet into the first turn of the conversation.
Verifying the agent uses it
Ask a navigation question and watch the tool-use log:lettuce:understand or
lettuce:locate with repo: "my-repo" before reading any source. If
it still goes to grep first, strengthen the snippet — e.g. add
NEVER grep or Read for navigation; always start with lettuce.
Tuning the snippet
A few variants people find useful:-
Strict — never grep first
-
Multi-repo — explicit repo names
-
Pin to one tool