Haystack is a powerful search tool that indexes your open VS Code project in the background, enabling fast and efficient code search — ideal for large codebases like Chromium.
src\
folder of the Chromium repository.Install the Haystack Search Extension
Add MCP Server
MCP: Add Server…
command in VS Code.http://localhost:13135/mcp/sse
as the server URL.Enable Agent Mode
Agent
mode using the UX dropdown to benefit from Haystack.Activate Haystack Agent Mode Prompt in various ways
Add Context...
-> Instructions -> chromium_haystack
option
+command
+/
on MacOS or ctrl
+alt
+/
on Windows -> Haystack.#
-> #haystack.instructions.md
Start Coding