CanaryGuard 402
Pay-per-call prompt-injection screening and sanitising API for AI agents, via x402
- Pricing
- Paid
- Platforms
- API, self-hosted
- Runs
- Remotely
- Version
- 1.0.2
- Listing updated
- 2 days ago
About CanaryGuard 402
CanaryGuard 402 is a paid MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
CanaryGuard screens untrusted text with deterministic, pattern-based rules before an agent uses it. A call to POST /v1/sanitize returns status, an injection_detected flag and the sanitized_content; the site cautions that screening is pattern based, that a clean result is not a guarantee, and that it should sit beside tool permissions and application controls.
The README counts 28 REST endpoints at $0.010 to $0.100 USDC and 26 remote MCP tools at /mcp, payable through x402 on Base or Solana without gas. A free preview endpoint, a demo sanitizer and a live alerts feed need no wallet or key. The site also mentions Apify pay-per-event at $0.003 per check, an ElizaOS plugin, a Coinbase AgentKit action provider and a TypeScript client that handles x402 payment.
You can also self-host it on Node 20 or later. If a paid response is lost, the site advises recovering the original authorization and input rather than paying again.
Install
Run in a terminal
claude mcp add --transport http canaryguard-402 https://canaryguard-402.onrender.com/mcpAdd to Settings → Connectors → Add custom connector
https://canaryguard-402.onrender.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"canaryguard-402": {
"url": "https://canaryguard-402.onrender.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"canaryguard-402": {
"type": "http",
"url": "https://canaryguard-402.onrender.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"canaryguard-402": {
"serverUrl": "https://canaryguard-402.onrender.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"canaryguard-402": {
"type": "http",
"url": "https://canaryguard-402.onrender.com/mcp"
}
}
}What it does
- Injection screening
- Detects known prompt-injection patterns in untrusted text.
- Sanitised output
- Returns the cleaned text so you can inspect what was removed.
- Free preview
- A preview endpoint works without a wallet or API key.
- x402 payments
- Pay per call in USDC on Base or Solana.
- Agent SDKs
- Packages for ElizaOS, Coinbase AgentKit and TypeScript.
- Self-hosting
- Runs on Node 20+ in a container or your own host.
Good for
- Screen scraped web text before it enters an agent's context
- Check tool output for injection attempts
- Try sanitisation free before wiring up payments
- Add a pre-execution check to a Coinbase AgentKit agent
Pricing
Paid
Pay per call: $0.010-$0.100 USDC; free preview available
Prices change. Check canaryguard-402.onrender.com before you buy.
CanaryGuard 402 FAQ
Does a clean result mean text is safe?
No. The site says screening is pattern based and not a guarantee against every attack.
What does a call cost?
The README lists $0.010 to $0.100 USDC per endpoint; Apify pay-per-event is $0.003 per check.
Can I try it free?
Yes, via the free preview and demo endpoints with no wallet.
Which chains work?
Base mainnet and Solana mainnet.
Is CanaryGuard 402 free?
No. CanaryGuard 402 is a paid product.
How do I add CanaryGuard 402 to Claude Code?
Run this command in your terminal: claude mcp add --transport http canaryguard-402 https://canaryguard-402.onrender.com/mcp
What are the best alternatives to CanaryGuard 402?
The closest alternatives to CanaryGuard 402 are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to CanaryGuard 402

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security