@x402scan/mcp 0.0.2 → 0.0.4

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 CHANGED
@@ -7,18 +7,18 @@ MCP server for calling [x402](https://x402.org)-protected APIs with automatic pa
7
7
  ### Claude Code
8
8
 
9
9
  ```bash
10
- claude mcp add x402scan --scope user -- npx -y x402scan-mcp@latest
10
+ claude mcp add x402scan --scope user -- npx -y @x402scan/mcp@latest
11
11
  ```
12
12
 
13
13
  ### Codex
14
14
 
15
15
  ```bash
16
- codex mcp add x402scan -- npx -y x402scan-mcp@latest
16
+ codex mcp add x402scan -- npx -y @x402scan/mcp@latest
17
17
  ```
18
18
 
19
19
  ### Cursor
20
20
 
21
- [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=x402scan&config=eyJjb21tYW5kIjoiL2Jpbi9iYXNoIiwiYXJncyI6WyItYyIsInNvdXJjZSAkSE9NRS8ubnZtL252bS5zaCAyPi9kZXYvbnVsbDsgZXhlYyBucHggLXkgeDQwMnNjYW4tbWNwQGxhdGVzdCJdfQ%3D%3D)
21
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=x402scan&config=eyJjb21tYW5kIjoiL2Jpbi9iYXNoIiwiYXJncyI6WyItYyIsInNvdXJjZSAkSE9NRS8ubnZtL252bS5zaCAyPi9kZXYvbnVsbDsgZXhlYyBucHggLXkgQHg0MDJzY2FuL21jcEBsYXRlc3QiXX0%3D)
22
22
 
23
23
  ### Claude Desktop
24
24
 
@@ -32,7 +32,7 @@ codex mcp add x402scan -- npx -y x402scan-mcp@latest
32
32
  ```toml
33
33
  [mcp_servers.x402scan]
34
34
  command = "npx"
35
- args = ["-y", "x402scan-mcp@latest"]
35
+ args = ["-y", "@x402scan/mcp@latest"]
36
36
  ```
37
37
 
38
38
  **Cursor** - Add to `.cursor/mcp.json`:
@@ -44,7 +44,7 @@ args = ["-y", "x402scan-mcp@latest"]
44
44
  "command": "/bin/bash",
45
45
  "args": [
46
46
  "-c",
47
- "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y x402scan-mcp@latest"
47
+ "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y @x402scan/mcp@latest"
48
48
  ]
49
49
  }
50
50
  }
@@ -60,7 +60,7 @@ args = ["-y", "x402scan-mcp@latest"]
60
60
  "command": "/bin/bash",
61
61
  "args": [
62
62
  "-c",
63
- "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y x402scan-mcp@latest"
63
+ "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y @x402scan/mcp@latest"
64
64
  ]
65
65
  }
66
66
  }
@@ -76,17 +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. `query_endpoint` - Probe endpoint for pricing/schema (optional)
80
- 3. `execute_call` - Make the paid request
81
-
82
- ## Tools (4)
83
-
84
- | Tool | Description |
85
- | ------------------ | ------------------------------------------------------ |
86
- | `check_balance` | Get wallet address and USDC balance |
87
- | `query_endpoint` | Probe x402 endpoint for pricing/schema without payment |
88
- | `validate_payment` | Pre-flight check if payment would succeed |
89
- | `execute_call` | Make paid request to x402 endpoint |
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 |
90
96
 
91
97
  ## Environment
92
98