With Silex CLI (@withsilex/x402-mcp)
The official With Silex CLI lets developers and autonomous AI agents bridge stdio MCP clients, inspect zero-cost discovery beacons, and sign feeless Layer-1 Nano ($XNO) HTTP 402 unlocks locally inside user RAM without any custodial server keys or preloaded balances.
1. Install the With Silex CLI
Install the CLI globally via npm so the command is available in any terminal, or launch it directly with npx with zero installation:
# Install globally via npm
npm install -g @withsilex/x402-mcp
# Or run immediately with zero global install
npx -y @withsilex/x402-mcp
2. First Call & Live HTTP 402 Verification
Run the CLI help command to verify your setup, or test the $0.00 Morning Coffee Wake Beacon and the live $0.001 HTTP 402 + IETF MPP gateway directly from your shell:
# Verify CLI binary and print usage help
npx -y @withsilex/x402-mcp --help
# Poll the $0.00 Morning Coffee Wake Beacon
curl -sS "https://withsilex.com/.well-known/coffee.json?tz=America/New_York"
# Inspect a live HTTP 402 + IETF MPP quote ($0.001 USD on nano:mainnet)
curl -i https://withsilex.com/api/v1
3. Connect MCP Clients (Claude, Cursor, OpenClaw, Antigravity)
Configure both the zero-install remote Streamable HTTP MCP server (24 direct tools + 2 Code Mode tools) and the optional local non-custodial CLI signer in your MCP client config:
{
"mcpServers": {
"withsilex-edge-mcp": {
"serverUrl": "https://withsilex.com/mcp"
},
"withsilex-local-signer": {
"command": "npx",
"args": ["-y", "@withsilex/x402-mcp"]
}
}
}
4. JavaScript & TypeScript SDK
Building directly in Node.js or TypeScript? Install the standalone With Silex SDK on npm or read the full Developer Documentation, auth.md, and OpenAPI 3.1 spec.
npm install @withsilex/x402-mcp