Highwire
Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.
作者による説明(英語の原文)
Check stablecoin and x402 payments before an AI agent pays: approve, hold or reject.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
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「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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がつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
SRA_BASE_URL envSRA_MODEL envSRA_MAX_AMOUNT envSRA_ALLOWED_TOKENS envSRA_KNOWN_RECIPIENTS envSRA_KNOWN_RECIPIENTS_FILE envSRA_BLOCKED_ADDRESSES envSRA_BLOCKED_ADDRESSES_FILE envSRA_MAX_AUTH_VALIDITY_SECONDS envSRA_TIMEOUT envSRA_DEPEG_HOLD_PCT envSRA_DEPEG_REJECT_PCT envSRA_MAX_GATEWAY_VALIDITY_SECONDS envSRA_CIRCLE_WALLETS envSRA_CIRCLE_USDC_TOKEN_IDS envSRA_EXPECTED_DELEGATES envSRA_EXPECTED_DELEGATES_FILE envSRA_EXPECTED_PAYMASTERS envSRA_EXPECTED_PAYMASTERS_FILE envSRA_EXPECTED_SPENDERS envSRA_EXPECTED_SPENDERS_FILE envSRA_MAX_ALLOWANCE envSRA_ALLOW_ACCOUNT_DEPLOYMENT envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント sriram1983007-dev で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:SRA_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.13.0)がレジストリに届いたのは昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Highwire, Crypto Sentiment X402, Crypto MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.
Crypto news sentiment for 24 coins: label, score and headlines behind it, paid per call via x402
Live cryptocurrency prices and FX rates as agent tools.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
| Tool | What it does | Needs |
|---|---|---|
check_address_sanctions | Exact, offline match of up to 100 addresses against OFAC's published SDN crypto addresses (bundled, dated snapshot) | Nothing |
check_payment_rules | Instant 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 USDG | Nothing |
check_x402_payment | The 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 GatewayWallet | Nothing |
check_transaction | The 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 held | Nothing |
check_x402_authorization | The 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 held | Nothing |
check_circle_wallets_request | The 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 held | Nothing |
check_delegation | An EIP-7702 authorization before signing it: always held, naming the delegate contract and whether it is valid on every chain | Nothing |
check_user_operation | An 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 held | Nothing |
verify_settlement | After 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 reported | Nothing (you pass the receipt) |
check_allowances | Standing 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 rejected | Nothing (you pass the allowances you read) |
verify_gateway_balances | After 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 yet | Nothing (you pass the balances) |
check_payment_with_model | Full review by SRA-RiskGate-4B of the policy, the payment and your verification results | The 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.
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
| Variable | Default | Meaning |
|---|---|---|
SRA_BASE_URL | http://localhost:11434/v1 | OpenAI-compatible endpoint serving the model (Ollama, llama.cpp, vLLM). Must be http:// or https://; anything else gives hold |
SRA_MODEL | sriram1983007/sra-riskgate | Model name on that endpoint |
SRA_API_KEY | none | API key, if the endpoint needs one |
SRA_TIMEOUT | 120 | Seconds to wait for the model |
SRA_MAX_AMOUNT | 1000 | Rule ceiling in whole tokens of the stablecoin paid; larger payments are held |
SRA_ALLOWED_TOKENS | USDC | Stablecoins 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_PCT | 1 / 5 | Depeg thresholds in percent, for the stablecoin paid |
SRA_KNOWN_RECIPIENTS | unset (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_FILE | unset | A file with one verified payee per line (# comments allowed), added to the list above |
SRA_BLOCKED_ADDRESSES / SRA_BLOCKED_ADDRESSES_FILE | unset | Addresses to always reject, same formats |
SRA_MAX_AUTH_VALIDITY_SECONDS | 3600 | Longest an x402 authorization may stay valid before it is held |
SRA_MAX_GATEWAY_VALIDITY_SECONDS | 691200 (8 days) | The same for Circle Gateway batched payments, which must stay valid for at least 3 days |
SRA_EXPECTED_DELEGATES / SRA_EXPECTED_DELEGATES_FILE | unset | EIP-7702 delegate contracts your wallet uses on purpose; with account_code, any other delegation is held |
SRA_EXPECTED_PAYMASTERS / SRA_EXPECTED_PAYMASTERS_FILE | unset | Paymasters your smart account uses on purpose; any other paymaster in a UserOperation is held |
SRA_ALLOW_ACCOUNT_DEPLOYMENT | unset | 1 to allow a UserOperation that also deploys the smart account (otherwise held) |
SRA_CIRCLE_WALLETS | unset | Circle wallets the agent may use, as walletId=0xaddress pairs; any other wallet id is held |
SRA_CIRCLE_USDC_TOKEN_IDS | unset | Circle token ids you have confirmed are USDC, for transfers by tokenId (otherwise held) |
A malformed address or an unr
冒頭だけを表示しています。続きはリポジトリで読めます