← Index

SRA-RiskGate

io.github.sriram1983007-dev/sra-riskgate-mcpv0.20.0Finance & Payments

The pre-sign firewall for AI agents that pay: approve, hold or reject stablecoin and x402 payments.

The current version, v0.20.0, was published to the official MCP registry on 2026-11-22. It is distributed as sra-riskgate-mcp on PyPI, filed under Finance & Payments by this index, and declares 53 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.

In-path gate · all MCP tools

Using SRA-RiskGate in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

uv tool install mcpindex-gate && mcpindex-config-wire
Trust verdict · v1 advisory · method
REVIEWstatus: STALEfresh until 2026-11-07 00:02 UTC
screened 2026-10-08tier: scannedgranularity: description-levelsource: registry

Semantic screen found no manipulation pattern in the description. Conformance probe not yet run.

mcpindex.integrity.descriptionpassINFO

evidence“Normal payment check tool”via static_description

Limits of this verdict
  • - Semantic screen only - the deterministic conformance probe has not run on this server
  • - Confidence is reported but not yet calibrated (v1)
  • - Screen reads the tool description, not the live behavior
  • - advisory
  • - registry description only no input schema
  • - screen model 8b
  • - Past its freshness window - we could not re-confirm this listing
  • - The description this screen assessed is no longer the one published
  • - The registry listing (version, packages, links) changed after this screen ran - the description we assessed did not

Semantic screen: an LLM judge reads the tool description for hidden instructions (status PARTIAL). A pass means the description is not lying, not that the tool is safe: a high-capability tool with an honest description still warrants caution. The deterministic conformance probe has not been run on this server yet, so the screen here is semantic-only. Posture: advisory. Confidences are reported but not yet calibrated (calibrated=false at v1). Full verdict history is not shown on this page.

Own this server? Test a description on the public screen → It is a separate check from the verdict above, so the two can differ.

That verdict was true at screening time (snapshot 2026-11-26).

Contracts can change after screening, with no version bump. The gate pins SRA-RiskGate’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.

See your first HOLD in 2 minutes →

Related: how to trust an MCP server · screen before install · silent contract drift

Cite this record

People vet a server before wiring it in. One line on your project site or docs answers that with an independent record: screening verdict, registry provenance, contract drift history. It stays current as new screens and drift events land.

