@@ -41,6 +41,12 @@ Code Index MCP is a [Model Context Protocol](https://modelcontextprotocol.io) se
41
41
- ** Others** : Lua, Perl, R, MATLAB, configuration files
42
42
- ** 50+ File Types Total** - [ View complete list] ( #supported-file-types )
43
43
44
+ ### ⚡ ** Real-time Monitoring & Auto-refresh**
45
+ - ** File Watcher** : Automatic index updates when files change
46
+ - ** Cross-platform** : Native OS file system monitoring (inotify, FSEvents, ReadDirectoryChangesW)
47
+ - ** Smart Debouncing** : Batches rapid changes to prevent excessive rebuilds (default: 6 seconds)
48
+ - ** Thread-safe** : Non-blocking background operations with ThreadPoolExecutor
49
+
44
50
### ⚡ ** Performance & Efficiency**
45
51
- ** Smart Indexing** : Recursively scans with intelligent filtering of build directories
46
52
- ** Persistent Caching** : Stores indexes for lightning-fast subsequent access
@@ -128,7 +134,7 @@ Code Index MCP is a [Model Context Protocol](https://modelcontextprotocol.io) se
128
134
129
135
The easiest way to get started with any MCP-compatible application:
130
136
131
- ** Prerequisites:** Python 3.10+ and [ uv] ( https://github.com/astral-sh/uv ) installed
137
+ ** Prerequisites:** Python 3.10+, [ uv] ( https://github.com/astral-sh/uv ) , and [ watchdog ] ( https://pypi.org/project/watchdog/ ) for file monitoring
132
138
133
139
1 . ** Add to your MCP configuration** (e.g., ` claude_desktop_config.json ` or ` ~/.claude.json ` ):
134
140
``` json
@@ -211,6 +217,12 @@ Then configure:
211
217
| ** ` find_files ` ** | Locate files using glob patterns (e.g., ` **/*.py ` ) |
212
218
| ** ` get_file_summary ` ** | Analyze file structure, functions, imports, and complexity |
213
219
220
+ ### 🔄 ** Monitoring & Auto-refresh**
221
+ | Tool | Description |
222
+ | ------| -------------|
223
+ | ** ` get_file_watcher_status ` ** | Check file watcher status and configuration |
224
+ | ** ` configure_file_watcher ` ** | Enable/disable auto-refresh and configure settings |
225
+
214
226
### 🛠️ ** System & Maintenance**
215
227
| Tool | Description |
216
228
| ------| -------------|
@@ -273,6 +285,16 @@ Search for "API_ENDPOINT" only in Python files
273
285
274
286
</details >
275
287
288
+ <details >
289
+ <summary ><strong >Auto-refresh Configuration</strong ></summary >
290
+
291
+ ```
292
+ Configure automatic index updates when files change
293
+ ```
294
+ * Uses: ` configure_file_watcher ` to enable/disable monitoring and set debounce timing*
295
+
296
+ </details >
297
+
276
298
<details >
277
299
<summary ><strong >Project Maintenance</strong ></summary >
278
300
0 commit comments