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
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,17 @@ Or use opencode.json:
88
88
}
89
89
```
90
90
91
-
Optionally, you can run `cocoindex-code index` to create or update the index. Without running it, the MCP server will automatically build and keep the index up-to-date in the background.
91
+
### Build the Index
92
+
93
+
For large codebases, we recommend running the indexer once before using the MCP so you can see the progress:
94
+
95
+
```bash
96
+
cocoindex-code index
97
+
```
98
+
99
+
This lets you monitor the indexing process and ensure everything is ready. After the initial build, the MCP server will automatically keep the index up-to-date in the background as files change.
100
+
101
+
> For small projects you can skip this step — the MCP server will build the index automatically on first use.
0 commit comments