Markdown
[Independent trust record for SRA-RiskGate](https://mcpindex.ai/server/io-github-sriram1983007-dev-sra-riskgate-mcp) - screening verdict, registry provenance, and contract drift monitoring.
HTML
<a href="https://mcpindex.ai/server/io-github-sriram1983007-dev-sra-riskgate-mcp">Independent trust record for SRA-RiskGate</a> - screening verdict, registry provenance, and contract drift monitoring.
Embed this badge

A live verdict badge for your README or listing. It reflects the current screen, links back here, and updates when the verdict does.

Markdown
[![mcpindex](https://mcpindex.ai/api/v1/badge/io-github-sriram1983007-dev-sra-riskgate-mcp)](https://mcpindex.ai/server/io-github-sriram1983007-dev-sra-riskgate-mcp)
HTML
<a href="https://mcpindex.ai/server/io-github-sriram1983007-dev-sra-riskgate-mcp"><img src="https://mcpindex.ai/api/v1/badge/io-github-sriram1983007-dev-sra-riskgate-mcp" alt="mcpindex verdict" height="20" /></a>
Environment variables
SRA_BASE_URL

OpenAI-compatible endpoint serving SRA-RiskGate-4B (default: Ollama at http://localhost:11434/v1)

SRA_MODEL

Model name on that endpoint (default: sriram1983007/sra-riskgate)

SRA_MAX_AMOUNT

Rule ceiling in whole tokens of the stablecoin paid; larger payments are held (default: 1000)

SRA_ALLOWED_TOKENS

Stablecoins the payment checks may approve: USDC, USDT, USDB, USDG (comma-separated). Default: USDC only

SRA_EXTRA_TOKENS

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

Path to a JSON file in the SRA_EXTRA_TOKENS format

SRA_NEW_COUNTERPARTY

hold (default) or allow: allow keeps the look-alike check without holding every new payee

SRA_RECEIPT_CHAIN_FILE

With SRA_RECEIPT_KEY: a JSON Lines file where every receipt is linked to the one before it

SRA_RPC_URL
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

standard (default) or strict: strict also rejects a payee imitating a known one by 3 characters at each end

SRA_KNOWN_RECIPIENTS

Verified payee addresses, comma-separated; payments to anyone else are held (default: check off)

SRA_KNOWN_RECIPIENTS_FILE

File with one verified payee address per line, added to SRA_KNOWN_RECIPIENTS

SRA_BLOCKED_ADDRESSES

Addresses to always reject, comma-separated

SRA_BLOCKED_ADDRESSES_FILE

File with one address to reject per line, added to SRA_BLOCKED_ADDRESSES

SRA_MAX_AUTH_VALIDITY_SECONDS

Longest an x402 authorization may stay valid before it is held (default: 3600)

SRA_API_KEY
secret

API key for the model endpoint, if it needs one

SRA_TIMEOUT

Seconds to wait for the model (default: 120)

SRA_DEPEG_HOLD_PCT

Hold payments when USDC is this many percent off $1.00 (default: 1)

SRA_DEPEG_REJECT_PCT

Reject payments when USDC is this many percent off $1.00 (default: 5)

SRA_MAX_GATEWAY_VALIDITY_SECONDS

Longest a Circle Gateway batched payment may stay valid before it is held (default: 691200, 8 days)

SRA_CIRCLE_WALLETS

Circle Wallets the agent may use, as walletId=0xaddress pairs, comma-separated; any other wallet is held

SRA_CIRCLE_USDC_TOKEN_IDS

Circle token ids confirmed to be USDC, for transfers by tokenId, comma-separated

SRA_EXPECTED_DELEGATES

EIP-7702 delegate contracts your wallet uses on purpose, comma-separated; with account_code, any other delegation is held

SRA_EXPECTED_DELEGATES_FILE

File with one expected delegate address per line, added to SRA_EXPECTED_DELEGATES

SRA_EXPECTED_PAYMASTERS

Paymasters your smart account uses on purpose (comma/space separated). When set, a UserOperation with any other paymaster is held.

SRA_EXPECTED_PAYMASTERS_FILE

File with one expected paymaster address per line.

SRA_EXPECTED_SPENDERS

Contracts your wallet approved on purpose (comma/space separated). check_allowances holds an allowance to any other spender.

SRA_EXPECTED_SPENDERS_FILE

File with one expected spender address per line.

SRA_MAX_ALLOWANCE

The most any one spender may be allowed, in whole tokens. check_allowances holds anything larger.

SRA_ALLOW_ACCOUNT_DEPLOYMENT

Set to 1 to allow a UserOperation that also deploys the smart account (initCode/factory). Default: held.

SRA_CHAINALYSIS_API_KEY
secret

Chainalysis sanctions API key: screen sender and payee with Chainalysis

SRA_TRM_API_KEY
secret

TRM Labs sanctions API key: screen sender and payee with TRM

SRA_TRM_KEYLESS

Set to 1 to screen with TRM's free keyless access (no key)

SRA_RANGE_API_KEY
secret

Range Risk API key: screen sender and payee with Range

SRA_WEBACY_API_KEY
secret

Webacy API key: screen sender and payee with Webacy

SRA_WEBACY_HIGH_RISK_SCORE

Webacy overallRisk above which a payment counts as high risk (default: 50, Webacy's High band)

SRA_ELLIPTIC_API_KEY
secret

Elliptic API key: screen sender and payee with Elliptic (needs SRA_ELLIPTIC_API_SECRET)

SRA_ELLIPTIC_API_SECRET
secret

Elliptic API secret (Base64), used to sign Elliptic requests

SRA_ELLIPTIC_HIGH_RISK_SCORE

Elliptic risk_score (0-10) that counts as high risk and holds (default: 5)

SRA_ELLIPTIC_SEVERE_RISK_SCORE

Elliptic risk_score (0-10) that counts as severe and rejects (default: 10)

SRA_ELLIPTIC_UNSEEN_IS_CLEAN

Set to 1 to pass addresses Elliptic has never seen on chain (default: held)

SRA_SCREENING_HOLD_AT

Provider risk level that holds a payment: none, low, medium, high, severe (default: high)

SRA_SCREENING_REJECT_AT

Provider risk level that rejects a payment (default: severe)

SRA_SCREENING_TIMEOUT

Seconds per screening provider call (default: 10)

SRA_POLICY_FILE

Path to a JSON or YAML policy file (sra-riskgate 1.8.0 format): limits, payees, tokens, screening, budgets, anomalies

SRA_BUDGET_TOTAL

Rolling budget per agent wallet: approved payments above this total in the window are held

SRA_BUDGET_PER_PAYEE

Rolling budget per payee for each agent wallet

SRA_BUDGET_WINDOW_HOURS

Budget window in hours (default: 24)

SRA_MAX_PAYMENTS_PER_HOUR

Hold a payment once the wallet made this many approved payments in the last hour

SRA_AMOUNT_SPIKE_FACTOR

Hold a payment larger than this many times the wallet's median payment to that payee

SRA_LEDGER_FILE

Where approved payments are recorded for budgets (JSON Lines); default: memory only

SRA_RECEIPT_KEY
secret

Secret (hex or base64, at least 16 bytes) to sign a receipt for every payment decision

SRA_RECEIPT_KEY_ID

Name recorded in receipts for the signing key (default: sra-riskgate-mcp)

MCP quality score · maturity, not trust · methodology
freshness
25
completeness
15
installability
25
documentation
15
stability
5
Alternatives in Finance & Payments