Reddit Ads MCP Connector
Reddit Ads MCP Connector
Plain-language MCP for Reddit Ads API v3
API base: https://ads-api.reddit.com/api/v3
Pregunta en inglés sencillo — no necesitas memorizar las rutas de los endpoints ni los IDs de cuentas de anuncios (cuando hay una cuenta configurada).
Lo que puede hacer
El usuario pregunta sobre | Herramientas |
Quién soy / perfil |
|
Cuentas de anuncios |
|
Campañas |
|
Grupos de anuncios y anuncios |
|
Rendimiento / gasto |
|
Píxeles de conversión |
|
Related MCP server: Google Ads API v20 MCP Server
Requisitos previos
Una aplicación de Reddit en reddit.com/prefs/apps — tipo aplicación web o script
Anota el ID de cliente (bajo el nombre de la aplicación) y el secreto de cliente
Un token de actualización con el alcance
adsread(OAuth de una sola vez — ver más abajo)
Configuración (local)
cd reddit-mcp-connector
python -m venv .venv
# Windows:
.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .envRellena .env:
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_secret
REDDIT_REFRESH_TOKEN=your_refresh_token
REDDIT_USER_AGENT=web:reddit-mcp-connector:v1.0.0 (by /u/YOUR_USERNAME)
REDDIT_AD_ACCOUNT_ID=t2_xxxxx # optional but recommendedInicia el servidor:
python reddit_mcp_server.py --httpEscucha en http://127.0.0.1:8002/mcp.
Obtener un token de actualización (una sola vez)
Construye una URL de autorización (sustituye los marcadores de posición):
https://www.reddit.com/api/v1/authorize?client_id=YOUR_CLIENT_ID&response_type=code&state=anything&redirect_uri=http://localhost:8080&duration=permanent&scope=adsreadÁbrela en un navegador, aprueba el acceso y copia el
codede la URL de redirección.Intercambia el código:
curl -X POST https://www.reddit.com/api/v1/access_token ^
-u "CLIENT_ID:CLIENT_SECRET" ^
-d "grant_type=authorization_code&code=CODE&redirect_uri=http://localhost:8080"Guarda
refresh_tokende la respuesta JSON en.envcomoREDDIT_REFRESH_TOKEN.
Tu URI de redirección en la configuración de la aplicación de Reddit debe coincidir exactamente (p. ej., http://localhost:8080).
Cursor (local)
"reddit": {
"url": "http://127.0.0.1:8002/mcp"
}Mantén el servidor en ejecución:
python reddit_mcp_server.py --httpCursor Configuración → MCP → actualizar
reddit debería mostrarse en verde con herramientas como
list_campaigns,get_performance_report, …
Luego pregunta: “List my campaigns” o “Spend and impressions last 7 days”.
Google Cloud Run
Aloja el mismo endpoint HTTP MCP en Cloud Run.
Despliegue
.\deploy-cloudrun.ps1 -ProjectId "YOUR_GCP_PROJECT_ID"Las credenciales se almacenan en Secret Manager como JSON (reddit-mcp-credentials). El script solicita los valores que falten o los lee de .env.
Cursor (Cloud Run)
"reddit": {
"url": "https://YOUR-CLOUD-RUN-URL/mcp"
}Conector personalizado de Claude
Cuando MCP_PUBLIC_URL está definida (el script de despliegue lo hace automáticamente), se habilita OAuth + DCR de Claude.ai.
Despliega con
.\deploy-cloudrun.ps1 -ProjectId "..."Configuración → Conectores → Añadir conector personalizado
URL:
https://YOUR-SERVICE.run.app/mcp(debe incluir/mcp)Deja vacío el ID de cliente de OAuth (DCR habilitado)
Ejemplos de prompts
"List my Reddit ad accounts"
"Show campaigns for my ad account"
"Spend and impressions last 7 days"
"Daily performance trend this month"
"Break down performance by campaign"
"List conversion pixels"
Herramientas
Herramienta | Finalidad |
| Lo que puedes preguntar |
| Usuario autenticado |
| Buscar IDs de cuentas de anuncios |
| Detalles de la cuenta |
| Lista de campañas |
| Campaña individual |
| Grupos de anuncios |
| Anuncios |
| Píxeles de conversión |
| Métricas / gasto / tendencias |
Nota de seguridad
El despliegue en Cloud Run usa --allow-unauthenticated para que la URL MCP sea accesible. El OAuth de Claude restringe el acceso a las herramientas a los clientes registrados. Trata las credenciales y las URLs como información sensible.
This server cannot be installed
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
- AlicenseBqualityBmaintenanceEnables comprehensive Google Ads campaign management and analysis through natural language, including performance metrics, keyword optimization, budget management, and custom GAQL queries.10013MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Google Ads API v20, enabling AI assistants to manage campaigns, accounts, assets, and reporting through natural language. It features automatic retry logic, GAQL query support, and advanced functionality for Performance Max and Demand Gen campaigns.11MIT
- AlicenseNot gradedqualityCmaintenanceWraps the Meta Marketing API to enable creating, modifying, viewing, and deleting Instagram ads via natural language.15MIT
- FlicenseNot gradedqualityDmaintenanceRead-only access to Reddit Ads API v3 for listing ad accounts, campaigns, ad groups, ads, and generating performance reports with OAuth2 authentication.
Related MCP Connectors
Manage ad campaigns across Google, Meta, LinkedIn, Reddit, TikTok, and more via AI.
Manage ad campaigns across Google, Meta, LinkedIn, Reddit, TikTok, and more via AI.
Run Google, Meta, Microsoft, TikTok and LinkedIn Ads from Claude or ChatGPT. Writes need approval.
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/devopsbrandmirchi/reddit-mcp-connector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server