Commit 2ea4cdf
committed
Add index_repo tool to MCP server
This tool allows creating/updating indexes dynamically from:
- GitHub repositories (requires owner and repo)
- GitLab repositories (requires project_id)
- BitBucket repositories (requires workspace and repo)
- Websites (requires url)
Features:
- Validates required parameters for each source type
- Checks if store supports write operations
- Refreshes runner state after indexing
- Invalidates cached client for updated indexes
- Returns success message with stats (type, filesIndexed, duration)
Agent-Id: agent-4dd9b0b4-3ecf-4a2a-850a-49fd55aba0b51 parent 0592040 commit 2ea4cdf
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments