AgentHubAgentHub

SRA-RiskGate MCP配置与使用教程

MCP ServerMCP Registry官方收录

io.github.sriram1983007-dev/sra-riskgate-mcp · v0.20.0

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

建议先在本页复制安装配置,再到上游核对文档与权限。

产品介绍

The pre-sign firewall for AI agents that pay: approve, hold or reject stablecoin and x402 payments. SRA-RiskGate 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供产品介绍、配置教程、安装命令与适用场景,支持 Trae、通义灵码、Cursor、Claude Code、VS Code 等。

适用场景

AgentHub Verified 可用性验证技术测试通过

自动化测试流水线已校验安装命令、传输协议与客户端兼容性

最近校验时间2026-11-22
安装配置格式测试有效CLI 与 mcpServers JSON 语法校验通过
协议连接与握手响应正常支持标准 JSON-RPC 2.0 规格规范
上游数据源存活来源 official-mcp-registry,可正常下载依赖
测试可用客户端Claude Code、Claude Desktop、Cursor 等
安全等级: A+ 级 · 官方认证推荐 (A+)·该工具由官方或知名生态团队维护,源码遵循标准开源许可协议,可安全接入 Cursor / Claude。

按平台快速复制

选择你的平台查看安装方式

  1. 打开项目根目录下的 .cursor/mcp.json(没有就新建)
  2. 点击「复制配置」粘贴进去;若已有其他 MCP,只合并 mcpServers 里的本条目
  3. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  4. 保存后按 Cmd+Shift+P(Windows:Ctrl+Shift+P)→ 输入 Reload Window 并执行

预填环境变量与密钥(可选)

secret
secret
secret
secret
secret
secret
secret
secret
secret
隐私安全承诺:所有参数与密钥仅在您本机的浏览器前端进行实时文本替换,AgentHub 绝不向任何服务器上传或存储您的敏感凭据。
点击「复制配置」直接粘贴到客户端
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

配置教程

  1. 打开 SRA-RiskGate 详情页,确认这是你需要的 MCP Server(来源 官方 MCP Registry)。
  2. 按客户端选择 Trae、通义灵码、Cursor、Claude Code 或 VS Code,复制 JSON 配置或 CLI 命令。
  3. 将配置合并进 mcpServers,并把环境变量占位符替换为真实密钥。
  4. 重载窗口后,在 Agent 对话中调用该 MCP 提供的工具。

安装命令

以下安装命令与配置步骤已写入页面 HTML,搜索引擎与未启用 JavaScript 的浏览器均可直接读取。

Claude Code(本地)

  1. 确保已安装 Claude Code CLI
  2. 复制下方命令,将 <占位符> 替换为真实环境变量值后,在终端执行
  3. 若下方列出了环境变量,请对照填写
claude mcp add sra-riskgate-mcp -- uvx sra-riskgate-mcp

Cursor — .cursor/mcp.json(本地)

  1. 打开项目根目录下的 .cursor/mcp.json(没有就新建)
  2. 点击「复制配置」粘贴进去;若已有其他 MCP,只合并 mcpServers 里的本条目
  3. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  4. 保存后按 Cmd+Shift+P(Windows:Ctrl+Shift+P)→ 输入 Reload Window 并执行
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

VS Code — .vscode/mcp.json(本地)

  1. 确保 VS Code 已安装 GitHub Copilot 扩展并支持 MCP
  2. 打开项目根目录下的 .vscode/mcp.json(没有就新建)
  3. 点击「复制配置」粘贴;若已有其他 MCP,只合并 mcpServers 里的本条目
  4. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  5. 保存后重新加载 VS Code 窗口
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

Claude Desktop — claude_desktop_config.json(本地)

  1. 打开 Claude Desktop 的 claude_desktop_config.json(路径见远程指引)
  2. 点击「复制配置」合并到 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥
  4. 完全退出并重启 Claude Desktop
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

Trae — .trae/mcp.json(本地)

  1. 打开 Trae → 设置 → MCP,或编辑 .trae/mcp.json / 全局 mcp.json
  2. 点击「复制配置」粘贴并合并 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥
  4. 保存后重载 Trae 窗口
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

Cherry Studio — MCP 设置(本地)

  1. 打开 Cherry Studio → 设置 → MCP 服务器 → 添加(STDIO)
  2. 也可直接导入下方 JSON:点击「复制配置」合并到 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥,并确保本机已安装 Node.js / uv(npx、uvx)
  4. 启用服务并查看工具列表是否加载成功
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

