Remove unnecessary Promise wrapper and move args building outside try block so cleanupMcpConfig becomes const with proper type inference instead of never