Reddit Ads
v1.0.2Reddit Ads MCP server: 31 read tools, 22 opt-in preview-first writes.
Values you need
| Variable | What it is | |
|---|---|---|
REDDIT_ADS_ACCESS_TOKEN | optional secret | Reddit OAuth access token with adsread. Optional when the refresh credentials are set. |
REDDIT_ADS_REFRESH_TOKEN | optional secret | Permanent refresh token. With the app credentials, the server renews tokens in memory. |
REDDIT_ADS_CLIENT_ID | optional | Client ID of your Reddit app, needed with the refresh token. |
REDDIT_ADS_CLIENT_SECRET | optional secret | Secret of your Reddit app, needed with the refresh token. |
REDDIT_ADS_ACCOUNT_IDS | required | Comma-separated Reddit ad account IDs (a2_...) the server may reach. Required even for reads. |
REDDIT_ADS_ENABLE_WRITES | optional | true exposes 22 write tools, each previewing until confirm:true. Defaults to false. |
REDDIT_ADS_USER_AGENT | optional | User-Agent sent to Reddit, ideally naming your app and Reddit username. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add reddit-ads -e 'REDDIT_ADS_ACCOUNT_IDS=<REDDIT_ADS_ACCOUNT_IDS>' -- npx -y --package=@getmcpads/reddit-ads-mcp-server@1.0.2 reddit-ads-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"reddit-ads": {
"args": [
"-y",
"--package=@getmcpads/reddit-ads-mcp-server@1.0.2",
"reddit-ads-mcp"
],
"command": "npx",
"env": {
"REDDIT_ADS_ACCOUNT_IDS": "<REDDIT_ADS_ACCOUNT_IDS>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"reddit-ads": {
"args": [
"-y",
"--package=@getmcpads/reddit-ads-mcp-server@1.0.2",
"reddit-ads-mcp"
],
"command": "npx",
"env": {
"REDDIT_ADS_ACCOUNT_IDS": "<REDDIT_ADS_ACCOUNT_IDS>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "REDDIT_ADS_ACCOUNT_IDS",
"id": "reddit-ads-account-ids",
"password": true,
"type": "promptString"
}
],
"servers": {
"reddit-ads": {
"args": [
"-y",
"--package=@getmcpads/reddit-ads-mcp-server@1.0.2",
"reddit-ads-mcp"
],
"command": "npx",
"env": {
"REDDIT_ADS_ACCOUNT_IDS": "${input:reddit-ads-account-ids}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.reddit-ads]
command = "npx"
args = ["-y", "--package=@getmcpads/reddit-ads-mcp-server@1.0.2", "reddit-ads-mcp"]
env = { "REDDIT_ADS_ACCOUNT_IDS" = "<REDDIT_ADS_ACCOUNT_IDS>" }For AI agents
- Ask the user for: REDDIT_ADS_ACCOUNT_IDS. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json