
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
RedditAdsMcp
Advanced tools
MCP server for the Reddit Ads API. Provides tools to list accounts, campaigns, ad groups, ads, and pull performance reports — designed for use with Claude Code and other MCP clients.
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.
| Tool | Description |
|---|---|
ListAccounts | List all Reddit ad accounts accessible with current credentials |
ListCampaigns | List campaigns for an account |
ListAdGroups | List ad groups, optionally filtered by campaign |
ListAds | List ads, optionally filtered by ad group |
GetPerformanceReport | Get a performance report with custom date range, fields, and breakdowns |
GetDailyPerformance | Convenience wrapper — last N days of impressions, clicks, spend, CTR, CPC, eCPM |
All tools accept an optional accountId parameter. If omitted, the default account from REDDIT_ACCOUNT_ID is used.
dotnet tool install -g RedditAdsMcp
Then configure Claude Code (see Step 5b below).
git clone https://github.com/mkerchenski/RedditAdsMcp.git
cd RedditAdsMcp
dotnet build
Then configure Claude Code (see Step 5a below).
| Field | Value |
|---|---|
| App name | Reddit Ads MCP |
| Description | MCP server for Reddit Ads reporting |
| About url | https://github.com/mkerchenski/RedditAdsMcp (or leave blank) |
| Redirect URI | https://hurrah.dev/oauth/reddit |
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.
Open this URL in your browser, replacing YOUR_APP_ID with the App ID from Step 1:
https://www.reddit.com/api/v1/authorize?client_id=YOUR_APP_ID&response_type=code&state=mcp&redirect_uri=https%3A%2F%2Fhurrah.dev%2Foauth%2Freddit&duration=permanent&scope=adsread
Click Allow. You'll be redirected to a page that displays your authorization code — click Copy.
Run this command, replacing the three placeholders with your App ID, Secret, and authorization code:
curl -X POST https://www.reddit.com/api/v1/access_token \
-u "YOUR_APP_ID:YOUR_SECRET" \
-A "ads-mcp/1.0" \
-d "grant_type=authorization_code&code=YOUR_AUTHORIZATION_CODE&redirect_uri=https://hurrah.dev/oauth/reddit"
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.
a2_eaf73mplhhps)Add to your Claude Code MCP settings (.mcp.json in your project, or ~/.claude/settings.json), replacing the four placeholder values:
"reddit-ads": {
"type": "stdio",
"command": "dotnet",
"args": ["run", "--project", "/path/to/RedditAdsMcp", "--no-build"],
"env": {
"REDDIT_CLIENT_ID": "your_app_id",
"REDDIT_CLIENT_SECRET": "your_secret",
"REDDIT_REFRESH_TOKEN": "your_refresh_token",
"REDDIT_ACCOUNT_ID": "your_account_id"
}
}
"reddit-ads": {
"type": "stdio",
"command": "reddit-ads-mcp",
"env": {
"REDDIT_CLIENT_ID": "your_app_id",
"REDDIT_CLIENT_SECRET": "your_secret",
"REDDIT_REFRESH_TOKEN": "your_refresh_token",
"REDDIT_ACCOUNT_ID": "your_account_id"
}
}
Verify with /mcp in Claude Code — the reddit-ads server should appear with 6 tools.
dotnet build # compile
dotnet run # start MCP server on stdio
dotnet pack # create NuGet package
MIT
FAQs
MCP server for the Reddit Ads API. Provides tools to list accounts, campaigns, ad groups, ads, and pull performance reports — designed for use with Claude Code and other MCP clients.
We found that RedditAdsMcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.