# x402 Gateway — ScriptMasterLabs

The x402 Gateway — ScriptMasterLabs MCP server connects agents to the tool catalog to check backend availability and pay for calls in USDC on Base.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 223 installs
- Author: timothy-walton45
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/timothy-walton45/mcp-x402
- Updated: 2026-06-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/x402-gateway-scriptmasterlabs

## What it does

The endpoint at `https://mcp-x402--timothy-walton45.run.tools` speaks HTTP and plugs an agent into the ScriptMasterLabs tool catalog. Two calls cost nothing: `sml_discover` lists the 43 tools with prices and payment steps, while `sml_status` reports whether all 8 backends are up.

Each paid tool quotes its price at call time, so the agent sees current terms before spending. Settlement runs in USDC on Base mainnet, and the contract, payTo value and header rules can be read ahead of any transaction. The catalog covers Tradier and Robinhood quotes and orders, backtests, agent cards, a crawler, a launchpad and proof tools.

Run `sml_status` first when a call costs money, because a dead backend still takes the payment. A wallet holding USDC on Base is the prerequisite for anything past the free calls.

## Requirements
- Remote server: `https://mcp-x402--timothy-walton45.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp-x402 https://mcp-x402--timothy-walton45.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add x402-gateway-scriptmasterlabs --url https://mcp-x402--timothy-walton45.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "x402-gateway-scriptmasterlabs": {
            "url": "https://mcp-x402--timothy-walton45.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "x402-gateway-scriptmasterlabs": {
            "type": "http",
            "url": "https://mcp-x402--timothy-walton45.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http x402-gateway-scriptmasterlabs https://mcp-x402--timothy-walton45.run.tools
```

## When to use it
- Find the right SML tool and its price before the first request
- See which backends are up so a payment doesn't hit a dead service
- Read the Base payment contract and header rules before an agent pays
- Pull a Tradier quote or positions list from inside the agent
- Run a backtest and have the server validate the result

## Example prompts
- Call `sml_discover` and list every tool with its price.
- Check `sml_status` and tell me which backends are down.
- Get a quote with `tradier_quote`, but show the payment requirements first.

## Similar
- [SqueezeOS — ScriptMasterLabs MCP Gateway](https://affpapa.org/en/nevibecode/mcp/squeezeos-scriptmasterlabs-mcp-gateway.md) — MCP server · 1377 installs
- [Neuronto Payments: x402 facilitator and API gateway](https://affpapa.org/en/nevibecode/mcp/neuronto-payments-x402-facilitator-and-api-gateway.md) — MCP server
- [x402 Universal Payer](https://affpapa.org/en/nevibecode/mcp/x402-universal-payer.md) — MCP server · ★ 284 repo stars
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7895 repo stars
- [x402 economy tools](https://affpapa.org/en/nevibecode/mcp/x402-economy-tools.md) — MCP server
- [Ontario Protocol x402 readiness and Bazaar discovery](https://affpapa.org/en/nevibecode/mcp/ontario-protocol-x402-readiness-and-bazaar-discovery.md) — MCP server · 982 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
