{"at":"2026-11-23T01:37:49.559Z","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:37:49.994Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:37:50.095Z","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:37:50.480Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"notion-arena","version":"0.2.0"}}}}
{"at":"2026-11-23T01:37:50.480Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:37:50.480Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:37:50.484Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"List all 143 Notion Arena components (132 widgets + 11 native recipes). Filter by category, kind (widget/native), tier (free/pro), or delivery channel. Returns slug, name, tagline, category, capabilities.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"category":{"description":"Filter by category: dashboards, time, trackers, planning, business, visuals, docs, automations","type":"string"},"delivery":{"description":"Filter by delivery channel","enum":["embed","html-block","download","api"],"type":"string"},"kind":{"description":"Filter by kind: widget (HTML embed) or native (Notion API recipe)","enum":["widget","native"],"type":"string"},"limit":{"default":50,"description":"Max results, default 50","maximum":200,"minimum":1,"type":"number"},"offset":{"default":0,"description":"Offset for pagination","minimum":0,"type":"number"},"tier":{"description":"Filter by tier","enum":["free","pro"],"type":"string"}},"type":"object"},"name":"list_components","title":"List Notion Arena components"},{"description":"Keyword search across name, tagline, description, tags, category. Use for 'find me a timer', 'CRM', 'habit tracker', etc.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"category":{"type":"string"},"kind":{"enum":["widget","native"],"type":"string"},"limit":{"default":10,"maximum":50,"minimum":1,"type":"number"},"query":{"description":"Search query, e.g. 'pomodoro', 'budget', 'kanban', 'CRM pipeline'","type":"string"}},"required":["query"],"type":"object"},"name":"search_components","title":"Search Notion Arena components"},{"description":"Get full detail for a single Notion Arena component by slug. Includes params, features, useCases, capabilities, delivery, embed/download URLs, and recipe info for native components.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"slug":{"description":"Component slug, e.g. 'pomodoro-timer', 'crm-pipeline', 'habit-grid'","type":"string"}},"required":["slug"],"type":"object"},"name":"get_component","title":"Get component detail"},{"description":"Get JSON Schema for a widget's configurable parameters. Use to validate config before building embed URLs. Every widget has theme (auto/light/dark) and accent (color).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"slug":{"description":"Widget slug, e.g. 'pomodoro-timer', 'countdown', 'kpi-strip'","type":"string"}},"required":["slug"],"type":"object"},"name":"get_widget_schema","title":"Get widget config schema"},{"description":"Build configured embed URL and download URL for a widget. Config is validated against the widget's declared params. Unknown keys are dropped.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"config":{"additionalProperties":{"type":["string","number","boolean"]},"default":{},"description":"Configuration object, e.g. { work: 25, accent: '#e03e3e', theme: 'dark' }","type":"object"},"slug":{"description":"Widget slug","type":"string"}},"required":["slug"],"type":"object"},"name":"build_embed_url","title":"Build embed & download URLs"},{"description":"Dry-run install plan for any component. For widgets: returns embed URL, download URL, and exact Notion API calls. For native recipes: returns full sequence of Notion API requests (databases, views, seed rows, pages) without needing credentials. Mode 'plan' requires no token.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"config":{"additionalProperties":{"type":["string","number","boolean"]},"description":"Widget config","type":"object"},"mode":{"default":"plan","description":"plan = dry-run (no token), embed = append embed block, html-block = upload HTML, api = install recipe","enum":["plan","embed","html-block","api"],"type":"string"},"parentPageId":{"description":"Notion page ID where to install (placeholder used if omitted)","type":"string"},"slug":{"description":"Component slug","type":"string"}},"required":["slug"],"type":"object"},"name":"plan_install","title":"Plan install (dry-run)"},{"description":"Get shadcn-compatible registry JSON for a component. This is what GET /r/{name}.json returns, with file contents inlined. Use for CLI installs or to inspect the exact HTML/JSON that gets installed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"baseUrl":{"description":"Override registry base URL, default from env NOTION_ARENA_REGISTRY_URL","type":"string"},"slug":{"description":"Component slug","type":"string"}},"required":["slug"],"type":"object"},"name":"get_registry_item","title":"Get registry item (shadcn format)"},{"description":"Human-readable install guide for a component: explains delivery channels, Notion plan requirements, offline safety, and step-by-step instructions.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"slug":{"description":"Component slug","type":"string"}},"required":["slug"],"type":"object"},"name":"get_install_guide","title":"Get install guide"},{"description":"List all 8 Notion Arena categories with counts","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"get_categories","title":"List categories"},{"description":"Get Notion Arena site info: registry endpoints, delivery channels, API limits, honesty policy","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"get_site_info","title":"Get Notion Arena site info"}]}}}
