ATXP clients may access x402 MCP servers by using an adapter
npm i -S @atxp/x402
import { wrapWithX402 } from "@atxp/x402";
const mcpClient = await atxpClient({ ...config, fetchFn: wrapWithX402(config) });