@x402scan/mcp 0.0.3 → 0.0.5
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 +17 -14
- package/dist/cjs/run-server.cjs +1095 -347
- package/dist/esm/index.js +484 -94
- package/dist/esm/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -76,20 +76,23 @@ On first run, a wallet is generated at `~/.x402scan-mcp/wallet.json`. Deposit US
|
|
|
76
76
|
**Workflow:**
|
|
77
77
|
|
|
78
78
|
1. `check_balance` - Check wallet and get deposit address
|
|
79
|
-
2. `
|
|
80
|
-
3. `
|
|
81
|
-
4. `
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
| `
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
92
|
-
| `
|
|
79
|
+
2. `redeem_invite` - Redeem an invite code to fund your wallet (if you have one)
|
|
80
|
+
3. `discover_resources` - Find available x402 endpoints on an origin
|
|
81
|
+
4. `check_x402_endpoint` - Probe endpoint for pricing/schema (optional)
|
|
82
|
+
5. `fetch` - Make the paid request (or `authed_call` for SIWX auth)
|
|
83
|
+
|
|
84
|
+
## Tools
|
|
85
|
+
|
|
86
|
+
| Tool | Description |
|
|
87
|
+
| --------------------- | ------------------------------------------------------------ |
|
|
88
|
+
| `fetch` | Fetch x402-protected resource with automatic payment |
|
|
89
|
+
| `authed_call` | Make request to SIWX-protected endpoint with automatic auth |
|
|
90
|
+
| `check_balance` | Get wallet address and USDC balance |
|
|
91
|
+
| `get_wallet_address` | Get the wallet address |
|
|
92
|
+
| `redeem_invite` | Redeem an invite code to receive USDC |
|
|
93
|
+
| `check_x402_endpoint` | Check if endpoint is x402-protected, get pricing/schema/auth |
|
|
94
|
+
| `discover_resources` | Discover x402 resources from origin's .well-known/x402 |
|
|
95
|
+
| `report_error` | Report critical MCP tool bugs to x402scan developers |
|
|
93
96
|
|
|
94
97
|
## Environment
|
|
95
98
|
|