Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Offline scam check for agents: verify links and payments before acting (allow, ask or deny).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SCAMGATE_AUTO_UPDATE, SCAMGATE_URLHAUS_AUTH_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"scamgate": {
"command": "uvx",
"args": [
"scamgate",
"serve"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "your-value",
"SCAMGATE_URLHAUS_AUTH_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add scamgate --env SCAMGATE_AUTO_UPDATE=your-value --env SCAMGATE_URLHAUS_AUTH_KEY=your-value -- uvx scamgate serve运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"scamgate": {
"command": "uvx",
"args": [
"scamgate",
"serve"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "your-value",
"SCAMGATE_URLHAUS_AUTH_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"scamgate": {
"type": "stdio",
"command": "uvx",
"args": [
"scamgate",
"serve"
],
"env": {
"SCAMGATE_AUTO_UPDATE": "your-value",
"SCAMGATE_URLHAUS_AUTH_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SCAMGATE_AUTO_UPDATE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 odaiameera 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SCAMGATE_URLHAUS_AUTH_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.3)于12天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, First Sale Scout
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Playbooks and a 14-day checklist for founders winning their first paying customers.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A self-hosted scam check for AI agents: verify links and payments before the agent acts.
Website and docs: https://odaiameera.github.io/scamgate/
AI agents now click links and make payments for people, and scammers follow the money. Text planted in pages, listings or messages can steer an agent to a fake shop, a credential prompt or a "pay by bank transfer" request. Agent payment rails secure *the payment* (tokens, limits, authentication). They don't judge whether the payee or the site is a scam. scamgate does that check, runs locally as an MCP server, and makes no network calls while checking.
Link rules: known-bad-link feeds, your own blocklist, brand look-alikes (typosquats, homoglyphs, brand names on unofficial domains, real domains used as a prefix like paypal.com.secure-login.xyz), addresses hidden before an @ (paypal.com@evil.example), raw IP hosts, punycode, cheap abused TLDs, and pages asking for a seed phrase or a login the task doesn't need. A link it can't read (an invalid site name, a javascript: or data: link, an oversized address) asks: it never gets an allow.
Payment rules: new payee plus urgency, changed bank details, irreversible methods (crypto, gift cards, transfer to a new payee), sellers insisting on a method, over budget, pressure or secrecy phrases, and Verification of Payee results.
Requires Python 3.11+.
# with uv
git clone https://github.com/odaiameera/scamgate.git cd scamgate uv sync uv run scamgate update-feeds # download the known-bad-link feeds into ~/.cache/scamgate
uv tool install scamgate==0.3.3 # or: pip install scamgate==0.3.3 scamgate update-feeds
Using Claude Code? Install the Claude Code plugin instead: it brings the hook, the MCP tools and the feed refresh in one step.
Check a link (real output):
$ uv run scamgate check-url "https://paypa1.com/login" --intent "buy a ticket"
{ "decision": "deny", "risk_score": 100, "reasons": [ { "rule_id": "url.lookalike_brand", "explanation": "'paypa1.com' disguises 'paypal' with look-alike characters ('paypa1'). The real site is paypal.com.", "weight": 60 }, { "rule_id": "url.intent_mismatch", "explanation": "The task is 'buy a ticket', but the link goes to a 'login' page. A credential prompt the task doesn't need is a classic phishing step.", "weight": 45 } ], "summary": "Do not proceed with this link. Main concern: 'paypa1.com' disguises 'paypal' with look-alike characters ('paypa1'). The real site is paypal.com.", "checked_host": "paypa1.com", "warnings": [], "advisory": "scamgate is advisory. It can miss scams and flag legitimate actions; a human should make the final call on anything flagged." }
(warnings is empty once feeds are cached. Before update-feeds it says no feed is cached.)
A link listed in a feed comes back with the feed named in the reason:
{
"rule_id": "url.known_bad_feed", "explanation": "This exact link is listed as phishing/malware by OpenPhish community feed.", "weight": 100 }
Other commands: scamgate feeds-status, scamgate bench, scamgate serve (MCP over stdio), plus hook, review, promote and record-payment (see Enforce it with a hook).
The easiest way for Claude Code. One install adds the enforcing hook, the check_url, check_payment and update_feeds tools, and a refresh of the phishing lists every 6 hours. It runs scamgate from PyPI with uvx scamgate==0.3.3, so it needs uv, and Claude Code v2.1.295 or later so that a hook that can't start blocks instead of letting calls through.
/plugin install scamgate --marketplace odaiameera/scamgate
On Claude Code before 2.1.275, run /plugin marketplace add odaiameera/scamgate, then /plugin install scamgate@scamgate. What the plugin runs, downloads and stores: claude-plugin/README.md.
Replace /path/to/scamgate with your checkout, or run the PyPI release with uvx scamgate==0.3.3 serve.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "scamgate": { "command": "uv", "args": ["--directory", "/path/to/scamgate", "run", "scamgate", "serve"] } } }
Claude Code:
claude mcp add scamgate -- uv --directory /path/to/scamgate run scamgate serve
Hermes (~/.hermes/config.yaml):
mcp_servers:
scamgate: command: "uv" args: ["--directory", "/path/to/scamgate", "run", "scamgate", "serve"]
Then tell the agent: *"Call check_url before opening any link and check_payment before any payment. On ask, stop and show me the reasons. On deny, don't proceed."*
check_url(url: str, intent: str | None = None) -> Verdict
update_feeds() -> {updated, failed, not_configured, skipped, summary}
check_payment(payee_name: str, payee_account: str, amount: float, currency: str, method: "card" | "bank_transfer" | "crypto" | "gift_card" | "other", context_text: str | None = None, is_new_payee: bool | None = None, bank_details_changed: bool | None = None, budget: float | None = None, vop_result: "match" | "close_match" | "no_match" | "unavailable" | None = None) -> Verdict
Verdict = decision, risk_score, reasons[] (rule_id, explanation, weight), summary, checked_host (for links: the host a browser would open), warnings[], advisory. Both check tools are marked read-only and publish this as their output schema, so MCP clients get it as structured content. update_feeds takes no arguments: it downloads the default lists from their fixed sources, at most once an hour, so an agent can ask for a refresh but can't choose what lands in the cache.
The MCP tools only work when the agent chooses to call them, and a prompt injection can tell it not to. The hook moves the check into the harness: the agent can't skip it.
scamgate-hook (or scamgate hook) reads one hook event as JSON on stdin and writes a decision. It speaks Hermes shell hooks and Claude Code PreToolUse hooks.
evilsh%6fp.com, http://3405803781). deny blocks the call, ask sends it to you for approval. One bad link in a batch blocks the whole batch.check_payment, with your payee history, whatever the agent claims. deny blocks, ask sends it to you. A payment whose payee or amount can't be read, crypto CLIs (cast send, bitcoin-cli sendtoaddress, solana transfer…) and write calls to payment APIs (Stripe, PayPal, Wise, Revolut Business…) go to you. Each approval covers one account and amount.… | base64 -d | bash, exec(b64decode(…)), curl … | sh, powershell -enc) goes to you, network keyword or not.curl https://example.org; curl "$URL" still asks): variables, $(…), string-built, base64/hex-decoded or reversed links, requests.get(open(…).read()), installs of named packages, git clone, new git remotes. In code, only a literal URL counts as readable.pip install -r requirements.txt, uv sync, npm ci), git push/pull/fetch to remotes you already have, and commands that only read text (grep requests.get src/). Any URL in them is still checked.SCAMGATE_NO_FEEDS=warn turns that into a warning). Stale feeds are mentioned in every ask and block.find -exec, rsync, patch) to scamgate's own code, state and feed cache and to the hook config, plus commands or code that revoke the hook, remove the server, promote rules, record payees or call scamgate's state APIs directly.rule_key; scamgate's keys include the host and the rules that fired (or a hash of the hidden command), so one "always" can't pre-approve other destinations. Still, pick "once" for asks you don't expect to repeat.shlex), so a padded command can't tie it up: a 2,000,000-character quoted command takes about 5 s on one Windows machine, down from over 200 s. Decisions are unchanged.hook.handle() is the only enforcement function. The shell hook and the Hermes plugin both call it. MCP does not.
dev.check_url / check_payment tools return silence, so asking the gate is not itself blocked.promote / record-payment.approvals.mode off, --yolo, plugins uninstall, --safe-mode, --dangerously-skip-permissions); writes to files other tools run; cron scripts under $HERMES_HOME/scripts; script files named by bash / `py只显示了开头部分;其余内容请在仓库中阅读