feat: add package indexing to MCP index_revision tool
The options server's index_revision now also indexes packages when running under nixpkgs-search, matching the CLI behavior. The packages server gets its own index_revision tool for standalone package indexing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -144,7 +144,7 @@ labmcp/
|
||||
| `search_options` | Full-text search across option names and descriptions |
|
||||
| `get_option` | Get full details for a specific option with children |
|
||||
| `get_file` | Fetch source file contents from indexed repository |
|
||||
| `index_revision` | Index a revision (by hash or channel name) |
|
||||
| `index_revision` | Index a revision (options, files, and packages for nixpkgs) |
|
||||
| `list_revisions` | List all indexed revisions |
|
||||
| `delete_revision` | Delete an indexed revision |
|
||||
|
||||
@@ -155,6 +155,7 @@ labmcp/
|
||||
| `search_packages` | Full-text search across package names and descriptions |
|
||||
| `get_package` | Get full details for a specific package by attr path |
|
||||
| `get_file` | Fetch source file contents from nixpkgs |
|
||||
| `index_revision` | Index a revision to make its packages searchable |
|
||||
| `list_revisions` | List all indexed revisions |
|
||||
| `delete_revision` | Delete an indexed revision |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user