Skip to main content
Glama

MCP Ethers Wallet

index.ts919 B
#!/usr/bin/env node import { config } from 'dotenv'; import { logger } from './utils/logger.js'; // Load environment variables config(); // Parse command line arguments const args = process.argv.slice(2); const argMap = new Map(); args.forEach(arg => { if (arg.startsWith('--')) { const [key, value] = arg.substring(2).split('='); if (value !== undefined) { argMap.set(key, value); } else { argMap.set(key, true); } } }); // Set environment variables from command line arguments if (argMap.has('network')) { process.env.DEFAULT_NETWORK = argMap.get('network'); } if (argMap.has('help')) { logger.info(` MCP Ethers Wallet Server Usage: npm start -- [options] Options: --network=<network> Specify the default network (e.g., mainnet, goerli) --help Show this help message `); process.exit(0); } // Import and run the MCP server import './mcpServer.js';

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-ethers-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server