프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

SRA-RiskGate

제작자: sriram1983007-dev버전 0.13.0i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.sriram1983007-dev/sra-riskgate-mcp

설치

개요

제작자가 쓴 설명(영어 원문)

Check stablecoin and x402 payments before an AI agent pays: approve, hold or reject.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 암호화폐 및 블록체인
  • 입력해야 할 값: SRA_API_KEY

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: SRA_BASE_URL, SRA_MODEL, SRA_MAX_AMOUNT, SRA_ALLOWED_TOKENS, SRA_KNOWN_RECIPIENTS, SRA_KNOWN_RECIPIENTS_FILE, SRA_BLOCKED_ADDRESSES, SRA_BLOCKED_ADDRESSES_FILE, SRA_MAX_AUTH_VALIDITY_SECONDS, SRA_API_KEY, SRA_TIMEOUT, SRA_DEPEG_HOLD_PCT, SRA_DEPEG_REJECT_PCT, SRA_MAX_GATEWAY_VALIDITY_SECONDS, SRA_CIRCLE_WALLETS, SRA_CIRCLE_USDC_TOKEN_IDS, SRA_EXPECTED_DELEGATES, SRA_EXPECTED_DELEGATES_FILE, SRA_EXPECTED_PAYMASTERS, SRA_EXPECTED_PAYMASTERS_FILE, SRA_EXPECTED_SPENDERS, SRA_EXPECTED_SPENDERS_FILE, SRA_MAX_ALLOWANCE, SRA_ALLOW_ACCOUNT_DEPLOYMENT

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • PyPIPython의 uv 설치(uvx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "sra-riskgate": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ],
      "env": {
        "SRA_BASE_URL": "your-value",
        "SRA_MODEL": "your-value",
        "SRA_MAX_AMOUNT": "your-value",
        "SRA_ALLOWED_TOKENS": "your-value",
        "SRA_KNOWN_RECIPIENTS": "your-value",
        "SRA_KNOWN_RECIPIENTS_FILE": "your-value",
        "SRA_BLOCKED_ADDRESSES": "your-value",
        "SRA_BLOCKED_ADDRESSES_FILE": "your-value",
        "SRA_MAX_AUTH_VALIDITY_SECONDS": "your-value",
        "SRA_API_KEY": "your-value",
        "SRA_TIMEOUT": "your-value",
        "SRA_DEPEG_HOLD_PCT": "your-value",
        "SRA_DEPEG_REJECT_PCT": "your-value",
        "SRA_MAX_GATEWAY_VALIDITY_SECONDS": "your-value",
        "SRA_CIRCLE_WALLETS": "your-value",
        "SRA_CIRCLE_USDC_TOKEN_IDS": "your-value",
        "SRA_EXPECTED_DELEGATES": "your-value",
        "SRA_EXPECTED_DELEGATES_FILE": "your-value",
        "SRA_EXPECTED_PAYMASTERS": "your-value",
        "SRA_EXPECTED_PAYMASTERS_FILE": "your-value",
        "SRA_EXPECTED_SPENDERS": "your-value",
        "SRA_EXPECTED_SPENDERS_FILE": "your-value",
        "SRA_MAX_ALLOWANCE": "your-value",
        "SRA_ALLOW_ACCOUNT_DEPLOYMENT": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add sra-riskgate --env SRA_BASE_URL=your-value --env SRA_MODEL=your-value --env SRA_MAX_AMOUNT=your-value --env SRA_ALLOWED_TOKENS=your-value --env SRA_KNOWN_RECIPIENTS=your-value --env SRA_KNOWN_RECIPIENTS_FILE=your-value --env SRA_BLOCKED_ADDRESSES=your-value --env SRA_BLOCKED_ADDRESSES_FILE=your-value --env SRA_MAX_AUTH_VALIDITY_SECONDS=your-value --env SRA_API_KEY=your-value --env SRA_TIMEOUT=your-value --env SRA_DEPEG_HOLD_PCT=your-value --env SRA_DEPEG_REJECT_PCT=your-value --env SRA_MAX_GATEWAY_VALIDITY_SECONDS=your-value --env SRA_CIRCLE_WALLETS=your-value --env SRA_CIRCLE_USDC_TOKEN_IDS=your-value --env SRA_EXPECTED_DELEGATES=your-value --env SRA_EXPECTED_DELEGATES_FILE=your-value --env SRA_EXPECTED_PAYMASTERS=your-value --env SRA_EXPECTED_PAYMASTERS_FILE=your-value --env SRA_EXPECTED_SPENDERS=your-value --env SRA_EXPECTED_SPENDERS_FILE=your-value --env SRA_MAX_ALLOWANCE=your-value --env SRA_ALLOW_ACCOUNT_DEPLOYMENT=your-value -- uvx sra-riskgate-mcp

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "sra-riskgate": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ],
      "env": {
        "SRA_BASE_URL": "your-value",
        "SRA_MODEL": "your-value",
        "SRA_MAX_AMOUNT": "your-value",
        "SRA_ALLOWED_TOKENS": "your-value",
        "SRA_KNOWN_RECIPIENTS": "your-value",
        "SRA_KNOWN_RECIPIENTS_FILE": "your-value",
        "SRA_BLOCKED_ADDRESSES": "your-value",
        "SRA_BLOCKED_ADDRESSES_FILE": "your-value",
        "SRA_MAX_AUTH_VALIDITY_SECONDS": "your-value",
        "SRA_API_KEY": "your-value",
        "SRA_TIMEOUT": "your-value",
        "SRA_DEPEG_HOLD_PCT": "your-value",
        "SRA_DEPEG_REJECT_PCT": "your-value",
        "SRA_MAX_GATEWAY_VALIDITY_SECONDS": "your-value",
        "SRA_CIRCLE_WALLETS": "your-value",
        "SRA_CIRCLE_USDC_TOKEN_IDS": "your-value",
        "SRA_EXPECTED_DELEGATES": "your-value",
        "SRA_EXPECTED_DELEGATES_FILE": "your-value",
        "SRA_EXPECTED_PAYMASTERS": "your-value",
        "SRA_EXPECTED_PAYMASTERS_FILE": "your-value",
        "SRA_EXPECTED_SPENDERS": "your-value",
        "SRA_EXPECTED_SPENDERS_FILE": "your-value",
        "SRA_MAX_ALLOWANCE": "your-value",
        "SRA_ALLOW_ACCOUNT_DEPLOYMENT": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "sra-riskgate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ],
      "env": {
        "SRA_BASE_URL": "your-value",
        "SRA_MODEL": "your-value",
        "SRA_MAX_AMOUNT": "your-value",
        "SRA_ALLOWED_TOKENS": "your-value",
        "SRA_KNOWN_RECIPIENTS": "your-value",
        "SRA_KNOWN_RECIPIENTS_FILE": "your-value",
        "SRA_BLOCKED_ADDRESSES": "your-value",
        "SRA_BLOCKED_ADDRESSES_FILE": "your-value",
        "SRA_MAX_AUTH_VALIDITY_SECONDS": "your-value",
        "SRA_API_KEY": "your-value",
        "SRA_TIMEOUT": "your-value",
        "SRA_DEPEG_HOLD_PCT": "your-value",
        "SRA_DEPEG_REJECT_PCT": "your-value",
        "SRA_MAX_GATEWAY_VALIDITY_SECONDS": "your-value",
        "SRA_CIRCLE_WALLETS": "your-value",
        "SRA_CIRCLE_USDC_TOKEN_IDS": "your-value",
        "SRA_EXPECTED_DELEGATES": "your-value",
        "SRA_EXPECTED_DELEGATES_FILE": "your-value",
        "SRA_EXPECTED_PAYMASTERS": "your-value",
        "SRA_EXPECTED_PAYMASTERS_FILE": "your-value",
        "SRA_EXPECTED_SPENDERS": "your-value",
        "SRA_EXPECTED_SPENDERS_FILE": "your-value",
        "SRA_MAX_ALLOWANCE": "your-value",
        "SRA_ALLOW_ACCOUNT_DEPLOYMENT": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • SRA_BASE_URL env
    OpenAI-compatible endpoint serving SRA-RiskGate-4B (default: Ollama at http://localhost:11434/v1)
  • SRA_MODEL env
    Model name on that endpoint (default: sriram1983007/sra-riskgate)
  • SRA_MAX_AMOUNT env
    Rule ceiling in whole tokens of the stablecoin paid; larger payments are held (default: 1000)
  • SRA_ALLOWED_TOKENS env
    Stablecoins the payment checks may approve: USDC, USDT, USDB, USDG (comma-separated). Default: USDC only
  • SRA_KNOWN_RECIPIENTS env
    Verified payee addresses, comma-separated; payments to anyone else are held (default: check off)
  • SRA_KNOWN_RECIPIENTS_FILE env
    File with one verified payee address per line, added to SRA_KNOWN_RECIPIENTS
  • SRA_BLOCKED_ADDRESSES env
    Addresses to always reject, comma-separated
  • SRA_BLOCKED_ADDRESSES_FILE env
    File with one address to reject per line, added to SRA_BLOCKED_ADDRESSES
  • SRA_MAX_AUTH_VALIDITY_SECONDS env
    Longest an x402 authorization may stay valid before it is held (default: 3600)
  • SRA_API_KEY 비밀 env
    API key for the model endpoint, if it needs one
  • SRA_TIMEOUT env
    Seconds to wait for the model (default: 120)
  • SRA_DEPEG_HOLD_PCT env
    Hold payments when USDC is this many percent off $1.00 (default: 1)
  • SRA_DEPEG_REJECT_PCT env
    Reject payments when USDC is this many percent off $1.00 (default: 5)
  • SRA_MAX_GATEWAY_VALIDITY_SECONDS env
    Longest a Circle Gateway batched payment may stay valid before it is held (default: 691200, 8 days)
  • SRA_CIRCLE_WALLETS env
    Circle Wallets the agent may use, as walletId=0xaddress pairs, comma-separated; any other wallet is held
  • SRA_CIRCLE_USDC_TOKEN_IDS env
    Circle token ids confirmed to be USDC, for transfers by tokenId, comma-separated
  • SRA_EXPECTED_DELEGATES env
    EIP-7702 delegate contracts your wallet uses on purpose, comma-separated; with account_code, any other delegation is held
  • SRA_EXPECTED_DELEGATES_FILE env
    File with one expected delegate address per line, added to SRA_EXPECTED_DELEGATES
  • SRA_EXPECTED_PAYMASTERS env
    Paymasters your smart account uses on purpose (comma/space separated). When set, a UserOperation with any other paymaster is held.
  • SRA_EXPECTED_PAYMASTERS_FILE env
    File with one expected paymaster address per line.
  • SRA_EXPECTED_SPENDERS env
    Contracts your wallet approved on purpose (comma/space separated). check_allowances holds an allowance to any other spender.
  • SRA_EXPECTED_SPENDERS_FILE env
    File with one expected spender address per line.
  • SRA_MAX_ALLOWANCE env
    The most any one spender may be allowed, in whole tokens. check_allowances holds anything larger.
  • SRA_ALLOW_ACCOUNT_DEPLOYMENT env
    Set to 1 to allow a UserOperation that also deploys the smart account (initCode/factory). Default: held.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 sriram1983007-dev 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

암호화폐 및 블록체인 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1614개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1614개 중 99%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1614개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

SRA-RiskGate, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: SRA_API_KEY

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.13.0)은 어제 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Highwire, DeFi Quant Yield & Risk Engine, gasrescue

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Highwire

제작자: HigherMaestro

Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.

컴퓨터 또는 클라우드오늘 업데이트
설치

Quantitative DeFi carry ROE, borrow kink slippage & risk simulation across 6 protocols.

내 컴퓨터에서 실행오늘 업데이트
설치

gasrescue

제작자: gasrescue

Rescue USDC, USDT and USDG from wallets with no gas: send or swap them on EVM, Solana and Tron.

내 컴퓨터에서 실행오늘 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

sra-riskgate-mcp

An MCP server that lets AI assistants and agents check a stablecoin payment before paying it: approve, hold or reject. USDC by default; from 0.13.0 also USDT, USDB (Bridge) and USDG once the server enables them with SRA_ALLOWED_TOKENS.

ToolWhat it doesNeeds
check_address_sanctionsExact, offline match of up to 100 addresses against OFAC's published SDN crypto addresses (bundled, dated snapshot)Nothing
check_payment_rulesInstant rule checks: OFAC SDN address match, address validity, self-transfers, amount ceiling, depeg in both directions, and self-asserted claims in the payment's text; token for USDT, USDB or USDGNothing
check_x402_paymentThe same checks for an x402 payment requirement, before the agent signs; from 0.11.0, a server asking for a signature valid longer than an hour (max_timeout_seconds) is held, except Circle Gateway requirements for Circle's real GatewayWalletNothing
check_transactionThe same checks for the exact transaction the agent is about to sign (to, calldata, value); token approvals, other functions, other contracts and native ETH are heldNothing
check_x402_authorizationThe same checks for the x402 signature itself (the EIP-3009 TransferWithAuthorization typed data) before signing; expired, post-dated or long-lived authorizations, permits and non-USDC domains are heldNothing
check_circle_wallets_requestThe same checks for a Circle Wallets (developer-controlled) API request before it is sent: transfers, contract executions, typed-data and transaction signing; approve(), other tokens, raw messages and wallet upgrades are heldNothing
check_delegationAn EIP-7702 authorization before signing it: always held, naming the delegate contract and whether it is valid on every chainNothing
check_user_operationAn ERC-4337 UserOperation from a smart account (Coinbase Smart Wallet, Safe, Kernel, Nexus, SimpleAccount), call by call: an approval hidden in a batch is held, payments to the same payee are summed, self-calls, delegatecalls and unknown paymasters are heldNothing
verify_settlementAfter settlement: the mined receipt must hold exactly the approved payment (USDC, or token = USDT, USDB, USDG or any ERC-20 by address) (payer, payee, amount, and for x402 the approved authorization); reverts, wrong amounts, wrong payees, double payments and extra transfers are reportedNothing (you pass the receipt)
check_allowancesStanding approvals behind pull payments (subscriptions, loan repayments): unlimited, above SRA_MAX_ALLOWANCE or to a spender outside SRA_EXPECTED_SPENDERS is held; a sanctioned or blocked spender is rejectedNothing (you pass the allowances you read)
verify_gateway_balancesAfter a Circle Gateway payment: the payer's Gateway balance went down, and the payee's up, by at least the amount; reports when the batch has not settled yetNothing (you pass the balances)
check_payment_with_modelFull review by SRA-RiskGate-4B of the policy, the payment and your verification resultsThe model running locally

Every tool fails closed. Malformed input is rejected, and if the model is unreachable or answers off-schema, the result is hold, never approve.

Pass the payment's own text. The rule tools take an optional untrusted_text: the memo, invoice, description or x402 extra fields exactly as received (a string, object or list). If that text claims its own verification, such as "risk level: low (verified offline)", "pre-approved" or "ignore previous instructions", the payment is held, even when every other check passes. This is the trick that caused all 4 unsafe approvals by SRA-RiskGate-4B on its benchmark. Never pass your own verification results there: those legitimately say "verified".

Check what will actually be signed. Since 0.6.0 (with sra-riskgate 0.9.0+), check_transaction takes the transaction itself: the contract it calls (to), its calldata (data) and its native value. A plain USDC transfer is decoded (the result includes the recipient and amount) and gets every check of check_payment_rules. Anything else is held: approve, increaseAllowance and permit (TOKEN_APPROVAL, plus UNLIMITED_APPROVAL), which let someone else move the wallet's USDC later; other functions such as transferFrom; a contract that is not USDC on that chain; native ETH; and malformed calldata. Use it whenever the agent has the transaction, not just a description of the payment. Since 0.7.2 it also takes the transaction's tx_type and authorization_list: an EIP-7702 delegation (type 4, or any authorization) is held as CODE_DELEGATION, because it hands control of the whole account to contract code, on every chain if signed with chain id 0.

Check the x402 signature. Since 0.7.0 (with sra-riskgate 0.11.0+), check_x402_authorization takes the EIP-712 typed data the agent is about to sign for an x402 payment. In x402 on EVM chains the agent signs an EIP-3009 TransferWithAuthorization instead of sending a transaction, and anyone holding that signature can move the USDC until it expires. The tool checks the domain is USDC on that chain, from is the agent's wallet, and the authorization is current and short-lived (held if valid for more than SRA_MAX_AUTH_VALIDITY_SECONDS, default one hour), then gives the decoded payment every check of check_payment_rules. A Permit is held as a token approval. Time comes from the server's clock, not from the agent.

Circle Gateway. Since 0.8.0 (with sra-riskgate 0.13.0+), check_x402_authorization also checks Circle Gateway batched payments (nanopayments): the same authorization signed for Gateway's GatewayWalletBatched domain with Circle's GatewayWallet contract. Gateway requires these to stay valid for at least 3 days, so they have their own limit, SRA_MAX_GATEWAY_VALIDITY_SECONDS (default 8 days, above the 7 days plus 100 seconds that Circle's SDK signs for), set on the server like every other limit. A Gateway-named domain with any other contract is held. (0.8.0 shipped with a 7-day default, which held payments made by Circle's SDK; fixed in 0.9.0.)

Is the wallet still yours? Since 0.9.2 (with sra-riskgate 0.16.0+), every payment tool takes an optional account_code: your wallet's eth_getCode result. An EIP-7702 authorization signed anywhere else leaves 0xef0100 followed by the delegate's address in the account's code; if that delegate is not in SRA_EXPECTED_DELEGATES, the payment is held (ACCOUNT_DELEGATED). Plain accounts and ordinary contract wallets pass. Suggested by Carlos (Bloqarl) on DEV.to.

Circle Wallets. Since 0.9.0 (with sra-riskgate 0.14.0+), check_circle_wallets_request checks a request to Circle's developer-controlled wallets API before the agent sends it. With Circle Wallets the agent never signs: Circle signs as soon as it accepts the request, so this is the last point a bad payment can be stopped. Pass the operation (transfer, contractExecution, signTypedData, signTransaction) and the exact body. Set SRA_CIRCLE_WALLETS to the wallets the agent may use (walletId=0xaddress, comma-separated) so a request from any other wallet is held.

Sanctioned addresses. Since 0.4.0 (with sra-riskgate 0.7.1+), both rule tools reject any payment to or from an address on the OFAC SDN list, and check_address_sanctions checks addresses on their own, before a payment exists. The list is a dated snapshot bundled with sra-riskgate, matched exactly and offline. "Not listed" is not a compliance clearance: it does not trace funds or ownership, and addresses added after the snapshot date are not included.

Who is on the other side. Since 0.5.0 (with sra-riskgate 0.8.0+), you can give the server the payees you have already verified (SRA_KNOWN_RECIPIENTS). A payment to anyone else is then held with NEW_COUNTERPARTY, the usual first step in "our bank details have changed" fraud. Addresses on your blocklist (SRA_BLOCKED_ADDRESSES, or the tools' blocked_addresses argument) are always rejected. Known payees come only from the server's configuration, never from tool arguments or payment text: an agent whose input has been tampered with cannot declare an attacker's address "known". The blocklist argument is safe for agents to use because it can only make a decision stricter.

Install

Add it to your MCP client's configuration (Claude Desktop, Cursor and others):

{

"mcpServers": { "sra-riskgate": { "command": "uvx", "args": ["sra-riskgate-mcp"] } } }

Or install it with pip (pip install sra-riskgate-mcp) and use "command": "sra-riskgate-mcp".

The two rule-based tools work immediately. For check_payment_with_model, run the model locally:

ollama pull sriram1983007/sra-riskgate

Configuration

VariableDefaultMeaning
SRA_BASE_URLhttp://localhost:11434/v1OpenAI-compatible endpoint serving the model (Ollama, llama.cpp, vLLM). Must be http:// or https://; anything else gives hold
SRA_MODELsriram1983007/sra-riskgateModel name on that endpoint
SRA_API_KEYnoneAPI key, if the endpoint needs one
SRA_TIMEOUT120Seconds to wait for the model
SRA_MAX_AMOUNT1000Rule ceiling in whole tokens of the stablecoin paid; larger payments are held
SRA_ALLOWED_TOKENSUSDCStablecoins the payment checks may approve: any of USDC, USDT, USDB, USDG, comma- or space-separated. Any other token is held (UNSUPPORTED_ASSET); an unknown symbol is a configuration error
SRA_DEPEG_HOLD_PCT / SRA_DEPEG_REJECT_PCT1 / 5Depeg thresholds in percent, for the stablecoin paid
SRA_KNOWN_RECIPIENTSunset (check off)Verified payees, comma- or space-separated. Payments to anyone else are held (NEW_COUNTERPARTY). Set but empty: every payment is held
SRA_KNOWN_RECIPIENTS_FILEunsetA file with one verified payee per line (# comments allowed), added to the list above
SRA_BLOCKED_ADDRESSES / SRA_BLOCKED_ADDRESSES_FILEunsetAddresses to always reject, same formats
SRA_MAX_AUTH_VALIDITY_SECONDS3600Longest an x402 authorization may stay valid before it is held
SRA_MAX_GATEWAY_VALIDITY_SECONDS691200 (8 days)The same for Circle Gateway batched payments, which must stay valid for at least 3 days
SRA_EXPECTED_DELEGATES / SRA_EXPECTED_DELEGATES_FILEunsetEIP-7702 delegate contracts your wallet uses on purpose; with account_code, any other delegation is held
SRA_EXPECTED_PAYMASTERS / SRA_EXPECTED_PAYMASTERS_FILEunsetPaymasters your smart account uses on purpose; any other paymaster in a UserOperation is held
SRA_ALLOW_ACCOUNT_DEPLOYMENTunset1 to allow a UserOperation that also deploys the smart account (otherwise held)
SRA_CIRCLE_WALLETSunsetCircle wallets the agent may use, as walletId=0xaddress pairs; any other wallet id is held
SRA_CIRCLE_USDC_TOKEN_IDSunsetCircle token ids you have confirmed are USDC, for transfers by tokenId (otherwise held)

A malformed address or an unr

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기