{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.sriram1983007-dev/sra-riskgate-mcp","description":"The pre-sign firewall for AI agents that pay: approve, hold or reject stablecoin and x402 payments.","title":"SRA-RiskGate","repository":{"url":"https://github.com/sriram1983007-dev/sra-riskgate-mcp","source":"github"},"version":"0.20.0","packages":[{"registryType":"pypi","identifier":"sra-riskgate-mcp","version":"0.20.0","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"OpenAI-compatible endpoint serving SRA-RiskGate-4B (default: Ollama at http://localhost:11434/v1)","format":"string","name":"SRA_BASE_URL"},{"description":"Model name on that endpoint (default: sriram1983007/sra-riskgate)","format":"string","name":"SRA_MODEL"},{"description":"Rule ceiling in whole tokens of the stablecoin paid; larger payments are held (default: 1000)","format":"string","name":"SRA_MAX_AMOUNT"},{"description":"Stablecoins the payment checks may approve: USDC, USDT, USDB, USDG (comma-separated). Default: USDC only","format":"string","name":"SRA_ALLOWED_TOKENS"},{"description":"US-dollar stablecoins the SDK does not list, as JSON: [{\"symbol\", \"chain_id\", \"contract\", \"decimals\", \"eip3009\"}]. Enable payments in them with SRA_ALLOWED_TOKENS","format":"string","name":"SRA_EXTRA_TOKENS"},{"description":"Path to a JSON file in the SRA_EXTRA_TOKENS format","format":"string","name":"SRA_EXTRA_TOKENS_FILE"},{"description":"hold (default) or allow: allow keeps the look-alike check without holding every new payee","format":"string","name":"SRA_NEW_COUNTERPARTY"},{"description":"With SRA_RECEIPT_KEY: a JSON Lines file where every receipt is linked to the one before it","format":"filepath","name":"SRA_RECEIPT_CHAIN_FILE"},{"description":"JSON-RPC endpoint for scan_wallet_for_poisoning (0.20.0+); a server setting the agent cannot change. May contain an API key.","format":"string","isSecret":true,"name":"SRA_RPC_URL"},{"description":"standard (default) or strict: strict also rejects a payee imitating a known one by 3 characters at each end","format":"string","name":"SRA_LOOKALIKE_CHECK"},{"description":"Verified payee addresses, comma-separated; payments to anyone else are held (default: check off)","format":"string","name":"SRA_KNOWN_RECIPIENTS"},{"description":"File with one verified payee address per line, added to SRA_KNOWN_RECIPIENTS","format":"string","name":"SRA_KNOWN_RECIPIENTS_FILE"},{"description":"Addresses to always reject, comma-separated","format":"string","name":"SRA_BLOCKED_ADDRESSES"},{"description":"File with one address to reject per line, added to SRA_BLOCKED_ADDRESSES","format":"string","name":"SRA_BLOCKED_ADDRESSES_FILE"},{"description":"Longest an x402 authorization may stay valid before it is held (default: 3600)","format":"string","name":"SRA_MAX_AUTH_VALIDITY_SECONDS"},{"description":"API key for the model endpoint, if it needs one","format":"string","isSecret":true,"name":"SRA_API_KEY"},{"description":"Seconds to wait for the model (default: 120)","format":"string","name":"SRA_TIMEOUT"},{"description":"Hold payments when USDC is this many percent off $1.00 (default: 1)","format":"string","name":"SRA_DEPEG_HOLD_PCT"},{"description":"Reject payments when USDC is this many percent off $1.00 (default: 5)","format":"string","name":"SRA_DEPEG_REJECT_PCT"},{"description":"Longest a Circle Gateway batched payment may stay valid before it is held (default: 691200, 8 days)","format":"string","name":"SRA_MAX_GATEWAY_VALIDITY_SECONDS"},{"description":"Circle Wallets the agent may use, as walletId=0xaddress pairs, comma-separated; any other wallet is held","format":"string","name":"SRA_CIRCLE_WALLETS"},{"description":"Circle token ids confirmed to be USDC, for transfers by tokenId, comma-separated","format":"string","name":"SRA_CIRCLE_USDC_TOKEN_IDS"},{"description":"EIP-7702 delegate contracts your wallet uses on purpose, comma-separated; with account_code, any other delegation is held","format":"string","name":"SRA_EXPECTED_DELEGATES"},{"description":"File with one expected delegate address per line, added to SRA_EXPECTED_DELEGATES","format":"string","name":"SRA_EXPECTED_DELEGATES_FILE"},{"description":"Paymasters your smart account uses on purpose (comma/space separated). When set, a UserOperation with any other paymaster is held.","format":"string","name":"SRA_EXPECTED_PAYMASTERS"},{"description":"File with one expected paymaster address per line.","format":"string","name":"SRA_EXPECTED_PAYMASTERS_FILE"},{"description":"Contracts your wallet approved on purpose (comma/space separated). check_allowances holds an allowance to any other spender.","format":"string","name":"SRA_EXPECTED_SPENDERS"},{"description":"File with one expected spender address per line.","format":"string","name":"SRA_EXPECTED_SPENDERS_FILE"},{"description":"The most any one spender may be allowed, in whole tokens. check_allowances holds anything larger.","format":"string","name":"SRA_MAX_ALLOWANCE"},{"description":"Set to 1 to allow a UserOperation that also deploys the smart account (initCode/factory). Default: held.","format":"string","name":"SRA_ALLOW_ACCOUNT_DEPLOYMENT"},{"description":"Chainalysis sanctions API key: screen sender and payee with Chainalysis","format":"string","isSecret":true,"name":"SRA_CHAINALYSIS_API_KEY"},{"description":"TRM Labs sanctions API key: screen sender and payee with TRM","format":"string","isSecret":true,"name":"SRA_TRM_API_KEY"},{"description":"Set to 1 to screen with TRM's free keyless access (no key)","format":"string","name":"SRA_TRM_KEYLESS"},{"description":"Range Risk API key: screen sender and payee with Range","format":"string","isSecret":true,"name":"SRA_RANGE_API_KEY"},{"description":"Webacy API key: screen sender and payee with Webacy","format":"string","isSecret":true,"name":"SRA_WEBACY_API_KEY"},{"description":"Webacy overallRisk above which a payment counts as high risk (default: 50, Webacy's High band)","format":"string","name":"SRA_WEBACY_HIGH_RISK_SCORE"},{"description":"Elliptic API key: screen sender and payee with Elliptic (needs SRA_ELLIPTIC_API_SECRET)","format":"string","isSecret":true,"name":"SRA_ELLIPTIC_API_KEY"},{"description":"Elliptic API secret (Base64), used to sign Elliptic requests","format":"string","isSecret":true,"name":"SRA_ELLIPTIC_API_SECRET"},{"description":"Elliptic risk_score (0-10) that counts as high risk and holds (default: 5)","format":"string","name":"SRA_ELLIPTIC_HIGH_RISK_SCORE"},{"description":"Elliptic risk_score (0-10) that counts as severe and rejects (default: 10)","format":"string","name":"SRA_ELLIPTIC_SEVERE_RISK_SCORE"},{"description":"Set to 1 to pass addresses Elliptic has never seen on chain (default: held)","format":"string","name":"SRA_ELLIPTIC_UNSEEN_IS_CLEAN"},{"description":"Provider risk level that holds a payment: none, low, medium, high, severe (default: high)","format":"string","name":"SRA_SCREENING_HOLD_AT"},{"description":"Provider risk level that rejects a payment (default: severe)","format":"string","name":"SRA_SCREENING_REJECT_AT"},{"description":"Seconds per screening provider call (default: 10)","format":"string","name":"SRA_SCREENING_TIMEOUT"},{"description":"Path to a JSON or YAML policy file (sra-riskgate 1.8.0 format): limits, payees, tokens, screening, budgets, anomalies","format":"string","name":"SRA_POLICY_FILE"},{"description":"Rolling budget per agent wallet: approved payments above this total in the window are held","format":"string","name":"SRA_BUDGET_TOTAL"},{"description":"Rolling budget per payee for each agent wallet","format":"string","name":"SRA_BUDGET_PER_PAYEE"},{"description":"Budget window in hours (default: 24)","format":"string","name":"SRA_BUDGET_WINDOW_HOURS"},{"description":"Hold a payment once the wallet made this many approved payments in the last hour","format":"string","name":"SRA_MAX_PAYMENTS_PER_HOUR"},{"description":"Hold a payment larger than this many times the wallet's median payment to that payee","format":"string","name":"SRA_AMOUNT_SPIKE_FACTOR"},{"description":"Where approved payments are recorded for budgets (JSON Lines); default: memory only","format":"string","name":"SRA_LEDGER_FILE"},{"description":"Secret (hex or base64, at least 16 bytes) to sign a receipt for every payment decision","format":"string","isSecret":true,"name":"SRA_RECEIPT_KEY"},{"description":"Name recorded in receipts for the signing key (default: sra-riskgate-mcp)","format":"string","name":"SRA_RECEIPT_KEY_ID"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-11-22T06:04:59.372609Z","publishedAt":"2026-11-22T06:04:59.372609Z","updatedAt":"2026-11-22T06:04:59.372609Z","isLatest":true}}}
