agentpay-mcp 1.2.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 ADDED
@@ -0,0 +1,54 @@
1
+ # agentpay-mcp
2
+
3
+ Non-custodial x402 payment layer for AI agents. Part of the [AI Agent Economy](https://ai-agent-economy.com) ecosystem.
4
+
5
+ > **Previously known as:** `clawpay-mcp` — renamed as part of the AI Agent Economy rebrand.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install agentpay-mcp
11
+ # or use the scoped package directly:
12
+ npm install @agenteconomy/pay
13
+ ```
14
+
15
+ ## Features
16
+
17
+ - **x402 protocol** — HTTP-native machine-to-machine payments
18
+ - **Non-custodial** — agents sign locally, no vendor holds keys
19
+ - **MCP compatible** — works with Claude, Cursor, Windsurf, any MCP client
20
+ - **USDC on Base** — stable, fast, low-fee
21
+ - **Spend limits** — on-chain enforcement via ERC-6551
22
+
23
+ ## Quick Start
24
+
25
+ ```javascript
26
+ const { AgentPay } = require('agentpay-mcp');
27
+
28
+ const pay = new AgentPay({ wallet: yourAgentWallet });
29
+ await pay.handlePaymentRequest(request402);
30
+ ```
31
+
32
+ ## Migration from clawpay-mcp
33
+
34
+ ```bash
35
+ npm uninstall clawpay-mcp
36
+ npm install agentpay-mcp
37
+ ```
38
+
39
+ Your imports work identically — all exports are re-exported unchanged.
40
+
41
+ ## Ecosystem
42
+
43
+ | Package | Description |
44
+ |---|---|
45
+ | [`@agenteconomy/wallet`](https://www.npmjs.com/package/@agenteconomy/wallet) | Non-custodial agent wallets |
46
+ | [`agentpay-mcp`](https://www.npmjs.com/package/agentpay-mcp) | x402 payment layer (this package) |
47
+ | [`@agenteconomy/webmcp`](https://www.npmjs.com/package/@agenteconomy/webmcp) | Agent-friendly web protocol |
48
+ | [`@agenteconomy/escrow`](https://www.npmjs.com/package/@agenteconomy/escrow) | Trustless agent escrow *(coming soon)* |
49
+
50
+ ## Links
51
+
52
+ - [Website](https://ai-agent-economy.com)
53
+ - [npm (@agenteconomy/pay)](https://www.npmjs.com/package/@agenteconomy/pay)
54
+ - [Discord](https://discord.gg/958AACqf7Y)
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@agenteconomy/pay';
package/index.js ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * agentpay-mcp
3
+ *
4
+ * Non-custodial x402 payment layer for AI agents.
5
+ * Previously known as clawpay-mcp.
6
+ *
7
+ * Agents sign transactions locally on Base using USDC.
8
+ * No custodial infrastructure. No API keys required.
9
+ *
10
+ * Part of the AI Agent Economy: https://ai-agent-economy.com
11
+ * npm: https://www.npmjs.com/package/@agenteconomy/pay
12
+ */
13
+ module.exports = require('@agenteconomy/pay');
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "agentpay-mcp",
3
+ "version": "1.2.0",
4
+ "description": "Non-custodial x402 payment layer for AI agents. Agents sign transactions locally on Base using USDC — no custodial infrastructure, no API keys. Part of the AI Agent Economy ecosystem.",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "keywords": [
8
+ "mcp", "model-context-protocol", "x402", "ai-agent",
9
+ "agent-wallet", "crypto-payments", "base", "usdc",
10
+ "non-custodial", "spend-limits", "agentic-payments",
11
+ "autonomous-agent", "agent-economy", "agentpay"
12
+ ],
13
+ "author": "AI Agent Economy <max@ai-agent-economy.com>",
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/AgentEconomy/pay"
18
+ },
19
+ "homepage": "https://ai-agent-economy.com",
20
+ "dependencies": {
21
+ "@agenteconomy/pay": "^1.2.0"
22
+ }
23
+ }