Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-odaiameera-scamgate": {
"command": "uvx",
"args": [
"scamgate"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "0",
"SCAMGATE_URLHAUS_AUTH_KEY": "<YOUR_VALUE>",
"SCAMGATE_RDAP": "off",
"XDG_CACHE_HOME": "<VALUE>",
"SCAMGATE_CONFIG": "<VALUE>",
"SCAMGATE_NO_FEEDS": "<VALUE>",
"SCAMGATE_BLOCKLIST": "<VALUE>",
"SCAMGATE_CACHE_DIR": "$XDG_CACHE_HOME/scamgate or ~/.cache/scamgate",
"SCAMGATE_STATE_DIR": "~/.local/state/scamgate"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| SCAMGATE_AUTO_UPDATE | No | When set to 1, a long-running `scamgate serve` refreshes the feeds by itself (only when the lists are 6 hours old). Set to 0 to turn it off. Default: 0 |
| SCAMGATE_URLHAUS_AUTH_KEY secret | No | abuse.ch Auth-Key required to enable the URLhaus feed. |
| SCAMGATE_RDAP | No | Controls domain-age (RDAP) lookups. 'off' (default): no lookups, the rule never fires. 'cache': uses ages already cached; never goes online. 'live': looks up unknown domains (3 s timeout) and caches the answer. Default: off |
| XDG_CACHE_HOME | No | Base directory used to locate the feed cache ($XDG_CACHE_HOME/scamgate) when SCAMGATE_CACHE_DIR is not set. |
| SCAMGATE_CONFIG | No | Path to your own copy of rules.yaml to override weights, thresholds, brand lists and word lists. |
| SCAMGATE_NO_FEEDS | No | When set to 'warn', running blind (no feeds cached) turns the hook's link approval into a warning instead. |
| SCAMGATE_BLOCKLIST | No | Path to your own blocklist file instead of the bundled src/scamgate/data/blocklist.txt. |
| SCAMGATE_CACHE_DIR | No | Directory where the feed cache lives. Falls back to $XDG_CACHE_HOME/scamgate, else ~/.cache/scamgate. Default: $XDG_CACHE_HOME/scamgate or ~/.cache/scamgate |
| SCAMGATE_STATE_DIR | No | Directory where the ask/deny log, signing key and payee history are stored. Default: ~/.local/state/scamgate |