Lumi Trades: x402 seller checks and test-buys

v0.9.9
io.github.cypher-osiris/lumi-trades-mcp Checked 2 days ago Published 1 month ago

Free signed allow/warn/block before paying x402 sellers; test-buys on XRPL, Base and Stellar

Values you need

VariableWhat it is
EVM_PRIVATE_KEYoptional secret 0x private key of your Base wallet that pays in USDC (gasless, signed locally)
XRPL_SEEDoptional secret Seed of your XRPL wallet that pays in XRP/RLUSD/USDC (signed locally)
LUMI_PAY_ASSEToptional BASE_USDC, XRP, RLUSD or USDC (XRPL). Default: XRP if XRPL_SEED set, else BASE_USDC
LUMI_MAX_USD_PER_CALLoptional Per-call cap in USD for stablecoins (covers every Lumi endpoint) Default: 0.30
LUMI_MAX_XRP_PER_CALLoptional Per-call cap in XRP Default: 0.25
LUMI_SESSION_BUDGEToptional Max total spend per server process Default: 1
XRPL_NETWORKoptional xrpl:0 mainnet or xrpl:1 testnet Default: xrpl:0

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add lumi-trades-mcp -- npx -y lumi-trades-mcp@0.9.9
Add to claude_desktop_config.json
{
  "mcpServers": {
    "lumi-trades-mcp": {
      "args": [
        "-y",
        "lumi-trades-mcp@0.9.9"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "lumi-trades-mcp": {
      "args": [
        "-y",
        "lumi-trades-mcp@0.9.9"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "lumi-trades-mcp": {
      "args": [
        "-y",
        "lumi-trades-mcp@0.9.9"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.lumi-trades-mcp]
command = "npx"
args = ["-y", "lumi-trades-mcp@0.9.9"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http lumi-trades-mcp https://api.lumitrades.io/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "lumi-trades-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.lumitrades.io/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "lumi-trades-mcp": {
      "url": "https://api.lumitrades.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "lumi-trades-mcp": {
      "type": "http",
      "url": "https://api.lumitrades.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.lumi-trades-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.lumitrades.io/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: lumi_check, lumi_scan_seller, lumi_report_receipt, lumi_catalog, lumi_samples, lumi_quote, lumi_vendor_scores, lumi_verdict, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json