{"at":"2026-11-23T01:06:26.405Z","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:06:26.837Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:06:29.951Z","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:06:30.345Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"twitterapi-io-mcp","version":"1.7.3"}}}}
{"at":"2026-11-23T01:06:30.345Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:06:30.345Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:06:30.348Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Search TwitterAPI.io documentation: API endpoints, guides (pricing, rate limits, filter rules), and blog posts.\n\nUSE THIS WHEN: You need to find information across the entire documentation.\nRETURNS: Ranked results with endpoint paths, descriptions, and relevance scores.\n\nExamples:\n- \"advanced search\" → finds tweet search endpoints\n- \"rate limit\" → finds QPS limits and pricing info\n- \"webhook\" → finds webhook setup endpoints\n- \"getUserInfo\" → finds user info endpoints (supports camelCase)","inputSchema":{"properties":{"max_results":{"default":10,"description":"Number of results to return. Use higher values (15-20) for comprehensive research, lower values (3-5) for quick lookups.","maximum":20,"minimum":1,"type":"integer"},"query":{"description":"Search query (1-500 chars). Use English keywords like: 'search', 'user', 'tweet', 'webhook', 'pricing', 'rate limit'. Supports camelCase and underscore formats.","maxLength":500,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_twitterapi_docs","outputSchema":{"properties":{"cached":{"description":"Whether this response was served from cache.","type":"boolean"},"counts":{"properties":{"blogs":{"type":"integer"},"endpoints":{"type":"integer"},"pages":{"type":"integer"},"total":{"type":"integer"}},"type":"object"},"markdown":{"description":"Human-readable markdown rendering of the results.","type":"string"},"max_results":{"description":"Applied max results (1-20).","type":"integer"},"query":{"description":"Normalized (trimmed) search query.","type":"string"},"results":{"items":{"properties":{"category":{"type":"string"},"description":{"type":"string"},"method":{"type":"string"},"name":{"type":"string"},"next":{"description":"Suggested follow-up tool call for this result (helps chaining).","properties":{"arguments":{"additionalProperties":true,"type":"object"},"tool":{"type":"string"}},"required":["tool","arguments"],"type":"object"},"path":{"type":"string"},"score":{"type":"number"},"title":{"type":"string"},"type":{"enum":["endpoint","page","blog"],"type":"string"},"url":{"type":"string"}},"required":["type","name","score"],"type":"object"},"type":"array"}},"required":["query","max_results","results","markdown"],"type":"object"}},{"description":"Get complete documentation for a specific TwitterAPI.io endpoint.\n\nUSE THIS WHEN: You know the exact endpoint name (e.g., from search results).\nRETURNS: Full details including path, parameters, cURL example, and code snippets.\n\nCommon endpoints:\n- get_user_info, get_user_followers, get_user_following\n- tweet_advanced_search, get_tweet_by_id\n- add_webhook_rule, get_webhook_rules","inputSchema":{"properties":{"endpoint_name":{"description":"Exact endpoint name (use underscores). Examples: 'get_user_info', 'tweet_advanced_search', 'add_webhook_rule'","type":"string"}},"required":["endpoint_name"],"type":"object"},"name":"get_twitterapi_endpoint","outputSchema":{"properties":{"cached":{"type":"boolean"},"code_snippets":{"items":{"type":"string"},"type":"array"},"curl_example":{"type":"string"},"description":{"type":"string"},"doc_url":{"type":"string"},"endpoint_name":{"type":"string"},"full_url":{"type":"string"},"markdown":{"type":"string"},"method":{"type":"string"},"parameters":{"items":{"properties":{"description":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"}},"required":["name"],"type":"object"},"type":"array"},"path":{"type":"string"},"raw_text":{"type":"string"},"title":{"type":"string"}},"required":["endpoint_name","markdown"],"type":"object"}},{"description":"List all TwitterAPI.io API endpoints organized by category.\n\nUSE THIS WHEN: You need to browse available endpoints or find endpoints by category.\nCATEGORIES: user, tweet, community, webhook, stream, action, dm, list, trend\n\nRETURNS: Endpoint names with HTTP method and path for each category.","inputSchema":{"properties":{"category":{"description":"Optional filter: user, tweet, community, webhook, stream, action, dm, list, trend, other","enum":["user","tweet","community","webhook","stream","action","dm","list","trend","other"],"type":"string"}},"type":"object"},"name":"list_twitterapi_endpoints","outputSchema":{"properties":{"category":{"type":["string","null"]},"endpoints":{"items":{"properties":{"category":{"type":"string"},"description":{"type":"string"},"method":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"}},"required":["name","category"],"type":"object"},"type":"array"},"markdown":{"type":"string"},"total":{"description":"Number of endpoints returned (after optional category filter).","type":"integer"},"total_all":{"description":"Total endpoints in the snapshot (before filtering).","type":"integer"}},"required":["total","endpoints","markdown"],"type":"object"}},{"description":"Get a TwitterAPI.io page from the offline snapshot by page key.\n\nUSE THIS WHEN: You need the full content of a specific page (guides, docs, policies, contact, etc.).\nTIP: Use search_twitterapi_docs if you don't know the page key.\n\nRETURNS: Full guide content with headers, paragraphs, and code examples.","inputSchema":{"properties":{"guide_name":{"description":"Page key (from data/pages). Examples: pricing, qps_limits, privacy, contact, introduction, authentication.","enum":["acceptable_use","affiliate_program","articles","articles_best_twitter_data_apis_small_business_analytics_2026","articles_bypassing_twitter_api_restrictions_solutions_that_work","articles_historical_tweet_data_methods_access_past_content","articles_how_to_build_twitter_analytics_dashboard_30_minutes","articles_how_to_extract_twitter_data_without_official_api_access","articles_real_time_tweet_scraping_implementation_guide","articles_real_time_vs_batch_impact_on_analytics","articles_twitter_api_alternatives_tools_for_developers_2026","articles_twitter_api_costs_official_vs_third_party_pricing_analysis","articles_twitter_api_rate_limits_vs_alternative_solutions","articles_twitter_data_collection_checklist_research_projects","articles_twitter_hashtag_analyzer","authentication","blog_index","changelog","contact","dashboard","home","introduction","payment","pricing","privacy","qps_limits","readme","terms","tweet_filter_rules","twitter_stream","twitter_stream_manage","twitter_stream_subscription"],"type":"string"}},"required":["guide_name"],"type":"object"},"name":"get_twitterapi_guide","outputSchema":{"properties":{"code_snippets":{"items":{"type":"string"},"type":"array"},"description":{"type":"string"},"guide_name":{"type":"string"},"headers":{"items":{"properties":{"level":{"type":"integer"},"text":{"type":"string"}},"required":["level","text"],"type":"object"},"type":"array"},"list_items":{"items":{"type":"string"},"type":"array"},"markdown":{"type":"string"},"paragraphs":{"items":{"type":"string"},"type":"array"},"raw_text":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"}},"required":["guide_name","markdown"],"type":"object"}},{"description":"Fetch a TwitterAPI.io or docs.twitterapi.io URL.\n\nUSE THIS WHEN: You have a specific link and want its full content.\nRETURNS: Parsed content from the offline snapshot. If not found, you can set fetch_live=true (restricted to twitterapi.io/docs.twitterapi.io).","inputSchema":{"properties":{"fetch_live":{"default":false,"description":"If true and the URL is missing from the offline snapshot, fetch it live over HTTPS (allowed hosts only).","type":"boolean"},"url":{"description":"URL to fetch. Examples: https://twitterapi.io/privacy, /pricing, docs.twitterapi.io/introduction","type":"string"}},"required":["url"],"type":"object"},"name":"get_twitterapi_url","outputSchema":{"properties":{"description":{"type":"string"},"kind":{"enum":["endpoint","page","blog"],"type":"string"},"markdown":{"type":"string"},"name":{"type":"string"},"source":{"enum":["snapshot","live"],"type":"string"},"title":{"type":"string"},"url":{"type":"string"}},"required":["url","source","kind","name","markdown"],"type":"object"}},{"description":"Get TwitterAPI.io pricing information: credit system, endpoint costs, QPS limits.\n\nUSE THIS WHEN: You need to know API costs, credit calculations, or rate limits.\nRETURNS: Pricing tiers, credit costs per endpoint, QPS limits by balance level.","inputSchema":{"properties":{},"type":"object"},"name":"get_twitterapi_pricing","outputSchema":{"properties":{"costs":{"additionalProperties":{"type":"string"},"type":"object"},"credits_per_usd":{"type":"number"},"markdown":{"type":"string"},"minimum_charge":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"qps_limits":{"properties":{"free":{"type":"string"},"paid":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object"}},"required":["markdown"],"type":"object"}},{"description":"Get TwitterAPI.io authentication guide: API key usage, headers, code examples.\n\nUSE THIS WHEN: You need to set up authentication or see request examples.\nRETURNS: API key header format, base URL, cURL/Python/JavaScript examples.","inputSchema":{"properties":{},"type":"object"},"name":"get_twitterapi_auth","outputSchema":{"properties":{"base_url":{"type":"string"},"dashboard_url":{"type":"string"},"examples":{"properties":{"curl":{"type":"string"},"javascript":{"type":"string"},"python":{"type":"string"}},"type":"object"},"header":{"type":"string"},"markdown":{"type":"string"}},"required":["header","base_url","markdown"],"type":"object"}}]}}}
