1-click deployment and monetization for MCP servers and APIs with x402 payments
npm install -g @nirholas/x402-deployCapabilities documented in this repository.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
Install it, then run your first command.
npm install -g @nirholas/x402-deploy
| Command | Runs |
|---|---|
npm run build | tsup |
npm run dev | tsup --watch |
npm run typecheck | tsc --noEmit |
npm run lint | eslint src/ |
npm run test | vitest run |
Taken directly from this repository's documentation.
# Install globally
npm install -g @nirholas/x402-deploy
# Navigate to your API/MCP server
cd my-awesome-api
# Initialize (detects project automatically)
x402-deploy init
# Deploy (creates wallet, deploys, registers)
x402-deploy deploy
# Watch earnings
x402-deploy dashboard┌─────────────────────────────────────┐
│ Your API (unchanged) │
│ ↓ │
│ x402 Gateway (automatic) │
│ ↓ │
│ Payment Verification │
│ ↓ │
│ Analytics & Rate Limiting │
│ ↓ │
│ Deployed to Cloud │
└─────────────────────────────────────┘x402-deploy dashboard