x402-deploy docs
nirholas / x402-deploy

x402-deploy

1-click deployment and monetization for MCP servers and APIs with x402 payments

v0.1.0SEE LICENSE IN LICENSETypeScript
npm install -g @nirholas/x402-deploy

What it does

Capabilities documented in this repository.

Related Projects

See the full documentation for details.

Features

See the full documentation for details.

What Gets Deployed

See the full documentation for details.

Use Cases

See the full documentation for details.

Documentation

See the full documentation for details.

Project Types

See the full documentation for details.

Get started

Install it, then run your first command.

npm install -g @nirholas/x402-deploy
CommandRuns
npm run buildtsup
npm run devtsup --watch
npm run typechecktsc --noEmit
npm run linteslint src/
npm run testvitest run

Read the full getting started guide

Examples

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

More examples

Reference