{"at":"2026-11-23T05:01:36.767Z","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-23T05:01:37.310Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:01:37.411Z","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-23T05:01:37.970Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"rankcli","version":"0.0.31"}}}}
{"at":"2026-11-23T05:01:37.970Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:01:37.970Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:01:37.972Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Run comprehensive SEO analysis on a webpage. Returns scores and issues for:\n- GEO (AI Search Optimization) - Is the site visible to ChatGPT, Perplexity, Claude?\n- Core Web Vitals (LCP, CLS, INP) - Performance estimates\n- Structured Data - Schema.org validation\n- Security Headers - HTTPS, HSTS, CSP\n- Mobile SEO - Responsive design, touch targets\n- Images - Alt text, formats, dimensions\n- Internal Linking - Anchor text, orphan detection\n\nUse this for a complete SEO audit.","inputSchema":{"properties":{"html":{"description":"HTML content of the page (optional if URL is provided)","type":"string"},"robotsTxt":{"description":"robots.txt content (optional - fetched from the site when omitted)","type":"string"},"url":{"description":"URL of the page to analyze","type":"string"}},"required":["url"],"type":"object"},"name":"seo_analyze"},{"description":"Check if a website is optimized for AI search engines (GEO - Generative Engine Optimization).\n\nAnalyzes:\n- AI crawler access by class (search, AI search, user-triggered, training crawlers)\n- robots.txt rules for AI crawlers\n- JS rendering requirements (can AI crawlers see content?)\n- Content structure for LLM consumption\n- Citation readiness (trust signals)\n- FAQ/entity extraction capability\n\nCritical for visibility in ChatGPT, Perplexity, Claude, and Gemini responses.","inputSchema":{"properties":{"html":{"description":"HTML content of the page (optional - fetched from the URL when omitted)","type":"string"},"robotsTxt":{"description":"robots.txt content (optional - fetched from the site when omitted)","type":"string"},"url":{"description":"URL of the page to analyze","type":"string"}},"required":["url"],"type":"object"},"name":"seo_geo_check"},{"description":"Analyze robots.txt for AI crawler access by class: search crawlers (Googlebot, bingbot), AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot), user-triggered fetchers (ChatGPT-User, Claude-User, Perplexity-User) and training crawlers (GPTBot, ClaudeBot, CCBot, Google-Extended), with what blocking each class costs.","inputSchema":{"properties":{"robotsTxt":{"description":"Content of robots.txt file","type":"string"}},"required":["robotsTxt"],"type":"object"},"name":"seo_robots_ai"},{"description":"Generate a robots.txt that allows every crawler class, with one group per class (AI search, user-triggered, training) so a site can disallow training alone without losing search or answer visibility.","inputSchema":{"properties":{"siteUrl":{"description":"Base URL of the site (e.g., https://example.com)","type":"string"}},"required":["siteUrl"],"type":"object"},"name":"seo_generate_robots"},{"description":"Estimate Core Web Vitals (LCP, CLS, INP, TTFB) from HTML analysis. Identifies issues like:\n- Render-blocking resources\n- Images without dimensions\n- Large JavaScript bundles\n- Missing preload hints","inputSchema":{"properties":{"html":{"description":"HTML content of the page","type":"string"},"url":{"description":"URL of the page","type":"string"}},"required":["url","html"],"type":"object"},"name":"seo_core_web_vitals"},{"description":"Validate JSON-LD structured data (Schema.org). Checks for:\n- Required properties per schema type\n- Article, Product, FAQ, HowTo, LocalBusiness schemas\n- Rich result eligibility\n- Common mistakes","inputSchema":{"properties":{"html":{"description":"HTML content with JSON-LD","type":"string"},"url":{"description":"URL of the page","type":"string"}},"required":["url","html"],"type":"object"},"name":"seo_structured_data"},{"description":"Generate JSON-LD structured data template for a page type (article, product, faq, local-business, website).","inputSchema":{"properties":{"authorName":{"description":"Default author name (for articles)","type":"string"},"organizationName":{"description":"Organization name","type":"string"},"pageType":{"description":"Type of page","enum":["article","product","faq","local-business","website"],"type":"string"},"siteName":{"description":"Name of the website","type":"string"},"siteUrl":{"description":"Base URL of the website","type":"string"}},"required":["pageType","siteName","siteUrl"],"type":"object"},"name":"seo_generate_schema"},{"description":"Analyze security headers (HTTPS, HSTS, CSP, X-Frame-Options, etc.). Returns a security grade A+ through F.","inputSchema":{"properties":{"headers":{"additionalProperties":{"type":"string"},"description":"HTTP response headers","type":"object"},"url":{"description":"URL of the page","type":"string"}},"required":["url","headers"],"type":"object"},"name":"seo_security_headers"},{"description":"Generate recommended security headers configuration for a site.","inputSchema":{"properties":{"siteUrl":{"description":"Base URL of the site","type":"string"}},"required":["siteUrl"],"type":"object"},"name":"seo_generate_security_headers"},{"description":"Analyze images for SEO and performance. Checks alt text, dimensions, formats (WebP/AVIF), lazy loading, and responsive images.","inputSchema":{"properties":{"html":{"description":"HTML content of the page","type":"string"},"url":{"description":"URL of the page","type":"string"}},"required":["url","html"],"type":"object"},"name":"seo_images"},{"description":"Analyze internal linking structure. Checks anchor text quality, orphan page risk, link distribution, and suggests linking opportunities.","inputSchema":{"properties":{"html":{"description":"HTML content of the page","type":"string"},"url":{"description":"URL of the page","type":"string"}},"required":["url","html"],"type":"object"},"name":"seo_internal_links"},{"description":"Analyze mobile SEO. Checks viewport, touch targets, font sizes, content width, PWA readiness.","inputSchema":{"properties":{"html":{"description":"HTML content of the page","type":"string"},"url":{"description":"URL of the page","type":"string"}},"required":["url","html"],"type":"object"},"name":"seo_mobile"},{"description":"List the known crawlers by what they are for (search, AI search, user-triggered, training), who runs each, and what blocking it costs.","inputSchema":{"properties":{},"type":"object"},"name":"seo_ai_crawlers"},{"description":"Link this AI assistant to a RankCLI account (rankcli.dev). This is the only tool in this server that contacts rankcli.dev, and only when you call it - every other tool runs fully locally. Connecting unlocks GitHub auto-fix PRs, scheduled monitoring, and a dashboard with history across audits; it does not change how the other tools work. Opens a browser tab for the user to approve (or reuses an existing session if already logged in). Safe to call anytime - if already connected, it just reports who's connected.","inputSchema":{"properties":{},"type":"object"},"name":"rankcli_connect"},{"description":"Unlink this AI assistant from its RankCLI account. Only affects this local connection - does not delete the RankCLI account or revoke other API keys.","inputSchema":{"properties":{},"type":"object"},"name":"rankcli_disconnect"}]}}}
