INNER CODE UNIT · TypeScript
configPath
lazy-dinosaur/ccxt-mcp · src/index.ts:24
configPath = args[configIndex + 1];
console.error(`[INFO] Using custom config file: ${configPath}`);
}
// --sse 옵션 처리
if (args.includes('--sse')) {
useSse = true;
}
// --host 옵션 처리
const hostIndex = args.indexOf('--host');
if (hostIndex !== -1 && args.length > hostIndex + 1) {
host = args[hostIndex + 1];
}
// --port 옵션 처리
const portIndex = args.indexOf('--port');
if (portIndex !== -1 && args.length > portIndex + 1) {