KosmoKrator

data

Reddit MCP Gateway for AI Agents

Expose Reddit tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

9 functions 7 read 2 write Manual OAuth token auth

Reddit MCP Gateway

Expose Reddit to MCP clients with `kosmokrator mcp:serve --integration=reddit`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=reddit --write=deny --json
{
  "mcpServers": {
    "kosmokrator-reddit": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=reddit",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=reddit --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__reddit__reddit_create_comment reddit.reddit_create_comment Write write
integration__reddit__reddit_create_post reddit.reddit_create_post Write write
integration__reddit__reddit_get_current_user reddit.reddit_get_current_user Read read
integration__reddit__reddit_get_post reddit.reddit_get_post Read read
integration__reddit__reddit_get_subreddit reddit.reddit_get_subreddit Read read
integration__reddit__reddit_list_comments reddit.reddit_list_comments Read read
integration__reddit__reddit_list_posts reddit.reddit_list_posts Read read
integration__reddit__reddit_list_subreddits reddit.reddit_list_subreddits Read read
integration__reddit__reddit_search reddit.reddit_search Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.