With Silex x402 MCP

v1.8.2
com.withsilex/x402-mcp Checked 4 days ago Published 18 days ago

Search 48 live data feeds and settle HTTP 402 unlocks in ~350ms via feeless Nano (XNO).

Values you need

VariableWhat it is
NANO_PRIVATE_KEYoptional secret Optional 64-hex local Nano burner key for 1-call HTTP 402 unlocks.
SILEX_MAX_AUTO_USDoptional Maximum USD equivalent per autonomous unlock (default 0.10).

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http x402-mcp https://withsilex.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "x402-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://withsilex.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "x402-mcp": {
      "url": "https://withsilex.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "x402-mcp": {
      "type": "http",
      "url": "https://withsilex.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.x402-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://withsilex.com/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: silex_hyper_search, silex_suggest_entities, silex_live_pulse, silex_inspect_402_challenge, silex_unlock_with_tx_hash, silex_auto_pay_and_unlock.
  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