Reddit MCP Server via Apify
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add reddit-server-mypracticaltools --env APIFY_API_TOKEN='<APIFY_API_TOKEN>' -- npx -y @practicaltools/reddit-mcp-server~/.codex/config.toml
[mcp_servers.reddit-server-mypracticaltools]
command = "npx"
args = ["-y", "@practicaltools/reddit-mcp-server"]
env = { APIFY_API_TOKEN = "<APIFY_API_TOKEN>" }
# codex mcp add reddit-server-mypracticaltools --env APIFY_API_TOKEN='<APIFY_API_TOKEN>' -- npx -y @practicaltools/reddit-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"reddit-server-mypracticaltools": {
"command": "npx",
"args": [
"-y",
"@practicaltools/reddit-mcp-server"
],
"env": {
"APIFY_API_TOKEN": "<APIFY_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"reddit-server-mypracticaltools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@practicaltools/reddit-mcp-server"
],
"env": {
"APIFY_API_TOKEN": "<APIFY_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"reddit-server-mypracticaltools": {
"command": "npx",
"args": [
"-y",
"@practicaltools/reddit-mcp-server"
],
"env": {
"APIFY_API_TOKEN": "<APIFY_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"reddit-server-mypracticaltools": {
"command": "npx",
"args": [
"-y",
"@practicaltools/reddit-mcp-server"
],
"env": {
"APIFY_API_TOKEN": "<APIFY_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"reddit-server-mypracticaltools": {
"command": "npx",
"args": [
"-y",
"@practicaltools/reddit-mcp-server"
],
"env": {
"APIFY_API_TOKEN": "<APIFY_API_TOKEN>"
}
}
}
}Environment variables
APIFY_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.