handle

Function handle 

Source
pub async fn handle(args: &Value) -> Result<McpManagerOutput>
Expand description

Entry point called by the pipeline tool executor.

Expected args shape (all fields optional unless noted):

{
  "operation": "search" | "evaluate" | "install" | "enable" | "disable" | "list" | "remove" | "info",
  "query":      "<search terms>",          // search
  "limit":      20,                         // search (default 20)
  "cursor":     "<opaque>",                 // search pagination
  "server_id":  "<registry-name>",          // evaluate, install, info
  "name":       "<local-alias>",            // install (optional)
  "scope":      "project" | "user",         // install/enable/disable/list/remove
  "transport":  "stdio" | "http",           // install override
  "command":    "npx",                      // install stdio override
  "args":       ["-y", "package"],          // install stdio override
  "url":        "https://...",              // install http override
  "env":        {"KEY": "value"}            // install env vars
}