
Reddit Ads
io.github.mharnett由 GitHub 账号 mharnett 发布v1.0.1更新于 Oct 24, 2026
Reddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting.
概览
面向 Reddit Ads API v3 的 MCP 服务器,让助手读取广告活动、广告组、广告与效果报告,并可选地创建或暂停它们。
- 可以做什么
- 查看账户信息并列出可访问的广告账户
- 按状态筛选列出广告活动、广告组和广告
- 获取汇总效果报告与逐日效果明细
- 创建和更新广告活动、广告组和广告,包括定向与创意
- 批量暂停或启用多个广告活动、广告组或广告
- 搜索可用于定向的 subreddit、兴趣类别和地理目标
- 适用场景
- 适合管理 Reddit 广告的场景:让助手检查账户结构、汇总花费与效果,或在对话中准备和调整广告活动与定向设置。
- 运行要求
- 以 npm 包 mcp-reddit-ads 形式在本地 Node.js 上运行,需写入 MCP 客户端配置文件。需要一个 script 类型的 Reddit OAuth 应用,以及 REDDIT_CLIENT_ID、REDDIT_CLIENT_SECRET 和具有 adsread、adsedit、read 权限范围的 REDDIT_REFRESH_TOKEN。可选 config.json 保存账户与业务默认值,环境变量优先。
安装
在 SourceWeft 中
- 打开 控制台中的 Reddit Ads,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-reddit-ads
MCP server for Reddit Ads API v3 -- campaign management, ad creation, performance reporting, and audience targeting via Claude.
Features
- 18 tools covering full CRUD for campaigns, ad groups, and ads
- Performance reports with daily breakdowns
- Subreddit, interest, and geographic targeting
- Bulk pause/enable operations
- Safe by default: all new entities created in PAUSED status
- Budget inputs in dollars (auto-converts to Reddit's microcurrency format)
Installation
Or clone the repository:
Configuration
Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.
1. Reddit OAuth App
Create a Reddit OAuth app at reddit.com/prefs/apps:
- Select "script" type
- Note the client ID and client secret
- Obtain a refresh token with
adsread adsedit readscopes
2. Environment Variables
Set credentials via environment variables:
Read-only by default
As of v1.1.0 the MCP starts in read-only mode. The 10 read/report/targeting tools are always exposed, but the 8 mutating tools (create/update campaigns, ad groups, ads, and bulk pause/enable) are hidden from the tool list and refused at call time unless REDDIT_ADS_MCP_WRITE=true is set in the server's environment. This guards against a casual chat message accidentally mutating live ad spend. Enable writes deliberately, for the sessions where you actually intend to ship changes.
3. Config File
Copy config.example.json to config.json and fill in defaults:
Environment variables take precedence over config file values.
Usage
Claude Code (.mcp.json)
Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Tools
Context
Read
Write: Campaigns
Write: Ad Groups
Write: Ads
Bulk Operations
Targeting
Key Conventions
- Spend values are returned from the API in microcurrency (1 dollar = 1,000,000 microcurrency units). Divide by 1,000,000 to get dollar amounts. Budget inputs accept dollars and auto-convert.
- Dates and times use ISO 8601 format (
YYYY-MM-DDTHH:MM:SSZ). - New entities default to PAUSED status. Explicitly set status to
ACTIVEto go live. - Report metrics default to the set configured in
config.jsonbut can be overridden per request.
Architecture
- Resilience: Uses cockatiel for retry policies and circuit breaking on API calls
- Logging: Structured logging via pino
- Response truncation: Large API responses are truncated at 200KB to stay within MCP message limits
- Auth: OAuth 2.0 refresh token flow with automatic access token renewal
License
MIT -- see LICENSE.
Author
Built by Mark Harnett / drak-marketing.
来源:README.md,提交 55f2f3c
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分