token4u_wallet
Manage a local x402 wallet for USDC micropayments on Base: check status, create a keypair, or receive funding and self-custody guidance.
Instructions
Manage local x402 wallet — create keypair, check status, and get funding guidance.
This is a pure external x402 mode: the MCP server manages a local wallet (~/.token4u-mcp/wallet.json, 0o600). All payments go through on-chain x402 USDC transactions on Base network. No token4u account or internal wallet required.
Actions:
status (default): Show local wallet address and whether it is newly created.
create: Generate a new local wallet keypair or load an existing one. The private key is stored at ~/.token4u-mcp/wallet.json with 0o600 permissions and never leaves this machine.
setup: Show step-by-step funding instructions — how to send USDC on Base to your local wallet address, and how to export the private key for self-custody.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Which wallet operation to perform | status |