About SRA-RiskGate
Check stablecoin and x402 payments before an AI agent pays: approve, hold, or reject
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
uvx sra-riskgate-mcpSRA_BASE_URLOpenAI-compatible endpoint serving SRA-RiskGate-4B (default: Ollama at http://localhost:11434/v1)SRA_MODELModel name on that endpoint (default: sriram1983007/sra-riskgate)SRA_MAX_AMOUNTRule ceiling in USDC; larger payments are held (default: 1000)SRA_KNOWN_RECIPIENTSVerified payee addresses, comma-separated; payments to anyone else are held (default: check off)SRA_KNOWN_RECIPIENTS_FILEFile with one verified payee address per line, added to SRA_KNOWN_RECIPIENTSSRA_BLOCKED_ADDRESSESAddresses to always reject, comma-separatedSRA_BLOCKED_ADDRESSES_FILEFile with one address to reject per line, added to SRA_BLOCKED_ADDRESSESSRA_MAX_AUTH_VALIDITY_SECONDSSecretLongest an x402 authorization may stay valid before it is held (default: 3600)SRA_API_KEYSecretAPI key for the model endpoint, if it needs oneSRA_TIMEOUTSeconds to wait for the model (default: 120)SRA_DEPEG_HOLD_PCTHold payments when USDC is this many percent off $1.00 (default: 1)SRA_DEPEG_REJECT_PCTReject payments when USDC is this many percent off $1.00 (default: 5)SRA_MAX_GATEWAY_VALIDITY_SECONDSLongest a Circle Gateway batched payment may stay valid before it is held (default: 691200, 8 days)SRA_CIRCLE_WALLETSCircle Wallets the agent may use, as walletId=0xaddress pairs, comma-separated; any other wallet is heldSRA_CIRCLE_USDC_TOKEN_IDSSecretCircle token ids confirmed to be USDC, for transfers by tokenId, comma-separatedLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated today
| Parameter | Type | Required | Description |
|---|---|---|---|
| sender | string | Yes | |
| chain_id | integer | Yes | |
| recipient | string | Yes | |
| amount_usdc | number | Yes | |
| peg_deviation_pct | any | No |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.