{"at":"2026-11-23T04:50:35.222Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:50:35.769Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:50:35.870Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:50:36.421Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"SkillTotal statically analyzes AI components (skills, MCP servers, npm/PyPI packages, repos) for supply-chain risk. Call scan_component before installing or trusting a component; call diff_components to review an upgrade. Decide on the verdict; findings of threat_class \"capability\" add no risk. Scans are local and never execute the component's code.","protocolVersion":"2025-11-25","serverInfo":{"name":"skilltotal","version":"1.1.0"}}}}
{"at":"2026-11-23T04:50:36.421Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:50:36.421Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:50:36.422Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Statically scan an AI component (agent skill, MCP server, npm/PyPI package, repository, local path or archive) for supply-chain risks, dangerous capabilities, prompt-injection surfaces, and exfiltration paths. Use this BEFORE installing or trusting a component. The scan is local, deterministic, and never executes the component's code. A local path is read in place; a git URL or npm:/pypi:/vscode:/openvsx: source is downloaded to a temp folder that is removed afterwards. A source over the size limit is refused with an error naming the setting that raises it. Decide on the verdict (level, headline, has_malicious_indicators), not on the number of findings: a finding whose threat_class is \"capability\" is something the component can do (run commands, read files, reach the network) and adds no risk; malicious_indicator and risky_construct findings are what the verdict and score rest on. Not checked: the code of the component's dependencies, known vulnerabilities (CVEs), and runtime behaviour. The default summary is a JSON object: component, verdict {level, headline, has_malicious_indicators}, decision (one line), risk_score, risk_level, why [{rule, threat_class, severity, title, evidence [\"file:line  snippet\"]}] (risk findings first), capabilities [names], counts {findings_by_threat_class, needs_review}, check_manually [notes to read], not_checked [what this scan does not cover], engine {version, ruleset}. Pass detail=\"full\" for the complete report.","inputSchema":{"properties":{"detail":{"description":"summary (default): the verdict, why (findings with up to 3 locations each), capabilities, counts, what to check by hand and what was not checked. full: the complete SkillTotal report JSON (every finding, all evidence, traits, needs_review).","enum":["summary","full"],"examples":["summary"],"type":"string"},"source":{"description":"What to scan: an absolute path to a local folder, file or archive, a git URL (a subfolder as https://github.com/<owner>/<repo>/tree/<ref>/<path>), npm:<name>[@version], pypi:<name>[==version], or an editor extension as vscode:<publisher>.<name>[@version] (Visual Studio Marketplace) or openvsx:<namespace>.<name>[@version] (Open VSX).","examples":["npm:mcp-remote","pypi:mcp-server-fetch","https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem","/home/user/skills/pdf-tool"],"minLength":1,"type":"string"}},"required":["source"],"type":"object"},"name":"scan_component","title":"Scan a component"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":true},"description":"Compare two versions of a component and report what changed. Use for upgrade reviews (is the new version riskier than the one already vetted?). Both sides accept the same sources as scan_component. The default summary gives each side's verdict, the verdict change, the risk-score delta, new and removed risk findings (in scan_component's why shape) and capability changes; detail=\"full\" returns the complete diff with every new/resolved/changed finding. Decide on the verdict (level, headline, has_malicious_indicators), not on the number of findings: a finding whose threat_class is \"capability\" is something the component can do (run commands, read files, reach the network) and adds no risk; malicious_indicator and risky_construct findings are what the verdict and score rest on. Not checked: the code of the component's dependencies, known vulnerabilities (CVEs), and runtime behaviour.","inputSchema":{"properties":{"detail":{"description":"summary (default): the verdict, why (findings with up to 3 locations each), capabilities, counts, what to check by hand and what was not checked. full: the complete SkillTotal report JSON (every finding, all evidence, traits, needs_review).","enum":["summary","full"],"examples":["summary"],"type":"string"},"new":{"description":"New side. What to scan: an absolute path to a local folder, file or archive, a git URL (a subfolder as https://github.com/<owner>/<repo>/tree/<ref>/<path>), npm:<name>[@version], pypi:<name>[==version], or an editor extension as vscode:<publisher>.<name>[@version] (Visual Studio Marketplace) or openvsx:<namespace>.<name>[@version] (Open VSX).","examples":["npm:mcp-remote@0.1.1"],"minLength":1,"type":"string"},"old":{"description":"Old side. What to scan: an absolute path to a local folder, file or archive, a git URL (a subfolder as https://github.com/<owner>/<repo>/tree/<ref>/<path>), npm:<name>[@version], pypi:<name>[==version], or an editor extension as vscode:<publisher>.<name>[@version] (Visual Studio Marketplace) or openvsx:<namespace>.<name>[@version] (Open VSX).","examples":["npm:mcp-remote@0.1.0"],"minLength":1,"type":"string"}},"required":["old","new"],"type":"object"},"name":"diff_components","title":"Compare two versions of a component"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"List SkillTotal detection rules: id, severity, category, title, threat class and capability. Use it to look up a rule id from a scan_component or diff_components result, or to see what SkillTotal checks before scanning. It reads the rule list bundled with this engine: offline, instant, no side effects. With no arguments it returns every rule. ids and query narrow the list and combine (a rule must match both); no match returns an empty array []. Pass verbose=true for each rule's description and recommendation.","inputSchema":{"properties":{"ids":{"description":"Only these rule ids, as a finding's rule field shows them (case-insensitive). Unknown ids are skipped, not an error.","examples":[["ST-SHELL-PIPE-EXEC"]],"items":{"type":"string"},"type":"array"},"query":{"description":"Only rules whose id or title contains this text (case-insensitive substring; descriptions are not searched).","examples":["prompt injection"],"type":"string"},"verbose":{"description":"Also return each rule's description and recommendation.","examples":[true],"type":"boolean"}},"type":"object"},"name":"list_rules","title":"List detection rules"}]}}}
