feat(mcp): add per-server tool allowlist policy module and allowedTools config field

This commit is contained in:
Dark-Alex-17 committed 2026-08-27 13:37:46 -06:00
1 parent ee45e42013
commit 5711432ac4
7 files changed
+831 -1

No files matched your search

+2
View File
@@ -242,6 +242,7 @@ fn build_stdio(cli: &Cli, has_url: bool) -> Result<McpServer> {
url: None,
headers: None,
oauth: None,
allowed_tools: None,
})
}
@@ -300,6 +301,7 @@ fn build_remote(cli: &Cli, transport: McpTransportType, has_command: bool) -> Re
url: Some(url),
headers: (!headers.is_empty()).then_some(headers),
oauth,
allowed_tools: None,
})
}