Skip to content

Commit 2bbac2f

Browse files
committed
Update scanner.rs
1 parent b1afba6 commit 2bbac2f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/scanner.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ fn scan_codex(root: &Path, scope: Scope) -> Vec<ConfigItem> {
476476

477477
fn scan_antigravity(root: &Path, scope: Scope) -> Vec<ConfigItem> {
478478
let mut items = vec![];
479+
let d = provider_dir(ProviderId::Antigravity, root, scope);
479480
if scope == Scope::Project {
480481
items.extend(check_file(
481482
root.join("GEMINI.md"),
@@ -511,6 +512,13 @@ fn scan_antigravity(root: &Path, scope: Scope) -> Vec<ConfigItem> {
511512
ProviderId::Antigravity,
512513
));
513514
}
515+
// MCP servers from mcp_config.json (Antigravity CLI uses a separate file)
516+
items.extend(scan_json_keys(
517+
&d.join("mcp_config.json"),
518+
"mcpServers",
519+
ItemKind::Mcp,
520+
ProviderId::Antigravity,
521+
));
514522
items
515523
}
516524

0 commit comments

Comments
 (0)