{"at":"2026-11-22T23:37:39.198Z","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-22T23:37:39.630Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T23:37:39.731Z","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-22T23:37:40.178Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"instructions":"Reddit content browser and analyzer. Access posts, comments, and user data from Reddit.\n\nKEY CONCEPTS:\n- Subreddits: Communities like \"technology\", \"science\". Use without r/ prefix\n- Special subreddits: \"all\" (entire Reddit), \"popular\" (trending/default)\n- Sorting: \"hot\" (trending), \"new\" (recent), \"top\" (highest score), \"rising\" (gaining traction), \"controversial\" (disputed)\n- Time ranges: For \"top\" sort - \"hour\", \"day\", \"week\", \"month\", \"year\", \"all\"\n- Post IDs: Short codes like \"abc123\" from Reddit URLs\n- Usernames: Without u/ prefix (use \"spez\" not \"u/spez\")\n\nCOMMON QUERIES:\n- \"What's trending on Reddit?\" → browse_subreddit with subreddit=\"all\" and sort=\"hot\"\n- \"Top posts this week in technology\" → browse_subreddit with subreddit=\"technology\", sort=\"top\", time=\"week\"\n- \"Search for AI discussions\" → search_reddit with query=\"artificial intelligence\"\n- \"Get comments on a Reddit post\" → get_post_details with URL or just post_id\n- \"Analyze a Reddit user\" → user_analysis with username\n- \"Which subreddits cover X?\" or a subreddit name you are unsure of → find_subreddits with query (2 to 4 keywords) and your candidate names, before browsing or searching\n\nNSFW: left out of browse_subreddit, search_reddit and find_subreddits unless the call sets include_nsfw true. Set it only when the user asks for NSFW content.\n\nRate limits: 10 requests/minute. Cache TTL: 15 minutes.","protocolVersion":"2025-11-25","serverInfo":{"name":"reddit-mcp-buddy","version":"1.3.0"}}}}
{"at":"2026-11-22T23:37:40.178Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:37:40.178Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:37:40.179Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"readOnlyHint":true},"description":"Fetch posts from a subreddit sorted by your choice (hot/new/top/rising/controversial). Returns a post list with content, metadata, score, num_comments, upvote_ratio, and a data_source field. Needs Reddit API credentials. If data_source is \"rss\" (a credential-free fallback that Reddit ends on 2026-11-13), score, num_comments, upvote_ratio, and nsfw are null: read the response note and do not infer popularity from them.","inputSchema":{"additionalProperties":false,"properties":{"include_nsfw":{"description":"Leave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW.","type":"boolean"},"include_subreddit_info":{"default":false,"description":"Include subreddit metadata like subscriber count and description. Requires Reddit credentials; omitted from RSS fallback results","type":"boolean"},"limit":{"default":25,"description":"Default 25, range (1-100). Change ONLY IF user specifies.","maximum":100,"minimum":1,"type":"number"},"sort":{"default":"hot","enum":["hot","new","top","rising","controversial"],"type":"string"},"subreddit":{"description":"Subreddit name without r/ prefix. Use specific subreddit (e.g., \"technology\"), \"all\" for Reddit-wide posts, or \"popular\" for trending across default subreddits","type":"string"},"time":{"enum":["hour","day","week","month","year","all"],"type":"string"}},"required":["subreddit"],"type":"object"},"name":"browse_subreddit"},{"annotations":{"readOnlyHint":true},"description":"Search for posts across Reddit or specific subreddits. Returns matching posts with content and metadata. NSFW posts are left out unless include_nsfw is true, and a search inside an NSFW subreddit returns nothing without it.","inputSchema":{"additionalProperties":false,"properties":{"author":{"type":"string"},"flair":{"type":"string"},"include_nsfw":{"description":"Leave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW.","type":"boolean"},"limit":{"default":25,"description":"Default 25, range (1-100). Override ONLY IF user requests.","maximum":100,"minimum":1,"type":"number"},"query":{"description":"Search query","type":"string"},"sort":{"default":"relevance","enum":["relevance","hot","top","new","comments"],"type":"string"},"subreddits":{"description":"Subreddits to search in, max 10 (leave empty for all)","items":{"description":"Subreddit name without r/ prefix","type":"string"},"maxItems":10,"type":"array"},"time":{"default":"all","enum":["hour","day","week","month","year","all"],"type":"string"}},"required":["query"],"type":"object"},"name":"search_reddit"},{"annotations":{"readOnlyHint":true},"description":"Fetch a Reddit post with its comments. Requires EITHER url OR post_id. IMPORTANT: When using post_id alone, an extra API call is made to fetch the subreddit first (2 calls total). For better efficiency, always provide the subreddit parameter when known (1 call total).","inputSchema":{"additionalProperties":false,"properties":{"comment_depth":{"default":3,"description":"Default 3, range (1-10). Override ONLY IF user specifies.","maximum":10,"minimum":1,"type":"number"},"comment_limit":{"default":20,"description":"Default 20, range (1-500). Change ONLY IF user asks.","maximum":500,"minimum":1,"type":"number"},"comment_sort":{"default":"best","enum":["best","top","new","controversial","qa"],"type":"string"},"extract_links":{"default":false,"type":"boolean"},"max_top_comments":{"default":5,"description":"Default 5, range (1-20). Change ONLY IF user requests.","maximum":20,"minimum":1,"type":"number"},"post_id":{"description":"Reddit post ID (e.g., \"1abc2d3\")","type":"string"},"subreddit":{"description":"Subreddit name (optional with post_id, but more efficient if provided)","type":"string"},"url":{"description":"Full Reddit URL (alternative to post_id)","type":"string"}},"type":"object"},"name":"get_post_details"},{"annotations":{"readOnlyHint":true},"description":"Analyze a Reddit user's posting history, karma, and activity patterns. Returns posts, comments, and statistics.","inputSchema":{"additionalProperties":false,"properties":{"comments_limit":{"default":10,"description":"Default 10, range (0-100). Override ONLY IF user asks.","maximum":100,"minimum":0,"type":"number"},"posts_limit":{"default":10,"description":"Default 10, range (0-100). Change ONLY IF user specifies.","maximum":100,"minimum":0,"type":"number"},"time_range":{"default":"month","description":"Time range for posts/comments (default: month). Note: When set to values other than \"all\", posts are sorted by top scores within that period. When set to \"all\", posts are sorted by newest","enum":["day","week","month","year","all"],"type":"string"},"top_subreddits_limit":{"default":10,"description":"Default 10, range (1-50). Change ONLY IF user requests.","maximum":50,"minimum":1,"type":"number"},"username":{"description":"Reddit username without u/ prefix","type":"string"}},"required":["username"],"type":"object"},"name":"user_analysis"},{"annotations":{"readOnlyHint":true},"description":"Find subreddits for a topic and check subreddit names before you use them. Call this before browse_subreddit or search_reddit with any subreddit you are not sure exists. Give query as 2 to 4 keywords (not a sentence) and up to 10 candidate names. results: your confirmed candidates first, then Reddit's own search suggestions, each with a url, subscribers with an as-of time, an nsfw flag, its type (restricted means most accounts cannot post there) and its source. not_found: candidates Reddit did not return, or that are not valid names. unavailable: names that exist but are private, quarantined or banned; do not browse those. If the name check itself fails, candidates come back with confirmed_exists false, meaning unchecked. NSFW subreddits and suggestions under min_subscribers are left out and counted. Needs Reddit API credentials.","inputSchema":{"additionalProperties":false,"properties":{"candidates":{"description":"Up to 10 subreddit names you think fit, without r/. Each is checked against Reddit; names Reddit does not return come back in not_found.","items":{"maxLength":100,"type":"string"},"maxItems":10,"type":"array"},"include_nsfw":{"description":"NSFW subreddits left out are counted in nsfw_hidden. Leave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW.","type":"boolean"},"limit":{"default":10,"description":"Default 10, range (1-50). Most Reddit search suggestions to return. Change ONLY IF user asks.","maximum":50,"minimum":1,"type":"integer"},"min_subscribers":{"default":1000,"description":"Default 1000. Search suggestions with fewer subscribers are left out and counted in small_hidden; your candidates are never filtered by size. Lower it ONLY IF the user wants niche or new communities.","maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"description":"2 to 4 keywords for the topic, as you would type them in a search box (e.g., \"budget cooking\", \"mechanical keyboards\"). NOT a sentence: Reddit matches words, so long phrases return unrelated subreddits.","maxLength":512,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"find_subreddits"},{"annotations":{"readOnlyHint":true},"description":"Get explanations of Reddit terms, slang, and culture. Returns definition, origin, usage, and examples.","inputSchema":{"additionalProperties":false,"properties":{"term":{"description":"Reddit term to explain (e.g., \"karma\", \"cake day\", \"AMA\")","type":"string"}},"required":["term"],"type":"object"},"name":"reddit_explain"}]}}}
