import { MCPClient } from '@modelcontextprotocol/sdk';
// Connect to Clawallex MCP server
const mcp = new MCPClient({
serverUrl: 'https://mcp.clawallex.app',
apiKey: process.env.CLAWALLEX_API_KEY
});
// Agent can now use natural language commands
// "Send $500 to AWS for compute"
// "What did we spend on software last month?"
// "Create a new card with $1000 daily limit"
const clawallex = new Clawallex({
apiKey: process.env.CLAWALLEX_SANDBOX_KEY,
environment: 'sandbox'
});
// All operations work identically
// Transactions are simulated
// No real money moves