KosmoKrator

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.

9 functions 7 read 2 write Manual OAuth token auth

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.

Machine-Readable Metadata
integration_slug
reddit
route_slug
reddit
package
reddit
auth_strategy
oauth2_manual_token Manual OAuth token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Reddit MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Reddit.

Reddit CLI Matrix

Use these pages for direct Reddit CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.