@asgpay/cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -0
- package/index.js +3 -0
- package/package.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<h1 align="center">@asgpay/cli</h1>
|
|
2
|
+
<h3 align="center">Virtual Card Management CLI for AI Agents</h3>
|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://www.npmjs.com/package/@asgpay/cli"><img src="https://img.shields.io/npm/v/@asgpay/cli?style=flat-square&color=635bff" alt="npm" /></a>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@asgpay/cli"><img src="https://img.shields.io/npm/dm/@asgpay/cli?style=flat-square&color=22c55e" alt="downloads" /></a>
|
|
7
|
+
<img src="https://img.shields.io/badge/part%20of-ASG%20Pay-7c5cfc?style=flat-square" alt="ASG Pay" />
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What is @asgpay/cli?
|
|
13
|
+
|
|
14
|
+
**@asgpay/cli** is the command-line tool for creating and managing virtual Mastercard cards for AI agents. Also auto-installs MCP server configuration for Claude Desktop, OpenAI Codex, and Cursor.
|
|
15
|
+
|
|
16
|
+
Part of the **[ASG Pay](https://npmjs.com/package/@asgpay/pay)** ecosystem.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx @asgpay/cli
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Quick Start
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Full onboarding (creates wallet + card + installs MCP)
|
|
28
|
+
npx @asgpay/cli onboard -y --client codex
|
|
29
|
+
|
|
30
|
+
# Install MCP server for Claude
|
|
31
|
+
npx @asgpay/cli install --client claude
|
|
32
|
+
|
|
33
|
+
# Install for Cursor
|
|
34
|
+
npx @asgpay/cli install --client cursor
|
|
35
|
+
|
|
36
|
+
# Create a new card
|
|
37
|
+
npx @asgpay/cli card create --name "Research Agent" --limit 100
|
|
38
|
+
|
|
39
|
+
# List cards
|
|
40
|
+
npx @asgpay/cli card list
|
|
41
|
+
|
|
42
|
+
# Fund a card
|
|
43
|
+
npx @asgpay/cli card fund --id card_123 --amount 50
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Supported MCP Clients
|
|
47
|
+
|
|
48
|
+
| Client | Auto-Install | Status |
|
|
49
|
+
|--------|:----------:|:------:|
|
|
50
|
+
| **Claude Desktop** | ✅ | Production |
|
|
51
|
+
| **OpenAI Codex** | ✅ | Production |
|
|
52
|
+
| **Cursor** | ✅ | Production |
|
|
53
|
+
| **Gemini CLI** | ✅ | Production |
|
|
54
|
+
|
|
55
|
+
## ASG Pay Ecosystem
|
|
56
|
+
|
|
57
|
+
| Package | Purpose |
|
|
58
|
+
|---------|---------|
|
|
59
|
+
| **[@asgpay/pay](https://npmjs.com/package/@asgpay/pay)** | Multi-chain payment SDK (x402 + MPP) |
|
|
60
|
+
| **[@asgpay/sdk](https://npmjs.com/package/@asgpay/sdk)** | Card management TypeScript SDK |
|
|
61
|
+
| **[@asgpay/cli](https://npmjs.com/package/@asgpay/cli)** | ← You are here. CLI tool. |
|
|
62
|
+
| **[@asgpay/mcp-server](https://npmjs.com/package/@asgpay/mcp-server)** | AI agent MCP tools |
|
|
63
|
+
|
|
64
|
+
## Links
|
|
65
|
+
|
|
66
|
+
- 🌐 [asgcard.dev](https://asgcard.dev) · 📦 [@asgpay/pay](https://npmjs.com/package/@asgpay/pay) · 𝕏 [@ASGCardx402](https://x.com/ASGCardx402)
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
<p align="center"><sub>Part of <a href="https://npmjs.com/package/@asgpay/pay">ASG Pay</a> — the banking layer for autonomous AI agents.</sub></p>
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@asgpay/cli",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "ASG Pay CLI — create, fund, freeze, and manage virtual Mastercard cards for AI agents from the command line. Supports Claude Desktop, Codex, and Cursor MCP auto-install.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": { "asgpay": "index.js" },
|
|
7
|
+
"keywords": [
|
|
8
|
+
"asg-pay", "asgpay", "cli", "virtual-card", "ai-agent",
|
|
9
|
+
"card-management", "stripe-issuing", "mcp-install", "claude",
|
|
10
|
+
"codex", "cursor", "autonomous-agent", "fintech", "asgcard"
|
|
11
|
+
],
|
|
12
|
+
"author": "ASG Compute <aidar@asgcompute.com>",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"homepage": "https://asgcard.dev",
|
|
15
|
+
"repository": { "type": "git", "url": "git+https://github.com/ASGCompute/asgcard-public.git" },
|
|
16
|
+
"bugs": { "url": "https://github.com/ASGCompute/asgcard-public/issues" },
|
|
17
|
+
"dependencies": { "@asgcard/cli": "^0.6.2" },
|
|
18
|
+
"publishConfig": { "access": "public" }
|
|
19
|
+
}
|