VANITY

THE VANITY GUIDE.

Give your agent an address.

A local MCP and CLI runner, with the same jobs and receipts as the website.

Install the local package

Download the VANITY agent bundle from this page, extract it and run npm ci inside the extracted vanity-agent folder. Node 22.13 or newer is required. The package is distributed here as source; no public npm package or remote hosted MCP is claimed.

cd vanity-agent
npm ci
node cli.mjs help

Configure the host

Use a dedicated payer wallet you control. Configure its existing Solana 64-byte keypair JSON file, the agent vault password through a protected environment/secret mechanism, and a private mainnet RPC endpoint if you enable payments. Do not send these values as MCP arguments or chat messages.

The runner creates an encrypted local state directory with restrictive file permissions. MCP responses contain public addresses, job progress and encrypted key references only.

VANITY_PAYER_KEYPAIR=/absolute/path/payer.json
VANITY_VAULT_PASSWORD=<set using your secret manager>
VANITY_STATE_DIR=/absolute/path/vanity-state
# Optional, only for explicitly authorized autonomous payment:
VANITY_ALLOW_PAYMENTS=true
VANITY_MAX_USDC_PER_PAYMENT=1
VANITY_MAX_USDC_TOTAL=5
VANITY_MAX_SOL_NETWORK_FEE=0.001
# Additional caps if paying the generation fee in SOL:
VANITY_MAX_SOL_PER_PAYMENT=0.01
VANITY_MAX_SOL_TOTAL=0.05
SOLANA_RPC_URL=<private mainnet RPC>

Run without an AI client

The start command runs until results are encrypted and confirmed, or until interrupted. Keep the process running in your own terminal, service manager or VPS. Closing the website does not stop this independent process.

No system service is installed automatically. If the process stops, status can read saved results, and resume restarts unfinished jobs. The machine must remain awake.

node cli.mjs start --suffix test --count 3 --flexible
node cli.mjs status
node cli.mjs resume
node cli.mjs export --job <job-id> --output /private/path/backup.json

Connect through MCP

Configure a local stdio MCP server in a compatible client. Pass host configuration through its protected environment. Tool names include vanity_quote, vanity_pay, vanity_start, vanity_status, vanity_resume and vanity_pause. The MCP process must remain running for its searches to continue.

Autonomous spending is disabled by default. Enabling it requires per-payment and total budget limits; the runner validates the treasury, asset, network, instructions and fees before signing. Payment attempts are saved for recovery before broadcast. x402 support is not implemented.

{
  "mcpServers": {
    "vanity": {
      "command": "node",
      "args": ["/absolute/path/vanity-agent/mcp.mjs"]
    }
  }
}

Use results safely

Generated private keys are never returned to the AI. Export encrypted results locally with the CLI. Unlock/import through the documented backup flow using the same owner wallet and vault password.

Agent transactions use the configured existing payer. Newly generated wallets start unfunded. VANITY does not grant an AI spending permission merely because MCP is connected.