MCP servers · Reddit · MCP server
Connect Codex CLI to Reddit
One line gives Codex CLI your Reddit account as tools: 21 endpoints, posts, comments, subreddits, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Reddit. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Submit post in Reddit".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Reddit
Posts · Submit text/link posts to subreddits and manage them5
Submit post
POST /api/submitGet a post
GET /r/{subreddit}/comments/{postId}Get user posts
GET /user/{username}/submittedPost a comment
POST /api/commentSearch posts
GET /searchComments · Post comments and replies on Reddit threads2
Get comments
GET /r/{subreddit}/comments/{postId}Get user comments
GET /user/{username}/commentsSubreddits · Browse and search subreddit info, rules, and hot/new/top posts7
Get a subreddit
GET /r/{subreddit}/aboutGet subreddit rules
GET /r/{subreddit}/about/rulesGet a hot
GET /r/{subreddit}/hotGet a new
GET /r/{subreddit}/newGet a top
GET /r/{subreddit}/topSearch subreddits
GET /subreddits/searchList my subreddits
GET /subreddits/mine/subscriberMessages · Read and send private messages2
Get an inbox
GET /message/inboxSend a message
POST /api/composeProfile · View authenticated user profile, karma, and account age0
View authenticated user profile, karma, and account age
Search content · Search Reddit posts, comments, and subreddits0
Search Reddit posts, comments, and subreddits
Reddit in other AI clients
Claude Code + RedditMCP server + skillClaude (desktop & claude.ai) + RedditconnectorChatGPT + Redditconnector · GPT actionGemini CLI + RedditMCP serverCursor + RedditMCP serverVS Code (Copilot) + RedditMCP serverWindsurf + RedditMCP server