通义灵码 — MCP 配置(本地)

  1. 通义灵码:个人设置 → MCP 服务 → 「+」→ 手工添加(STDIO)或配置文件添加
  2. 点击「复制配置」合并 mcpServers;命令/参数/环境变量与 JSON 一致
  3. 将 env 中的 <占位符> 替换为真实密钥;本机需 Node.js 18+(npx)或已安装 uv(uvx)
  4. 确认服务状态为已连接后再在智能体对话中调用
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

Windsurf — mcp_config.json(本地)

  1. 编辑 ~/.codeium/windsurf/mcp_config.json
  2. 点击「复制配置」合并 mcpServers(本地 stdio 与 Cursor 格式相同)
  3. 将 env 中的 <占位符> 替换为真实密钥后保存并刷新 Cascade
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

Cline — MCP Servers(本地)

  1. Cline 面板 → 设置 → MCP Servers
  2. 点击「复制配置」粘贴并合并
  3. 将 env 中的 <占位符> 替换为真实密钥后保存
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

WorkBuddy — .workbuddy/mcp.json(本地)

  1. 编辑 ~/.workbuddy/mcp.json(用户级)或项目目录 .workbuddy/mcp.json
  2. 也可在界面:插件 → MCP 服务器 → 配置 MCP,粘贴下方 JSON
  3. 将 env 中的 <占位符> 替换为真实密钥;Windows 下 command/脚本路径建议用绝对路径
  4. 保存并重启 WorkBuddy,确认连接器状态为绿色
{
  "mcpServers": {
    "sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}

常见报错排查与运行避坑 (Troubleshooting)FAQ

针对 SRA-RiskGate 在 Cursor、Claude Code 中的常见连接错误与解决办法

在 Cursor / Claude Code 中配置 SRA-RiskGate 提示 connection closed 或 exit code 1?

通常由本地运行时环境缺失或命令路径未被 IDE 继承引起。排查步骤: 1. 确认已安装 Node.js 18+(支持 npx)或 Python 3.10+(支持 uvx); 2. 尝试在终端运行 which npx 或 which uvx,把配置文件中的 "command" 字段改为完整绝对路径; 3. 修改 mcp.json 后,必须完全重载或重启客户端窗口。

Fix Snippet
# 终端测试命令是否存在:
which npx
node -v
提示 spawn npx ENOENT 或 command not found?

这是因为编辑器后台进程未加载完整的终端环境变量(PATH)。解决方案:在全局安装该包(如 npm install -g 包名),或在配置文件中将 command 设置为系统的实际路径(如 Windows 下的 C:\Program Files\nodejs\npx.cmd,Mac 下的 /usr/local/bin/npx)。

提示 Missing required environment variable 或 API 认证失败?

SRA-RiskGate 依赖环境变量(如 SRA_BASE_URL、SRA_MODEL、SRA_MAX_AMOUNT、SRA_ALLOWED_TOKENS、SRA_EXTRA_TOKENS、SRA_EXTRA_TOKENS_FILE、SRA_NEW_COUNTERPARTY、SRA_RECEIPT_CHAIN_FILE、SRA_RPC_URL、SRA_LOOKALIKE_CHECK、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、SRA_CHAINALYSIS_API_KEY、SRA_TRM_API_KEY、SRA_TRM_KEYLESS、SRA_RANGE_API_KEY、SRA_WEBACY_API_KEY、SRA_WEBACY_HIGH_RISK_SCORE、SRA_ELLIPTIC_API_KEY、SRA_ELLIPTIC_API_SECRET、SRA_ELLIPTIC_HIGH_RISK_SCORE、SRA_ELLIPTIC_SEVERE_RISK_SCORE、SRA_ELLIPTIC_UNSEEN_IS_CLEAN、SRA_SCREENING_HOLD_AT、SRA_SCREENING_REJECT_AT、SRA_SCREENING_TIMEOUT、SRA_POLICY_FILE、SRA_BUDGET_TOTAL、SRA_BUDGET_PER_PAYEE、SRA_BUDGET_WINDOW_HOURS、SRA_MAX_PAYMENTS_PER_HOUR、SRA_AMOUNT_SPIKE_FACTOR、SRA_LEDGER_FILE、SRA_RECEIPT_KEY、SRA_RECEIPT_KEY_ID)。请在客户端配置文件的 "env" 对象中填入有效密钥,注意不要包含多余空格或未闭合的双引号。

Fix Snippet
// .cursor/mcp.json 或 claude_desktop_config.json
{
  "env": {
    "API_KEY": "your_actual_key_here"
  }
}

免安装模拟调用 (Playground)

仿真环境

SRA-RiskGate 核心接口调用仿真 · 无需配置本地环境,直接预览调用参数与返回格式

沙盒就绪 (Virtual Mock)
fn: sra_riskgate_mcpThe pre-sign firewall for AI agents that pay: approve, hold or reject stablecoin and x402 payments.
请求入参 (Arguments)JSON Schema
{
  "target": "SRA-RiskGate",
  "action": "execute",
  "options": {
    "mode": "standard",
    "timeoutMs": 5000
  }
}
💡Agent 在规划任务时会自动生成并传递上述入参
Agent Tool Output

点击上方「模拟运行」按钮

查看该工具在 Agent 内部的返回数据格式

测试环境:AgentHub Virtual SandboxJSON-RPC 2.0

选型与决策建议(为什么选它?)

帮助你快速判断该资源是否契合当前项目,避免盲目折腾

适合什么任务?
  • PR 自动审查
  • 生成 changelog
  • 跨仓库 Issue 检索
什么时候不建议用?
  • 替代人工安全审计
  • 在无授权仓库上操作
推荐工作流搭配:查看完整场景 →

SRA-RiskGate + 对应场景 Prompt → 组成标准 Agent 自动化任务

MCP 实战教程:从安装到看见效果

按完整实例走一遍(含期望效果与对比验收)。装完本页资源后,用教程里的提示词核对是否真正生效。

打开教程 →

相关资源

常搭配使用

AI 保险顾问(中国大陆)

v2.4.45

SkillClawHub8111k

io.clawhub.mnetfairy/ai-insurance-advisor

中国大陆保险顾问。本 skill 仅覆盖 6 项实际实现的能力:保险需求分析(needs_analyzer.py)、产品对比(premium_calculator.py + 本地 products.json)、保费计算(premium_calculator.py)、方案设计(plan_designer.py)、保险知识问答(insurance-knowledge.md)、合规要点提示(compliance.md)。不提供核保预审、理赔代办、朋友圈/营销文案生成、培训话术、代理人展业工具等能力——这些场景请转人工或调用专业服务。

source

中文公文写作

v2.1.6

SkillClawHub7412.6k

io.clawhub.gongyu0918-debug/chinese-official-writing

用于中文公文、事务性材料和新闻稿件的起草、改写、压缩、润色、审校、文种核对、去口语化、降 AI 味及 Word 格式处理,适用于机关、企事业单位、学校和新闻机构。涵盖申请、请示、报告、通知、通告、意见、决定、决议、议案、公报、命令、函、复函、批复、说明、方案、纪要、公告、公示、通报、制度、规定、办法、细则、操作规程、工作要点、总结、调研、讲话、致辞、主持词、述职、可研、审查材料、技术需求、新闻消息、编者按、新闻评论,以及采购、整改、反馈和 AI 算力等场景。

source

ai-era-career-planner

v2.3.31

SkillClawHub979.5k

io.clawhub.mnetfairy/ai-era-career-planner

AI时代职业规划师技能。专为AI时代职场变化而设计,帮助用户应对AI带来的职业冲击与机遇。当用户询问职业规划、职业建议、选专业、职场转型、未来就业方向时触发。功能包括:收集用户基本信息、霍兰德职业兴趣测评、职业价值观分析、AI时代职业影响评估(高危/中危/低危分级),并输出完整的个性化职业规划报告。关键词:职业规划、选专业、工作建议、做什么工作好、职业转型、AI时代职业、AI替代、哪些工作会被AI取代。

source

继续逛 AgentHub

大多数人安装前还会对比同类工具或看场景方案——下面这些能帮你少走弯路。

收录徽章:把 AgentHub 挂到你的官网

复制下面任意一段代码到项目主页、官网或 GitHub README。徽章是 SVG 热链,无需上传文件,链接指向本页,访客可由此直接找到安装方式。

预览AgentHub 已收录:SRA-RiskGate
HTML
<a href="https://myagenthub.cn/p/io.github.sriram1983007-dev/sra-riskgate-mcp" title="AgentHub 已收录:SRA-RiskGate" target="_blank" rel="noopener">
  <img src="https://myagenthub.cn/badge/io.github.sriram1983007-dev/sra-riskgate-mcp" alt="AgentHub 已收录:SRA-RiskGate" height="20" style="border:0"/>
</a>
Markdown(GitHub README)
[![AgentHub 已收录:SRA-RiskGate](https://myagenthub.cn/badge/io.github.sriram1983007-dev/sra-riskgate-mcp)](https://myagenthub.cn/p/io.github.sriram1983007-dev/sra-riskgate-mcp)

徽章由 /badge/<资源ID> 动态生成,名称与收录状态变化后自动更新;请保留链接指向,它是收录来源的判定依据。

统一 Manifest

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