Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Unify legacy MCP configs into the layer pipeline

8 months ago

a35e377
Authored
mweinbach2/23/2026, 4:01:56 PM
Load legacy config files through readLayer() instead of
separate fileExists() checks, giving them proper precedence
in the merge pipeline rather than ignoring their servers.

- Add user_legacy and workspace_legacy to precedence order
- Remove standalone fileExists() helper
- Simplify file state construction via fileForSource()
- Update tests to verify legacy servers are included

Parent0b64f43

3 files changed
  • src/mcp/configRegistry/layers.ts+14−42
  • test/mcp.config-registry.test.ts+66−2
  • test/mcp.test.ts+6−2