v2.7.6: MCPB install fix when user_config blank
MCPB install fix when user_config blank
Patch for .mcpb bundle installs. When all three optional user_config fields are left blank, MCPB hosts (Claude Desktop included) pass through literal ${user_config.X} placeholder strings instead of empty values, which then crashed z.email() lazily after initialize and exited the server.
Fixed:
emptyAsUndefinedstrips${...}placeholders alongside''. CoversapiKey,adminEmail,unpaywallEmail,europepmcEmail.manifest.json—ncbi_api_key,ncbi_admin_email,unpaywall_emaildeclare"default": ""so conformant hosts substitute empty string in the first place.
624 tests pass; bun run devcheck clean.