mcp-config-manager 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
- package/src/config-manager.js +3 -5
package/README.md
CHANGED
|
@@ -336,6 +336,13 @@ npm run web
|
|
|
336
336
|
|
|
337
337
|
This allows testing functionality without affecting real MCP client configurations.
|
|
338
338
|
|
|
339
|
+
## What's New in v2.1.1
|
|
340
|
+
|
|
341
|
+
### Bug Fix
|
|
342
|
+
- **Codex format delete fix**: Server deletion now works correctly for Codex TOML configs (previously deleted servers would reappear due to incorrect object spread in denormalizeConfig)
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
339
346
|
## What's New in v2.1.0
|
|
340
347
|
|
|
341
348
|
### Custom Icon Editing
|
|
@@ -382,6 +389,7 @@ All servers now automatically display logos:
|
|
|
382
389
|
### Bug Fixes
|
|
383
390
|
- Fixed server deletion in Server View (was prompting twice but not deleting)
|
|
384
391
|
- Improved event handling reliability
|
|
392
|
+
- **Fixed Codex format delete bug**: Server deletion now works correctly for Codex TOML configs (previously deleted servers would reappear)
|
|
385
393
|
|
|
386
394
|
## License
|
|
387
395
|
|
package/package.json
CHANGED
package/src/config-manager.js
CHANGED
|
@@ -316,13 +316,11 @@ export class MCPConfigManager {
|
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
} else if (format === 'codex') {
|
|
319
|
-
// Preserve other Codex settings and
|
|
319
|
+
// Preserve other Codex settings and replace the mcp_servers table entirely
|
|
320
|
+
// (don't merge with original, otherwise deleted servers get reintroduced)
|
|
320
321
|
return {
|
|
321
322
|
...originalConfig,
|
|
322
|
-
mcp_servers:
|
|
323
|
-
...(originalConfig.mcp_servers || {}),
|
|
324
|
-
...normalizedConfig.servers
|
|
325
|
-
}
|
|
323
|
+
mcp_servers: normalizedConfig.servers
|
|
326
324
|
};
|
|
327
325
|
}
|
|
328
326
|
return originalConfig;
|