---
title: "With Silex CLI (@withsilex/x402-mcp) — Install & Usage"
url: "https://withsilex.com/docs/cli"
search_endpoint: "https://withsilex.com/.well-known/search?q={query}"
search_methods: ["GET", "QUERY"]
mcp_endpoint: "https://withsilex.com/mcp"
codemode_endpoint: "https://withsilex.com/mcp?codemode=search_and_execute"
agent:
  instructions: "Use this search API to find relevant content, telemetry feeds, encyclopedia dossiers, and HTTP 402 endpoints across With Silex with keywords or natural-language queries. Results are returned in Markdown."
  endpoint: "https://withsilex.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://withsilex.com/AGENTS.md"
---
# With Silex CLI (`@withsilex/x402-mcp`) — Install & Usage

> Non-custodial local Nano (`$XNO`) HTTP 402 signer and Model Context Protocol (MCP) CLI bridge (`FinCEN FIN-2019-G001`, zero server key custody, 99% creator net).

## Install Globally or Run Zero-Install via `npx`

Install the official With Silex CLI globally from npm, or launch it directly with `npx` without modifying your project:

```bash
# Global CLI install
npm install -g @withsilex/x402-mcp

# Or run zero-install via npx
npx -y @withsilex/x402-mcp
```

## First Call & Quickstart Commands

Verify your local CLI installation, inspect help flags, or connect any stdio MCP client (Claude Desktop, Cursor, Windsurf, OpenClaw, Antigravity) in one command:

```bash
# Inspect CLI help and available commands
npx -y @withsilex/x402-mcp --help

# Probe the $0.00 Morning Coffee Wake Beacon
curl -sS 'https://withsilex.com/.well-known/coffee.json?tz=America/New_York'

# Probe the live $0.001 HTTP 402 + IETF MPP gateway
curl -i https://withsilex.com/api/v1
```

## MCP Client Configuration (`stdio` + Remote Streamable HTTP)

Add either the zero-install remote Streamable HTTP MCP endpoint (`https://withsilex.com/mcp`) or the local non-custodial signer CLI (`@withsilex/x402-mcp`) to your agent configuration:

```json
{
  "mcpServers": {
    "withsilex-edge-mcp": {
      "serverUrl": "https://withsilex.com/mcp"
    },
    "withsilex-local-signer": {
      "command": "npx",
      "args": ["-y", "@withsilex/x402-mcp"]
    }
  }
}
```

## Related Documentation
- [Full Developer Docs](https://withsilex.com/docs)
- [JavaScript / TypeScript SDK on npm](https://www.npmjs.com/package/@withsilex/x402-mcp) (`npm install @withsilex/x402-mcp`)
- [Authentication & Payment Modes (`auth.md`)](https://withsilex.com/auth.md)
- [OpenAPI 3.1 Specification](https://withsilex.com/openapi.json)
