mcp-reddit-publisher
A safe-by-default MCP server that allows AI assistants (Claude, Codex, OpenCode) to interact with Reddit for content publishing workflows.
Health Check (
health): Validate Reddit configuration and connectivity without exposing credentials.Search Subreddits (
search_subreddits): Search Reddit communities by query to find the best audience fit (returns up to 50 results).Get Subreddit Rules (
get_subreddit_rules): Fetch a subreddit's rules and automatically flag promotional-posting risks to avoid violations.Preview Text Post (
preview_text_post): Validate and preview a post (title, body, flair, NSFW/spoiler flags) without publishing.Submit Text Post (
submit_text_post): Publish a Reddit text post with built-in safety controls — dry-run mode (enabled by default viaREDDIT_DRY_RUN=true), subreddit allowlisting, rate limiting, rule checks, and promotional risk overrides.
Credentials (client_id, client_secret, refresh_token) are managed securely, and dry-run mode prevents accidental publishing until explicitly disabled.
Allows publishing text posts to Reddit subreddits, with capabilities to search subreddits, retrieve subreddit rules, preview posts before publishing, and submit posts with safety features like dry-run mode, subreddit allowlist, rule checking, and rate limiting.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-reddit-publisherPreview post in r/SideProject about my new tool"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-reddit-publisher
MCP para Claude/Codex/OpenCode publicar no Reddit com segurança.
npm:
mcp-reddit-publisher(ainda não publicado; por enquanto usegithub:osamuelnovaes/mcp-reddit-publisher)Por padrão é seguro:
REDDIT_DRY_RUN=true, então nada é publicado de verdade até você trocar parafalse.
Instalação rápida
Você não precisa clonar o projeto, instalar dependências nem rodar build.
Claude Code
Rode uma vez:
npx -y github:osamuelnovaes/mcp-reddit-publisher install claude-code \
--client-id "SEU_REDDIT_CLIENT_ID" \
--client-secret "SEU_REDDIT_CLIENT_SECRET" \
--refresh-token "SEU_REDDIT_REFRESH_TOKEN" \
--user-agent "mcp-reddit-publisher/0.1.0 by u/SEU_USUARIO" \
--allowed "SideProject,saas,startups"Depois reinicie o Claude Code e peça:
Use o reddit-publisher para verificar o health e buscar subreddits sobre SaaS.Claude Desktop
Rode uma vez:
npx -y github:osamuelnovaes/mcp-reddit-publisher install claude-desktop \
--client-id "SEU_REDDIT_CLIENT_ID" \
--client-secret "SEU_REDDIT_CLIENT_SECRET" \
--refresh-token "SEU_REDDIT_REFRESH_TOKEN" \
--user-agent "mcp-reddit-publisher/0.1.0 by u/SEU_USUARIO" \
--allowed "SideProject,saas,startups"Depois reinicie o Claude Desktop.
Só testar se o pacote roda
npx -y github:osamuelnovaes/mcp-reddit-publisher --helpSe apareceu a ajuda, o pacote baixou e executou corretamente.
Related MCP server: reddirect
O que o comando install faz
install claude-code: chama o CLI oficial do Claude Code e adiciona o MCP automaticamente.install claude-desktop: edita/cria o arquivoclaude_desktop_config.jsonautomaticamente.Não publica nada no Reddit durante a instalação.
Mantém
REDDIT_DRY_RUN=truepor padrão.
Credenciais Reddit
Crie um app no Reddit uma vez:
Clique em
create another app.Escolha o tipo
scriptpara uso pessoal/local.Copie:
client_idclient_secret
Configure um user agent, por exemplo:
mcp-reddit-publisher/0.1.0 by u/seu_usuarioA forma recomendada é usar:
REDDIT_REFRESH_TOKENAlternativa para app script:
--username "SEU_USUARIO" --password "SUA_SENHA"Codex, OpenCode ou outros clientes MCP
Se o cliente não tem instalador automático ainda, gere o bloco pronto:
npx -y github:osamuelnovaes/mcp-reddit-publisher setup codex \
--client-id "..." \
--client-secret "..." \
--refresh-token "..." \
--user-agent "mcp-reddit-publisher/0.1.0 by u/SEU_USUARIO"Troque codex por:
setup opencode
setup claude
setup jsonFerramentas MCP disponíveis
health: valida a configuração sem expor secrets.search_subreddits: busca comunidades por termo.get_subreddit_rules: lê regras do subreddit e aponta riscos.preview_text_post: valida e mostra o post sem publicar.submit_text_post: publica o post respeitando dry-run, allowlist, regras e rate limit.
Segurança por padrão
Nada é publicado por padrão:
REDDIT_DRY_RUN=truePara publicar de verdade, só depois de testar:
npx -y github:osamuelnovaes/mcp-reddit-publisher install claude-code \
--client-id "..." \
--client-secret "..." \
--refresh-token "..." \
--user-agent "mcp-reddit-publisher/0.1.0 by u/SEU_USUARIO" \
--dry-run falseRecomendações:
REDDIT_ALLOWED_SUBREDDITS=SideProject,saas,startups
REDDIT_REQUIRE_RULE_CHECK=true
REDDIT_MIN_SECONDS_BETWEEN_POSTS=300Desenvolvimento local
git clone https://github.com/osamuelnovaes/mcp-reddit-publisher.git
cd mcp-reddit-publisher
npm install
npm run typecheck
npm test
npm run build
node scripts/smoke.mjsLicença
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server that provides both read-only and authenticated access to Reddit content and interactions without requiring a developer API key. It enables users to browse posts, search subreddits, and perform write actions like commenting and voting by leveraging browser session cookies.Last updated81The Unlicense
- AlicenseAqualityBmaintenanceReddit MCP Server — No API Keys Required. Browse, post, comment, vote, and manage your Reddit account from any MCP client.Last updated202MIT
- FlicenseBqualityCmaintenanceMCP server to publish on Reddit safely, with automated rule checking, dry-run mode, and subreddit allowlisting.Last updated5
- Alicense-qualityAmaintenanceA local MCP server that reads Discord servers and channels and optionally sends messages with explicit allowlists, read-only by default.Last updated40MIT
Related MCP Connectors
A basic MCP server to operate on the Postman API.
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/osamuelnovaes/mcp-reddit-publisher'
If you have feedback or need assistance with the MCP directory API, please join our Discord server