cbp-guard
● Activeio.github.teddYTIgers/certbeforepay
Check an x402 payTo for scam/phishing and address-poisoning lookalikes before paying. $0.01/check.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"certbeforepay": {
"command": "npx",
"args": [
"-y",
"cbp-guard@0.1.3",
"mcp"
],
"env": {
"CBP_GUARD_PRIVATE_KEY": "<your CBP_GUARD_PRIVATE_KEY>"
}
}
}
}claude mcp add --env CBP_GUARD_PRIVATE_KEY='<your CBP_GUARD_PRIVATE_KEY>' --transport stdio certbeforepay -- npx -y cbp-guard@0.1.3 mcpcodex mcp add certbeforepay --env CBP_GUARD_PRIVATE_KEY='<your CBP_GUARD_PRIVATE_KEY>' -- npx -y cbp-guard@0.1.3 mcpcode --add-mcp '{"name":"certbeforepay","type":"stdio","command":"npx","args":["-y","cbp-guard@0.1.3","mcp"],"env":{"CBP_GUARD_PRIVATE_KEY":"<your CBP_GUARD_PRIVATE_KEY>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- CBP_GUARD_PRIVATE_KEYrequiredsecretPrivate key (0x + 64 hex) of YOUR wallet that pays for each check via x402 (USDC on Base). Use a low-balance wallet.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 3, 2026Looks healthy: cbp-guard is maintained, open source.
- Maintained
- Active
- Last commit 9 days ago (Nov 26, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.teddYTIgers/certbeforepay in the official MCP registry, version 0.1.3.
- Source
- Open source, MIT
- Public repository under the MIT licence, 0 stars, 0 forks.
- Runs
- On your machine
- A local npm package started by your client; it can reach whatever your user account can.
- Credentials
- 1 required
- Declared environment variables: CBP_GUARD_PRIVATE_KEY. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 9 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
0 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-teddytigers-certbeforepay?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-teddytigers-certbeforepay/report-badge.svg" alt="cbp-guard — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Dec 3, 2026TypeScriptaddress-poisoningagent-securityai-agentsbase-chainmcpmcp-serverusdcx402
From the README
cbp-guard cbp-guard checks the wallet your AI agent is about to pay, before it signs, and stops payments to known scam or lookalike wallets. Each wallet check is $0.01 in USDC on Base via x402. It has two parts: • A pre-sign hook for the official x402 v2 client (@x402/core, used by @x402/fetch and @x402/axios). It runs in onBeforePaymentCreation: before your agent signs a 402 payment, it asks CertBeforePay POST /v1/wallet/check about the payTo. • A stdio MCP server (npx cbp-guard mcp) with the tools walletcheck, gate and peerchallenge. What the guard does The defaults are fail-closed. Allowing a caution or a missing answer has to be switched on explicitly. A lookalike is an address that starts and ends like a known address (same first 4 and last 4 hex characters) but is a different address, a common address-poisoning trick. CertBeforePay compares against well-known addresses (such as USDC on Base) and against the addresses you pass as known_recipients (your address book or the payTo you used last time, up to 50). When the guard stops a payment, the error carries the verdict, the reasons and, for a lookalike, the matched address, its label and a note. The wallet check is a risk signal (scam/phishing lists and lookalikes), not an OFAC or sanctions screen, and not a guarantee. CertBeforePay itself never stops a payment; only this guard does, and only if you install it. Use the hook • Each wallet check is paid by x402 from your own wallet (the client you pass in), at $0.01.…
Read the full README on GitHub →Alternatives to cbp-guard
All cbp-guard alternatives →Best Security & Identity servers →Compare side by side →The most-starred Security & Identity servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| HOL Guard | 1,138 | Dec 2026 | Local / not checked |
| SonarQube MCP Server | 695 | Nov 2026 | Local / not checked |
| MCP Ssh Manager | 561 | Dec 2026 | Local / not checked |
| Security Detections | 530 | Nov 2026 | Local / not checked |
| MCPProxy | 434 | Nov 2026 | Local / not checked |
cbp-guard: questions people ask
- Is cbp-guard a remote or a local MCP server?
- According to its entry in the official MCP registry, cbp-guard ships as a local package (npm) that your client starts on your machine.
- Does cbp-guard need an API key?
- Its registry entry declares one required environment variable: CBP_GUARD_PRIVATE_KEY. The config on this page shows where each goes.
- Is cbp-guard safe to use?
- Looks healthy: cbp-guard is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 1 required. Serverdex check of Dec 3, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is cbp-guard still maintained?
- Active: the repository's last commit 9 days ago. Last push Nov 26, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Dec 3, 2026.
- How do I add cbp-guard to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Security & Identity servers
Browse all Security & Identity →Speedle
Production-ready
MCP server for self-hosted Speedle and Speedle Cloud: authorization checks and policy management
LinkPilot
Production-ready
Send a password or API key as a link that opens once. Encrypted client-side, so we cannot read it.
ZinjaInk: CISA Known Exploited Vulnerability & Vendor Leads
Production-ready
Monitor CISA KEV exploited vulnerabilities with affected vendors, products, and patch due dates.
A11y Audit (ADA Lawsuit-Risk Scan)
Production-ready
Scans any URL for the WCAG failures behind ADA lawsuits. $1.50/call via x402.
MailAuth Audit (Email Deliverability)
Production-ready
Audits a domain's SPF, DKIM, DMARC and MX for spoofing risk and deliverability. $1.50/call via x402.
Security Headers + TLS Audit
Production-ready
Audits security headers + TLS (HSTS, CSP, cert, cookies) for any site. $1.50/call via x402.
Add the badge to your site
Show visitors that cbp-guard is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-teddytigers-certbeforepay?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="cbp-guard — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-teddytigers-certbeforepay?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-teddytigers-certbeforepay) [](https://serverdex.io/install/vscode/io-github-teddytigers-certbeforepay) [](https://serverdex.io/install/claude-code/io-github-teddytigers-certbeforepay)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-teddytigers-certbeforepay"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-teddytigers-certbeforepay"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-teddytigers-certbeforepay"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).