# SRA-RiskGate (pypi · sra-riskgate-mcp)

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

- Trust score: 65/100 (medium)
- Change this week: +41
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-17

## Components

- pypi · `sra-riskgate-mcp`: 65/100 (this document), [markdown](https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp.md), [page](https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp)

## Channel facts

- Registry: `pypi`
- Package: `sra-riskgate-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-17.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 1 of 29 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 1 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 60/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 633 tokens (~211/item across 3 items; 3 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 3 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 4 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the SRA-RiskGate MCP server?

SRA-RiskGate runs locally as a PyPI package, launched with uvx sra-riskgate-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add sriram1983007-dev-sra-riskgate-mcp -- uvx sra-riskgate-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "sriram1983007-dev-sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "sriram1983007-dev-sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add sriram1983007-dev-sra-riskgate-mcp -- uvx sra-riskgate-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sriram1983007-dev-sra-riskgate-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "sra-riskgate-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add sriram1983007-dev-sra-riskgate-mcp --command uvx --arg sra-riskgate-mcp
```

### Hermes

```yaml
mcp_servers:
  sriram1983007-dev-sra-riskgate-mcp:
    command: "uvx"
    args: ["sra-riskgate-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "sriram1983007-dev-sra-riskgate-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "sra-riskgate-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add sriram1983007-dev-sra-riskgate-mcp -t stdio -c uvx -a sra-riskgate-mcp
```

### Other

```json
{
  "mcpServers": {
    "sriram1983007-dev-sra-riskgate-mcp": {
      "command": "uvx",
      "args": [
        "sra-riskgate-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-14 (score 65, +31)

- [security improvement] Injection markers: unverified → pass
- [security improvement] Source repository: fail → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: unverified → fail
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Tool coverage: 0
- [functional] First check of Schema quality: fail
- [functional] First check of Destructive annotations: pass
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: good
- [functional] First check of Tool coverage: 100

### 2026-10-12 (score 34, +10)

- [security regression] Source repository: pass → fail
- [security improvement] Malware scan: unverified → pass
- [functional regression] Security disclosure: fail → unverified

### 2026-10-08 (score 24)

First indexed and scored.

## MCP tools (3)

### `check_payment_rules` (~148 tokens)

Instant deterministic checks for a USDC payment, before sending it.

Checks address validity, self-transfers, the zero address, a per-payment amount ceiling and,
if peg_deviation_pct is given (USDC's deviation from $1.00 in percent, e.g. -1.2), depegs in
both directions. No model or GPU needed.

Returns decision (approve | hold | reject), flags, explanation and required_actions.
Only send the payment if decision is "approve".

Input parameters:

- `amount_usdc` (number, required)
- `chain_id` (integer, required)
- `peg_deviation_pct`
- `recipient` (string, required)
- `sender` (string, required)

### `check_x402_payment` (~170 tokens)

Check an x402 payment requirement BEFORE signing it.

Pass the fields from the 402 response's chosen payment requirement: network (CAIP-2 such as
"eip155:8453", or a legacy name such as "base-sepolia"), asset (token contract address),
amount (in the token's smallest unit, as a string) and pay_to (recipient). payer is the
agent's own wallet address.

Only USDC on Ethereum, Base and Base Sepolia is checked; anything else is rejected.
Only sign and pay if decision is "approve".

Input parameters:

- `amount` (string, required)
- `asset` (string, required)
- `network` (string, required)
- `pay_to` (string, required)
- `payer` (string, required)
- `peg_deviation_pct`

### `check_payment_with_model` (~218 tokens)

Full risk review of a stablecoin payment by the SRA-RiskGate-4B model.

Needs the model running locally (for example: ollama pull sriram1983007/sra-riskgate).
Arguments follow the model's training format:
  now_unix      current Unix time
  policy        the receiving policy (e.g. max_amount_usdc, trusted_attesters, allowed_assets)
  payload       the payment exactly as received (treated as untrusted)
  tool_results  outputs of real verification tools: decoded payment, signature check,
                risk attestations and sanctions screening

The model reasons over tool_results; it does not run those checks itself.
Returns decision (approve | hold | reject), risk_level, flags, explanation and
required_actions. If the model is unavailable or answers off-schema, returns "hold".
Only proceed if decision is "approve".

Input parameters:

- `now_unix` (integer, required)
- `payload` (object, required)
- `policy` (object, required)
- `tool_results` (object, required)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp#diagnostics

## Score history

- 2026-10-17: 65
- 2026-10-16: 65
- 2026-10-15: 65
- 2026-10-14: 65
- 2026-10-13: 34
- 2026-10-12: 34
- 2026-10-08: 24

## Common questions

### What is the SRA-RiskGate MCP server?

SRA-RiskGate is an MCP server listed in the public MCP registry as io.github.sriram1983007-dev/sra-riskgate-mcp. Check stablecoin and x402 payments before an AI agent pays: approve, hold or reject. This page covers its PyPI package (sra-riskgate-mcp).

### Is the SRA-RiskGate MCP server safe to use?

SRA-RiskGate scores 65 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 17 October 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the SRA-RiskGate MCP server expose?

SRA-RiskGate exposes 3 tools: check_payment_rules, check_x402_payment, check_payment_with_model. Their descriptions and schemas cost roughly 536 tokens of context every time the server is loaded.

### Is the SRA-RiskGate MCP server still maintained?

SRA-RiskGate is still listed as active in the MCP registry. We last reached this channel on 17 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the SRA-RiskGate MCP server under?

SRA-RiskGate declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- PyPI project: https://pypi.org/project/sra-riskgate-mcp/
- Socket report: https://socket.dev/pypi/package/sra-riskgate-mcp
- Repository: https://github.com/sriram1983007-dev/sra-riskgate-mcp
- Changelog RSS feed: https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp.json
- HTML version of this page: https://verifymcp.io/servers/sriram1983007-dev-sra-riskgate-mcp/sra-riskgate-mcp
