@dexterai/mcp 1.1.1 → 1.1.3

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
@@ -11,11 +11,11 @@
11
11
  <p align="center">
12
12
  <a href="https://www.npmjs.com/package/@dexterai/mcp"><img src="https://img.shields.io/npm/v/@dexterai/mcp.svg" alt="npm"></a>
13
13
  <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E=18-brightgreen.svg" alt="Node"></a>
14
- <a href="https://dexter.cash/marketplace"><img src="https://img.shields.io/badge/Marketplace-dexter.cash-blueviolet" alt="Marketplace"></a>
14
+ <a href="https://dexter.cash/opendexter"><img src="https://img.shields.io/badge/Marketplace-dexter.cash-blueviolet" alt="Marketplace"></a>
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
- <a href="https://dexter.cash/marketplace"><strong>Browse paid APIs →</strong></a>
18
+ <a href="https://dexter.cash/opendexter"><strong>Browse paid APIs →</strong></a>
19
19
  </p>
20
20
 
21
21
  ---
@@ -71,7 +71,7 @@ args = ["-y", "@dexterai/mcp@latest"]
71
71
 
72
72
  ### `x402_search`
73
73
 
74
- Search the [Dexter Marketplace](https://dexter.cash/marketplace) for paid API resources. Returns pricing, quality scores, verification status, seller reputation, and call volume.
74
+ Search the [Dexter Marketplace](https://dexter.cash/opendexter) for paid API resources. Returns pricing, quality scores, verification status, seller reputation, and call volume.
75
75
 
76
76
  ```
77
77
  "Find image generation APIs under $0.10"
@@ -210,7 +210,7 @@ The MCP auto-detects which chain a 402 response requires and signs with the appr
210
210
 
211
211
  ## Links
212
212
 
213
- - [Dexter Marketplace](https://dexter.cash/marketplace)
213
+ - [Dexter Marketplace](https://dexter.cash/opendexter)
214
214
  - [Dexter Facilitator](https://x402.dexter.cash)
215
215
  - [@dexterai/x402 SDK](https://www.npmjs.com/package/@dexterai/x402)
216
216
  - [x402 Protocol](https://x402.org)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexterai/mcp",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "x402 gateway for AI agents — search, pay, and call any x402 API through Dexter",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,8 @@
9
9
  "dist",
10
10
  "assets",
11
11
  "README.md",
12
- "LICENSE"
12
+ "LICENSE",
13
+ "skills"
13
14
  ],
14
15
  "scripts": {
15
16
  "build": "tsup",
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: dexterai-mcp
3
+ description: "Use @dexterai/mcp to search, price-check, and pay for any x402 API. Trigger this skill whenever the user wants to find paid APIs, call an x402 endpoint, check pricing, see their wallet balance, or do anything involving x402 payments, paid APIs, USDC payments for APIs, the Dexter marketplace, or agent commerce. Also trigger when the user mentions x402, OpenDexter, paid APIs, or wants to monetize or call a paid service."
4
+ ---
5
+
6
+ # @dexterai/mcp — x402 Search Engine for AI Agents
7
+
8
+ This package gives you access to the Dexter x402 marketplace — the largest directory of paid APIs that agents can search, price-check, and call with automatic USDC payment.
9
+
10
+ Your wallet is local at `~/.dexterai-mcp/wallet.json`. Fund it with USDC on Solana and payments happen automatically.
11
+
12
+ ## Your Tools
13
+
14
+ Use them in this order for the best experience:
15
+
16
+ ### 1. `x402_search` — Find APIs
17
+
18
+ Always start here when the user wants to find a paid API. The marketplace has 5,000+ endpoints ranked by quality, usage, freshness, and reputation.
19
+
20
+ Results include:
21
+ - **name**: What the endpoint does
22
+ - **price**: Cost per call in USDC
23
+ - **network**: Which blockchain settles payment (Solana, Base, etc.)
24
+ - **qualityScore**: 0-100, AI-verified. 75+ means it passed automated testing.
25
+ - **verified**: True if it passed quality verification
26
+ - **seller**: Who operates the endpoint
27
+ - **totalCalls**: Usage volume across the ecosystem
28
+
29
+ Highlight verified endpoints and quality scores when presenting results.
30
+
31
+ ### 2. `x402_check` — Preview Pricing
32
+
33
+ Probes the endpoint and returns payment options per chain without paying. Shows the user what it'll cost before committing. If the endpoint is free, tell them. If it returns 401/403, explain the provider requires its own auth first.
34
+
35
+ ### 3. `x402_fetch` — Call and Pay
36
+
37
+ Calls the endpoint and pays automatically from the local wallet. The user gets the API response directly along with a payment receipt (transaction hash, amount, network).
38
+
39
+ **If the wallet has no USDC**, the call will fail. Check `x402_wallet` first and tell the user to fund it:
40
+ - Show the wallet address from `x402_wallet`
41
+ - Tell them to send USDC on Solana to that address
42
+ - Once funded, retry
43
+
44
+ ### 4. `x402_wallet` — Check Balance
45
+
46
+ Shows the wallet address at `~/.dexterai-mcp/wallet.json` and USDC/SOL balances. Use this:
47
+ - Before a fetch, to confirm sufficient funds
48
+ - When the user asks about their balance
49
+ - When a fetch fails due to insufficient funds
50
+
51
+ If USDC is 0, proactively suggest funding before attempting any fetch.
52
+
53
+ ## Workflow Patterns
54
+
55
+ ### "Find me an API for X"
56
+ 1. `x402_search` with their query
57
+ 2. Present top results with prices and quality scores
58
+ 3. Suggest the best one or ask which to try
59
+ 4. `x402_check` to confirm price
60
+ 5. `x402_fetch` to call it
61
+
62
+ ### "Call this URL"
63
+ 1. `x402_check` first to show the price
64
+ 2. `x402_fetch` to call and pay
65
+
66
+ ### "How much do I have?"
67
+ 1. `x402_wallet`
68
+
69
+ ### "What is this?"
70
+ This is @dexterai/mcp — a local x402 gateway that connects your AI agent to the Dexter marketplace. It searches 5,000+ paid APIs from every major x402 facilitator (Dexter, Coinbase, PayAI, and more), all verified and quality-ranked. Your wallet stays on your machine — no account needed, no custodial risk.
71
+
72
+ ## Quality Scores
73
+
74
+ - **90-100**: Excellent. Verified, returns correct data.
75
+ - **75-89**: Good. Passed verification, reliable.
76
+ - **50-74**: Mediocre. May work but has issues.
77
+ - **Below 50**: Poor or untested. Use with caution.
78
+ - **Verified badge**: Passed Dexter's automated quality testing.
79
+
80
+ ## Tips
81
+
82
+ - Search is fuzzy — typos still match. Searches across names, descriptions, categories, URLs, seller names.
83
+ - Use `verifiedOnly: true` to filter to quality-tested endpoints only.
84
+ - Use `network` filter if the user cares about a specific chain.
85
+ - Most endpoints cost $0.01-$0.10 per call. Creative/compute-heavy ones cost more.
86
+ - The wallet needs both USDC (for payments) and a tiny amount of SOL (for transaction fees).