You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These settings work in combination with tool parameters - patterns from both sources will be merged together.
185
185
186
+
#### Background Sync Configuration (Optional)
187
+
188
+
By default, the MCP server does **not** run background sync. This avoids duplicated rescans when multiple local MCP sessions are open at the same time.
189
+
190
+
If you want automatic reindexing, enable it explicitly:
191
+
192
+
```bash
193
+
# Opt in to startup + periodic background sync
194
+
CLAUDE_CONTEXT_BACKGROUND_SYNC=true
195
+
196
+
# Optional: control how often sync runs (default: 300000 = 5 minutes)
197
+
CLAUDE_CONTEXT_SYNC_INTERVAL_MS=60000
198
+
```
199
+
200
+
This is most useful when you run Claude Context as a single long-lived MCP server. For per-session local stdio setups, leaving background sync disabled usually avoids unnecessary CPU churn.
0 commit comments