data
Reddit MCP, CLI, and Lua Integration for AI Agents
Reddit integration docs for AI agents: MCP gateway setup, Reddit CLI commands, Lua API reference, credentials, and function schemas.Reddit for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
reddit.reddit_create_comment | Write write | 2 | Post a comment on a Reddit post or reply to an existing comment. The comment body supports Markdown formatting. Use "t3_" prefix for post IDs or "t1_" prefix for comment IDs as the parent. |
reddit.reddit_create_post | Write write | 7 | Submit a new post to a subreddit. Supports text (self), link, image, and video post types. |
reddit.reddit_get_current_user | Read read | 0 | Get the profile of the currently authenticated Reddit user. Useful for verifying credentials and displaying account information. |
reddit.reddit_get_post | Read read | 2 | Get details for a specific Reddit post by subreddit and post ID. Returns the post listing and its top-level comments. |
reddit.reddit_get_subreddit | Read read | 1 | Get information about a specific subreddit including subscriber count, description, and settings. |
reddit.reddit_list_comments | Read read | 5 | List comments for a specific Reddit post. Supports sorting (best, top, new, controversial, old, q&a) and depth limiting. |
reddit.reddit_list_posts | Read read | 5 | List posts from a subreddit or the Reddit front page. Supports hot, new, top, rising, and controversial sorting with pagination via after/before cursors. |
reddit.reddit_list_subreddits | Read read | 4 | List popular or new subreddits. Supports pagination with after/before cursors. |
reddit.reddit_search | Read read | 6 | Search Reddit for posts, subreddits, or users. Supports filtering by type, sorting, and time range. Use this to find relevant content across Reddit. |