{"at":"2026-11-23T01:51:41.502Z","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-23T01:51:41.877Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:51:41.978Z","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-23T01:51:42.332Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"vibe-shield finds security bugs that AI coding agents ship: leaked secrets, unguarded API routes, missing Postgres RLS, SQL injection, prompt injection and poisoned agent skills. Call vibe_shield_scan after writing application code and before reporting a task as done, and vibe_shield_audit_skills after touching any agent instruction or MCP config file.","protocolVersion":"2025-06-18","serverInfo":{"name":"vibe-shield","title":"vibe-shield","version":"2.1.2"}}}}
{"at":"2026-11-23T01:51:42.332Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:51:42.332Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:51:42.333Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Runs the 60-rule vibe-shield scanner over a project directory or a set of paths and returns the grade, score and every finding with its exact file, line, CWE and remediation steps. Call this after writing or modifying application code — API routes, server actions, database migrations, auth logic, environment variables, LLM calls or webhook handlers — and before reporting a task as complete. Also call it when the user asks for a security review or audit.","inputSchema":{"additionalProperties":false,"properties":{"includeDocs":{"description":"Include Markdown and documentation files.","type":"boolean"},"includeTests":{"description":"Include test, spec and fixture files.","type":"boolean"},"limit":{"description":"Maximum findings to return in the text summary. Default 25, 0 for all.","type":"integer"},"paths":{"description":"Explicit files or directories to scan, instead of the whole project.","items":{"type":"string"},"type":"array"},"rules":{"description":"Restrict to these rule ids or prefixes, e.g. [\"VSB-CLIENT-001\"] or [\"VSB-DB-*\"].","items":{"type":"string"},"type":"array"},"severity":{"description":"Only return findings at or above this severity.","enum":["critical","high","medium","low","info"],"type":"string"},"target":{"description":"Directory or file to scan. Relative paths resolve against the server working directory. Default: the working directory.","type":"string"}},"type":"object"},"name":"vibe_shield_scan","title":"Scan a project for AI-introduced security bugs"},{"description":"Audits .claude/skills, .cursor rules, .cursorrules, AGENTS.md, CLAUDE.md and MCP config files (mcp.json, .mcp.json) for agent-poisoning: hidden Unicode instructions, credential exfiltration commands, reads of .env or ~/.ssh, unpinned MCP servers, literal credentials and safety-override language. Call this whenever you add or modify an agent instruction file, a skill, a Cursor rule or an MCP server config.","inputSchema":{"additionalProperties":false,"properties":{"limit":{"description":"Maximum findings to return. Default 25.","type":"integer"},"paths":{"description":"Specific agent files or directories to audit.","items":{"type":"string"},"type":"array"},"target":{"description":"Project root to audit. Default: the server working directory.","type":"string"}},"type":"object"},"name":"vibe_shield_audit_skills","title":"Audit agent skills and MCP configuration for poisoning"},{"description":"Returns the full documentation for one rule id or slug: severity, confidence, CWE, why it is exploitable, the vulnerable code shape, the fixed code shape, ordered remediation steps and references. Use this when you need to understand a finding before fixing it, or when the user asks what a rule means.","inputSchema":{"additionalProperties":false,"properties":{"ruleId":{"description":"Rule id or slug, e.g. \"VSB-CLIENT-001\" or \"public-env-secret-exposure\".","type":"string"}},"required":["ruleId"],"type":"object"},"name":"vibe_shield_explain_rule","title":"Explain a detection rule"}]}}}
