@asgpay/mcp-server 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.
Files changed (3) hide show
  1. package/README.md +84 -0
  2. package/index.js +3 -0
  3. package/package.json +20 -0
package/README.md ADDED
@@ -0,0 +1,84 @@
1
+ <h1 align="center">@asgpay/mcp-server</h1>
2
+ <h3 align="center">11 AI Agent Tools for Claude, Codex, Cursor & Gemini CLI</h3>
3
+
4
+ <p align="center">
5
+ <a href="https://www.npmjs.com/package/@asgpay/mcp-server"><img src="https://img.shields.io/npm/v/@asgpay/mcp-server?style=flat-square&color=635bff" alt="npm" /></a>
6
+ <a href="https://www.npmjs.com/package/@asgpay/mcp-server"><img src="https://img.shields.io/npm/dm/@asgpay/mcp-server?style=flat-square&color=22c55e" alt="downloads" /></a>
7
+ <img src="https://img.shields.io/badge/MCP%20tools-11-7c5cfc?style=flat-square" alt="11 MCP tools" />
8
+ <img src="https://img.shields.io/badge/part%20of-ASG%20Pay-7c5cfc?style=flat-square" alt="ASG Pay" />
9
+ </p>
10
+
11
+ ---
12
+
13
+ ## What is @asgpay/mcp-server?
14
+
15
+ **@asgpay/mcp-server** is a [Model Context Protocol](https://modelcontextprotocol.io/) server that gives AI agents the ability to create virtual Mastercard cards, fund wallets, and manage spending โ€” via natural language.
16
+
17
+ Works with **Claude Desktop, OpenAI Codex, Cursor, and Gemini CLI**.
18
+
19
+ Part of the **[ASG Pay](https://npmjs.com/package/@asgpay/pay)** ecosystem.
20
+
21
+ ## Quick Setup
22
+
23
+ ```json
24
+ {
25
+ "mcpServers": {
26
+ "asgpay": {
27
+ "command": "npx",
28
+ "args": ["@asgpay/mcp-server"],
29
+ "env": { "ASG_API_KEY": "your-key" }
30
+ }
31
+ }
32
+ }
33
+ ```
34
+
35
+ Or auto-install:
36
+
37
+ ```bash
38
+ npx @asgpay/cli install --client claude
39
+ npx @asgpay/cli install --client codex
40
+ npx @asgpay/cli install --client cursor
41
+ ```
42
+
43
+ ## Available Tools
44
+
45
+ | Tool | Description |
46
+ |------|-------------|
47
+ | `card_create` | Create a new virtual Mastercard |
48
+ | `card_fund` | Add funds to a card |
49
+ | `card_freeze` | Freeze a card |
50
+ | `card_unfreeze` | Unfreeze a card |
51
+ | `cards_list` | List all cards |
52
+ | `card_details` | Get card PAN, CVV, expiry |
53
+ | `card_transactions` | View transaction history |
54
+ | `wallet_info` | Check wallet balance |
55
+ | `wallet_create` | Create a new Stellar wallet |
56
+ | `payment_send` | Send payment on-chain |
57
+ | `payment_status` | Check payment status |
58
+
59
+ ## Example Prompts
60
+
61
+ > "Create a $50 virtual card for my research agent"
62
+
63
+ > "Show me all active cards and their balances"
64
+
65
+ > "Freeze the card ending in 4242"
66
+
67
+ > "Fund card_abc123 with $25 USDC"
68
+
69
+ ## ASG Pay Ecosystem
70
+
71
+ | Package | Purpose |
72
+ |---------|---------|
73
+ | **[@asgpay/pay](https://npmjs.com/package/@asgpay/pay)** | Multi-chain payment SDK |
74
+ | **[@asgpay/mcp-server](https://npmjs.com/package/@asgpay/mcp-server)** | โ† You are here. MCP tools. |
75
+ | **[@asgpay/sdk](https://npmjs.com/package/@asgpay/sdk)** | Card management SDK |
76
+ | **[@asgpay/cli](https://npmjs.com/package/@asgpay/cli)** | CLI tool |
77
+
78
+ ## Links
79
+
80
+ - ๐ŸŒ [asgcard.dev](https://asgcard.dev) ยท ๐Ÿ“ฆ [@asgpay/pay](https://npmjs.com/package/@asgpay/pay) ยท ๐• [@ASGCardx402](https://x.com/ASGCardx402)
81
+
82
+ ---
83
+
84
+ <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
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+ require('@asgcard/mcp-server');
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@asgpay/mcp-server",
3
+ "version": "1.0.0",
4
+ "description": "ASG Pay MCP Server โ€” 11 AI agent tools for Claude, Codex, Cursor, and Gemini CLI. Create virtual cards, fund wallets, manage spending via Model Context Protocol.",
5
+ "main": "index.js",
6
+ "bin": { "asgpay-mcp": "index.js" },
7
+ "keywords": [
8
+ "asg-pay", "asgpay", "mcp", "mcp-server", "model-context-protocol",
9
+ "claude", "codex", "cursor", "gemini-cli", "ai-agent-tools",
10
+ "virtual-card", "card-management", "ai-payments", "autonomous-agent",
11
+ "langchain", "crewai", "asgcard"
12
+ ],
13
+ "author": "ASG Compute <aidar@asgcompute.com>",
14
+ "license": "MIT",
15
+ "homepage": "https://asgcard.dev",
16
+ "repository": { "type": "git", "url": "git+https://github.com/ASGCompute/asgcard-public.git" },
17
+ "bugs": { "url": "https://github.com/ASGCompute/asgcard-public/issues" },
18
+ "dependencies": { "@asgcard/mcp-server": "^0.6.0" },
19
+ "publishConfig": { "access": "public" }
20
+ }