x402 Tools
OpenDexter exposes five tools that cover the full lifecycle from search to settlement:
| Tool | Purpose |
|---|---|
x402_search | Search the marketplace for paid resources by keyword, category, or chain |
x402_check | Preview pricing and requirements before committing to payment |
x402_wallet | Create or inspect wallet/session funding addresses |
x402_fetch | Pay for and receive the response in one call |
x402_pay | Explicit payment verb when the client wants to separate pay from fetch |
The Flow
- Discover —
x402_searchturns the marketplace into an agent-readable interface - Evaluate —
x402_checkshows pricing, chain, and requirements before you commit - Fund and execute —
x402_walletgets your addresses, thenx402_fetchhandles payment and retrieval
Hosted Session Model
In the hosted flow at open.dexter.cash/mcp:
x402_walletcreates a session with two funding addresses (one Solana, one shared EVM)- Fund either address with USDC
x402_fetchauto-selects the best-funded chain the endpoint accepts- Sessions persist for 30 days
| Attribute | Value |
|---|---|
| Auth | None |
| Wallets | Ephemeral session (Solana + EVM) |
| Multi-chain | Auto-selects from funded chains |
| Session lifetime | 30 days |
| Best for | ChatGPT, Claude, hosted agents |
Local npm Package
With @dexterai/opendexter installed locally:
- Signer lives at
~/.dexterai-mcp/wallet.json - Fund it directly — wallet persists indefinitely
- Same five tools, same flow
| Attribute | Value |
|---|---|
| Auth | None |
| Wallet | Persistent local signer |
| Chains | Solana (local key) |
| Session lifetime | Indefinite |
| Best for | Cursor, Codex, CLI agents |
Authenticated Dexter MCP
The authenticated MCP at mcp.dexter.cash/mcp can also expose the x402 tool surface. Set TOKEN_AI_MCP_PROFILE=opendexter to limit it to the focused x402 flow instead of the broader Dexter tool catalog.