Expose the WebUI's read views through MCP: order list, plan preview, hypervisors and catalog
Rust development slice / linux (push) Failing after 7s

New tools operations.list, operations.get_plan, inventory.list_hypervisors,
catalog.list_package_recipes, catalog.list_windows_msi_recipes and
catalog.get_artifact reuse the WebUI handlers and their tenant and scope
checks. Interactive-only actions (approvals, device management, customer
transfer, enrollment, emergency stop, imports, tokens) stay out of MCP and
are listed as such in the access guide and product contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 11:35:08 +01:00
co-authored by Claude Opus 5.5
parent 19163a2efe
commit 49af111db0
7 changed files with 330 additions and 26 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ fn hypervisor_display(data: &Value, assigned: Option<&Host>) -> Value {
#[derive(Deserialize)]
#[serde(deny_unknown_fields)]
pub struct HypervisorFilter {
q: Option<String>,
pub(crate) q: Option<String>,
}
pub async fn hypervisor_options(