# CanaryGuard 402

> CanaryGuard 402 is a paid MCP server for security. Pay-per-call prompt-injection screening and sanitising API for AI agents, via x402. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, self-hosted
- **Website:** https://canaryguard-402.onrender.com
- **Repository:** https://github.com/ak10082247-max/canaryguard-402
- **MCP Registry name:** io.github.ak10082247-max/canaryguard-402
- **Categories:** security
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http canaryguard-402 https://canaryguard-402.onrender.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://canaryguard-402.onrender.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "canaryguard-402": {
      "url": "https://canaryguard-402.onrender.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "canaryguard-402": {
      "type": "http",
      "url": "https://canaryguard-402.onrender.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "canaryguard-402": {
      "serverUrl": "https://canaryguard-402.onrender.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "canaryguard-402": {
      "type": "http",
      "url": "https://canaryguard-402.onrender.com/mcp"
    }
  }
}
```

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/canaryguard-402
