Lumi Trades: x402 seller checks and test-buys
v0.9.9Free signed allow/warn/block before paying x402 sellers; test-buys on XRPL, Base and Stellar
Values you need
| Variable | What it is | |
|---|---|---|
EVM_PRIVATE_KEY | optional secret | 0x private key of your Base wallet that pays in USDC (gasless, signed locally) |
XRPL_SEED | optional secret | Seed of your XRPL wallet that pays in XRP/RLUSD/USDC (signed locally) |
LUMI_PAY_ASSET | optional | BASE_USDC, XRP, RLUSD or USDC (XRPL). Default: XRP if XRPL_SEED set, else BASE_USDC |
LUMI_MAX_USD_PER_CALL | optional | Per-call cap in USD for stablecoins (covers every Lumi endpoint) Default: 0.30 |
LUMI_MAX_XRP_PER_CALL | optional | Per-call cap in XRP Default: 0.25 |
LUMI_SESSION_BUDGET | optional | Max total spend per server process Default: 1 |
XRPL_NETWORK | optional | 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.9Add 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/mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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