
Reddit Ads MCP
io.github.mkerchenski由 GitHub 帳號 mkerchenski 發布v1.1.1更新於 Oct 24, 2026
MCP server for the Reddit Ads API. List accounts, campaigns, ads, and pull reports.
概覽
以唯讀方式存取 Reddit Ads API,讓助理列出廣告帳戶、廣告活動、廣告群組、廣告並取得成效報表。
- 可以做什麼
- 這是一個在本機執行的 C# MCP 伺服器,包裝 Reddit Ads API,只提供唯讀工具。包含 ListAccounts、ListCampaigns、ListAdGroups、ListAds、GetPerformanceReport(可自訂日期範圍、欄位與細分)以及 GetDailyPerformance,用來取得最近 N 天的曝光、點擊、花費、CTR、CPC 與 eCPM。所有工具都接受選用的 accountId 參數,省略時會使用 REDDIT_ACCOUNT_ID 指定的預設帳戶。
- 適用情境
- 適合讓助理不必開啟廣告後台就能檢視 Reddit 廣告結構或彙整廣告活動成效。適用於帳戶、廣告活動、廣告群組與廣告的報表與查核類問題;它不會建立或修改任何內容。
- 執行需求
- 透過 stdio 在本機執行,需要 .NET 10(dotnet tool install -g RedditAdsMcp)或從原始碼建置。需要一個擁有有效 Reddit Ads 廣告主帳戶的 Reddit 帳號、一個 Reddit Ads API 應用程式,以及環境變數 REDDIT_CLIENT_ID、REDDIT_CLIENT_SECRET、REDDIT_REFRESH_TOKEN 與 REDDIT_ACCOUNT_ID。需要連線至 Reddit Ads API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Reddit Ads MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
RedditAdsMcp
A C# MCP (Model Context Protocol) server for the Reddit Ads API. Provides read-only tools for listing accounts, campaigns, ad groups, ads, and pulling performance reports.
Built with .NET 10 and the official ModelContextProtocol SDK.
Available Tools
All tools accept an optional accountId parameter. If omitted, the default account from REDDIT_ACCOUNT_ID is used.
Prerequisites
- A Reddit account with an active Reddit Ads advertiser account
- .NET 10 SDK
Install
Option A: Install as a dotnet tool (recommended)
Then configure Claude Code (see Step 5b below).
Option B: Clone and build from source
Then configure Claude Code (see Step 5a below).
Setup
1. Create a Reddit Ads API App
- Go to ads.reddit.com
- In the left sidebar, click Developer Applications (under your account/business settings)
- Click Create a new app and fill in:
Reddit requires a public HTTPS redirect URI (localhost won't work). The URL above is a simple callback page maintained by the package author that displays the authorization code for you to copy — it does not store any data. You can use any HTTPS URL you control instead; just update the redirect URI in Steps 2–3 to match.
- Click Create app
- Copy your App ID and Secret — you'll need both in the next steps
2. Authorize the App
Open this URL in your browser, replacing YOUR_APP_ID with the App ID from Step 1:
Click Allow. You'll be redirected to a page that displays your authorization code — click Copy.
3. Exchange the Code for a Refresh Token
Run this command, replacing the three placeholders with your App ID, Secret, and authorization code:
The
redirect_urimust match exactly what you entered in Step 1.
The response JSON contains a refresh_token field. Save it — it's permanent until revoked.
4. Find Your Account ID
- Go to ads.reddit.com and click All accounts (top-left dropdown)
- Select your business on the left — your ad account appears on the right
- The account ID is the value under the account name (e.g.
a2_eaf73mplhhps)
5a. Configure Claude Code (from source)
Add to your Claude Code MCP settings (.mcp.json in your project, or ~/.claude/settings.json), replacing the four placeholder values:
5b. Configure Claude Code (dotnet tool)
Verify with /mcp in Claude Code — the reddit-ads server should appear with 6 tools.
Development
License
MIT
來源:README.md,提交 fe7288a
工具
0版本歷史
1- v1.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分