Reddit Ads

v1.0.2
com.getmcpads/reddit-ads Checked 1 day ago Published 24 days ago

Reddit Ads MCP server: 31 read tools, 22 opt-in preview-first writes.

Values you need

VariableWhat it is
REDDIT_ADS_ACCESS_TOKENoptional secret Reddit OAuth access token with adsread. Optional when the refresh credentials are set.
REDDIT_ADS_REFRESH_TOKENoptional secret Permanent refresh token. With the app credentials, the server renews tokens in memory.
REDDIT_ADS_CLIENT_IDoptional Client ID of your Reddit app, needed with the refresh token.
REDDIT_ADS_CLIENT_SECREToptional secret Secret of your Reddit app, needed with the refresh token.
REDDIT_ADS_ACCOUNT_IDSrequired Comma-separated Reddit ad account IDs (a2_...) the server may reach. Required even for reads.
REDDIT_ADS_ENABLE_WRITESoptional true exposes 22 write tools, each previewing until confirm:true. Defaults to false.
REDDIT_ADS_USER_AGENToptional 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-mcp
Add 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

  1. Ask the user for: REDDIT_ADS_ACCOUNT_IDS. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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