If you’d like your agent to access the x402 ecosystem in addition to ATXP MCP servers, there is an adapter available. To install it, run:
npm i -S @atxp/x402
Then import it:
import { wrapWithX402 } from "@atxp/x402";
And use it in your application:
const mcpClient = await atxpClient({
  ...config,
  fetchFn: wrapWithX402(config) 
});
Now your agent can access x402-compatible MCP servers!