Singleton lifecycle for the IMF MCP client — extracted from client.ts so the main client implementation file stays under 600 LOC.
client.ts
Re-exported from client.ts for backward compatibility; callers should continue to import getIMFMCPClient / closeIMFMCPClient from './client.js'.
getIMFMCPClient
closeIMFMCPClient
'./client.js'
Description
Singleton lifecycle for the IMF MCP client — extracted from
client.tsso the main client implementation file stays under 600 LOC.Re-exported from
client.tsfor backward compatibility; callers should continue to importgetIMFMCPClient/closeIMFMCPClientfrom'./client.js'.