SRA-RiskGate
io.github.sriram1983007-dev/sra-riskgate-mcp
Serveur MCP Non testé
The pre-sign firewall for AI agents that pay: approve, hold or reject stablecoin and x402 payments.
Fiche technique
- Auteur
- sriram1983007-dev (espace de noms du registre)
- Dépôt
- github.com/sriram1983007-dev/sra-riskgate-mcp
- Site
- —
- Version
- 0.20.0
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- sra-riskgate-mcp 0.20.0 pypi stdio
- Outils
- —
- Catégories
- IA, agents et mémoire, Finance et paiement
- Dernière mise à jour
- 22 nov. 2026
- Publication
- 22 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : pas de test réussi pas encore
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp)<a href="https://latlas.dev/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp)<a href="https://latlas.dev/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp"><img src="https://latlas.dev/badge/fiche/io.github.sriram1983007-dev/sra-riskgate-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet sra-riskgate-mcp (PyPI). Formats repris de la documentation de chaque client.
claude mcp add-json sra-riskgate-mcp '{"command":"uvx","args":["sra-riskgate-mcp==0.20.0"]}'{
"mcpServers": {
"sra-riskgate-mcp": {
"command": "uvx",
"args": ["sra-riskgate-mcp==0.20.0"]
}
}
}{
"mcpServers": {
"sra-riskgate-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["sra-riskgate-mcp==0.20.0"]
}
}
}{
"mcpServers": {
"sra-riskgate-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["sra-riskgate-mcp==0.20.0"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"sra-riskgate-mcp": {
"command": "uvx",
"args": ["sra-riskgate-mcp==0.20.0"]
}
}
}{
"mcpServers": {
"sra-riskgate-mcp": {
"command": "uvx",
"args": ["sra-riskgate-mcp==0.20.0"]
}
}
}[mcp_servers.sra-riskgate-mcp]
command = "uvx"
args = ["sra-riskgate-mcp==0.20.0"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| SRA_BASE_URL | non | OpenAI-compatible endpoint serving SRA-RiskGate-4B (default: Ollama at http://localhost:11434/v1) |
| SRA_MODEL | non | Model name on that endpoint (default: sriram1983007/sra-riskgate) |
| SRA_MAX_AMOUNT | non | Rule ceiling in whole tokens of the stablecoin paid; larger payments are held (default: 1000) |
| SRA_ALLOWED_TOKENS | non | Stablecoins the payment checks may approve: USDC, USDT, USDB, USDG (comma-separated). Default: USDC only |
| SRA_EXTRA_TOKENS | non | US-dollar stablecoins the SDK does not list, as JSON: [{"symbol", "chain_id", "contract", "decimals", "eip3009"}]. Enable payments in them with SRA_ALLOWED_TOKENS |
| SRA_EXTRA_TOKENS_FILE | non | Path to a JSON file in the SRA_EXTRA_TOKENS format |
| SRA_NEW_COUNTERPARTY | non | hold (default) or allow: allow keeps the look-alike check without holding every new payee |
| SRA_RECEIPT_CHAIN_FILE | non | With SRA_RECEIPT_KEY: a JSON Lines file where every receipt is linked to the one before it |
| SRA_RPC_URL | non (secret) | JSON-RPC endpoint for scan_wallet_for_poisoning (0.20.0+); a server setting the agent cannot change. May contain an API key. |
| SRA_LOOKALIKE_CHECK | non | standard (default) or strict: strict also rejects a payee imitating a known one by 3 characters at each end |
| SRA_KNOWN_RECIPIENTS | non | Verified payee addresses, comma-separated; payments to anyone else are held (default: check off) |
| SRA_KNOWN_RECIPIENTS_FILE | non | File with one verified payee address per line, added to SRA_KNOWN_RECIPIENTS |
| SRA_BLOCKED_ADDRESSES | non | Addresses to always reject, comma-separated |
| SRA_BLOCKED_ADDRESSES_FILE | non | File with one address to reject per line, added to SRA_BLOCKED_ADDRESSES |
| SRA_MAX_AUTH_VALIDITY_SECONDS | non | Longest an x402 authorization may stay valid before it is held (default: 3600) |
| SRA_API_KEY | non (secret) | API key for the model endpoint, if it needs one |
| SRA_TIMEOUT | non | Seconds to wait for the model (default: 120) |
| SRA_DEPEG_HOLD_PCT | non | Hold payments when USDC is this many percent off $1.00 (default: 1) |
| SRA_DEPEG_REJECT_PCT | non | Reject payments when USDC is this many percent off $1.00 (default: 5) |
| SRA_MAX_GATEWAY_VALIDITY_SECONDS | non | Longest a Circle Gateway batched payment may stay valid before it is held (default: 691200, 8 days) |
| SRA_CIRCLE_WALLETS | non | Circle Wallets the agent may use, as walletId=0xaddress pairs, comma-separated; any other wallet is held |
| SRA_CIRCLE_USDC_TOKEN_IDS | non | Circle token ids confirmed to be USDC, for transfers by tokenId, comma-separated |
| SRA_EXPECTED_DELEGATES | non | EIP-7702 delegate contracts your wallet uses on purpose, comma-separated; with account_code, any other delegation is held |
| SRA_EXPECTED_DELEGATES_FILE | non | File with one expected delegate address per line, added to SRA_EXPECTED_DELEGATES |
| SRA_EXPECTED_PAYMASTERS | non | Paymasters your smart account uses on purpose (comma/space separated). When set, a UserOperation with any other paymaster is held. |
| SRA_EXPECTED_PAYMASTERS_FILE | non | File with one expected paymaster address per line. |
| SRA_EXPECTED_SPENDERS | non | Contracts your wallet approved on purpose (comma/space separated). check_allowances holds an allowance to any other spender. |
| SRA_EXPECTED_SPENDERS_FILE | non | File with one expected spender address per line. |
| SRA_MAX_ALLOWANCE | non | The most any one spender may be allowed, in whole tokens. check_allowances holds anything larger. |
| SRA_ALLOW_ACCOUNT_DEPLOYMENT | non | Set to 1 to allow a UserOperation that also deploys the smart account (initCode/factory). Default: held. |
| SRA_CHAINALYSIS_API_KEY | non (secret) | Chainalysis sanctions API key: screen sender and payee with Chainalysis |
| SRA_TRM_API_KEY | non (secret) | TRM Labs sanctions API key: screen sender and payee with TRM |
| SRA_TRM_KEYLESS | non | Set to 1 to screen with TRM's free keyless access (no key) |
| SRA_RANGE_API_KEY | non (secret) | Range Risk API key: screen sender and payee with Range |
| SRA_WEBACY_API_KEY | non (secret) | Webacy API key: screen sender and payee with Webacy |
| SRA_WEBACY_HIGH_RISK_SCORE | non | Webacy overallRisk above which a payment counts as high risk (default: 50, Webacy's High band) |
| SRA_ELLIPTIC_API_KEY | non (secret) | Elliptic API key: screen sender and payee with Elliptic (needs SRA_ELLIPTIC_API_SECRET) |
| SRA_ELLIPTIC_API_SECRET | non (secret) | Elliptic API secret (Base64), used to sign Elliptic requests |
| SRA_ELLIPTIC_HIGH_RISK_SCORE | non | Elliptic risk_score (0-10) that counts as high risk and holds (default: 5) |
| SRA_ELLIPTIC_SEVERE_RISK_SCORE | non | Elliptic risk_score (0-10) that counts as severe and rejects (default: 10) |
| SRA_ELLIPTIC_UNSEEN_IS_CLEAN | non | Set to 1 to pass addresses Elliptic has never seen on chain (default: held) |
| SRA_SCREENING_HOLD_AT | non | Provider risk level that holds a payment: none, low, medium, high, severe (default: high) |
| SRA_SCREENING_REJECT_AT | non | Provider risk level that rejects a payment (default: severe) |
| SRA_SCREENING_TIMEOUT | non | Seconds per screening provider call (default: 10) |
| SRA_POLICY_FILE | non | Path to a JSON or YAML policy file (sra-riskgate 1.8.0 format): limits, payees, tokens, screening, budgets, anomalies |
| SRA_BUDGET_TOTAL | non | Rolling budget per agent wallet: approved payments above this total in the window are held |
| SRA_BUDGET_PER_PAYEE | non | Rolling budget per payee for each agent wallet |
| SRA_BUDGET_WINDOW_HOURS | non | Budget window in hours (default: 24) |
| SRA_MAX_PAYMENTS_PER_HOUR | non | Hold a payment once the wallet made this many approved payments in the last hour |
| SRA_AMOUNT_SPIKE_FACTOR | non | Hold a payment larger than this many times the wallet's median payment to that payee |
| SRA_LEDGER_FILE | non | Where approved payments are recorded for budgets (JSON Lines); default: memory only |
| SRA_RECEIPT_KEY | non (secret) | Secret (hex or base64, at least 16 bytes) to sign a receipt for every payment decision |
| SRA_RECEIPT_KEY_ID | non | Name recorded in receipts for the signing key (default: sra-riskgate-mcp) |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[SRA-RiskGate — L’Atlas](https://latlas.dev/mcp/io.github.sriram1983007-dev/sra-riskgate-mcp)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.