watch_project
Manage file watcher for automatic re-indexing on file changes.
How to use it
watch_project is exposed by the Codexlens Search MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the watch_project tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Codexlens Search
pip install codexlens-search[all]Other tools in Codexlens Search (8)
Glob-based file discovery. Parameters: projectpath, pattern (default /)
Build, update, or inspect the search index.
LLM-enhanced code localization — finds files relevant to a bug fix or feature request.
Full re-index from scratch
Find cross-references — incoming and outgoing edges
Ripgrep regex on live files
Index statistics (files, chunks, symbols, refs)
Find definitions by exact/fuzzy name match