We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xR0am/tip-md-x402-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup-cdp-wallet.ts•790 B
// scripts/setup-cdp-wallet.ts
import { CdpClient } from '@coinbase/cdp-sdk';
import dotenv from 'dotenv';
dotenv.config();
async function setupAgentWallet() {
// Initialize the CDP client (automatically loads API keys from environment)
const cdp = new CdpClient();
// Create EVM account for Base/Ethereum (x402 only supports these networks)
const account = await cdp.evm.createAccount();
console.log('EVM Account Created:', account.address);
// Fund account for production use
console.log('EVM Account ready for mainnet:', account.address);
console.log('⚠️ Fund this account with real USDC before going live');
console.log('⚠️ Save this address for CDP_AGENT_ADDRESS environment variable:', account.address);
}
setupAgentWallet().catch(console.error);