{"at":"2026-11-23T03:24:14.934Z","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-23T03:24:15.326Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:24:15.426Z","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-23T03:24:15.817Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"ashlr-stack","version":"0.3.1"}}}}
{"at":"2026-11-23T03:24:15.817Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:24:15.817Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:24:15.820Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Scaffold .stack.toml in the current directory; a selected template may also run provider setup.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"force":{"description":"Overwrite an existing .stack.toml.","type":"boolean"},"template":{"description":"Starter template name.","type":"string"}},"type":"object"},"name":"stack_init"},{"description":"Import nonempty new variables from an .env file into Phantom and record detected services; existing vault names are left unchanged. Returns ashlr.stack.import/v1 JSON naming what was stored, skipped and wired (names only, never values).","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"dryRun":{"description":"Preview without writing.","type":"boolean"},"from":{"description":"Path to the .env file inside the project (default: .env).","type":"string"}},"type":"object"},"name":"stack_import"},{"description":"Detect providers this repo uses by reading package.json / requirements.txt / config files.","inputSchema":{"properties":{"confidence":{"description":"Minimum confidence: low, medium, or high (default: medium).","type":"string"},"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"path":{"description":"Directory to scan inside the project (default: cwd).","type":"string"}},"type":"object"},"name":"stack_scan"},{"description":"Run provider-specific service setup or attach an existing resource, then record returned secret slots and optional MCP configuration. Credentials and client/provider acceptance must be checked separately.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"service":{"description":"Service name (e.g. supabase, neon, vercel).","type":"string"},"use":{"description":"Existing resource id to attach to.","type":"string"}},"required":["service"],"type":"object"},"name":"stack_add"},{"description":"Remove local service configuration and its MCP entry, and attempt Phantom secret cleanup. Returns JSON (ashlr.stack.remove/v1); `secrets_kept` lists names Phantom left stored, which headless runs always do, for the user to remove with `phantom remove` in a terminal. Upstream resources are kept.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"keepRemote":{"type":"boolean"},"service":{"type":"string"}},"required":["service"],"type":"object"},"name":"stack_remove"},{"description":"List services configured in this stack.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.list/v1.","type":"boolean"}},"type":"object"},"name":"stack_list"},{"description":"Inspect configured resource, auth kind, secret-name inventory and MCP metadata; attempt a healthcheck when the provider supports one.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.info/v1.","type":"boolean"},"service":{"type":"string"}},"required":["service"],"type":"object"},"name":"stack_info"},{"description":"Show Phantom + services + config at a glance.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.status/v1.","type":"boolean"}},"type":"object"},"name":"stack_status"},{"description":"Show which declared secrets are present in the Phantom vault (masked).","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.env/v1; names only.","type":"boolean"}},"type":"object"},"name":"stack_env_show"},{"description":"Report which declared secrets are missing from the Phantom vault.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.env-diff/v1; names and service only. Missing secrets remain an error.","type":"boolean"}},"type":"object"},"name":"stack_env_diff"},{"description":"Inspect the configured-service health report. --fix attempts supported remediation; stored vault names can cause repairs to be skipped, and name presence is not credential validity.","inputSchema":{"properties":{"all":{"description":"Run across every registered project.","type":"boolean"},"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"fix":{"description":"Attempt auto-remediation.","type":"boolean"},"json":{"description":"JSON output.","type":"boolean"}},"type":"object"},"name":"stack_doctor"},{"description":"Forward a deployment-platform sync request to phantom sync; inspect the installed Phantom command support and result separately.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"platform":{"description":"One of: vercel, railway, fly.","type":"string"}},"required":["platform"],"type":"object"},"name":"stack_sync"},{"description":"List the curated source provider catalog by category; inclusion does not attest complete provisioning or active credentials.","inputSchema":{"properties":{"category":{"description":"Only this category, any case (e.g. ai, database, payments).","type":"string"},"json":{"description":"JSON: ashlr.stack.providers/v1.","type":"boolean"}},"type":"object"},"name":"stack_providers"},{"description":"List projects recorded in the local Stack registry; this is not a filesystem-wide discovery scan.","inputSchema":{"properties":{"json":{"description":"JSON: ashlr.stack.projects/v1.","type":"boolean"}},"type":"object"},"name":"stack_projects_list"},{"description":"Show the service dependency graph for the current stack.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"json":{"description":"JSON: ashlr.stack.deps/v1.","type":"boolean"}},"type":"object"},"name":"stack_deps"},{"description":"List available starter stack templates and the services each one adds.","inputSchema":{"properties":{"json":{"description":"JSON: ashlr.stack.templates/v1; services, providers and secret names.","type":"boolean"}},"type":"object"},"name":"stack_templates_list"},{"description":"Check npm for a newer @ashlr/stack release. Returns ashlr.stack.upgrade/v1 JSON (current, latest, status, install command); installs nothing.","inputSchema":{"properties":{},"type":"object"},"name":"stack_upgrade"},{"description":"Rank curated providers by query, returning JSON as text without LLM inference. save:true writes a Recipe for stack_apply.","inputSchema":{"properties":{"category":{"description":"Category (case-insensitive): Database, Deploy, Cloud, AI, Analytics, Observability, Errors, Payments, Code, Tickets, Email, Auth, FeatureFlags. Unknown values error.","type":"string"},"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"k":{"description":"Max top-level hits to return (default 6).","type":"number"},"query":{"description":"Natural-language description of the project / stack need.","type":"string"},"save":{"description":"Save .stack/recipes/<id>.toml for stack_apply; returns recipe id.","type":"boolean"}},"required":["query"],"type":"object"},"name":"stack_recommend"},{"description":"Apply a saved Recipe through provider setup, then report which declared secrets are in the Phantom vault and which are missing (names only; it never writes to the vault) and write webhook stubs. Inspect failures and skips. no_wire:true skips the vault check and stubs, not provider credential writes.","inputSchema":{"properties":{"cwd":{"description":"Existing absolute project directory; defaults to server cwd.","type":"string"},"no_wire":{"description":"Skip the Phantom vault check and webhook stubs.","type":"boolean"},"recipe_id":{"description":"Recipe id (filename stem in .stack/recipes/, letters, numbers, underscores or hyphens).","type":"string"}},"required":["recipe_id"],"type":"object"},"name":"stack_apply"}]}}}
