You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(#47,#44): fix MCP source attribution and cross-tool broadcast
Issue #47 — Misattributed source_tool after dedup:
The MCP cache dedup key was name-only, so whichever tool was collected
last would overwrite earlier entries' source_tool. Changed _key_mcp()
to use (source_tool, name) so each tool's servers are preserved as
distinct entries with correct attribution.
Issue #44 — apc mcp sync broadcasts ALL servers to ALL tools:
Added _filter_mcp_for_tool() in sync_helpers.py that applies a server
to a tool only when source_tool matches or the server's targets list
explicitly includes the tool. sync_all() and sync_mcp() now use this
filter by default.
Added --all-sources / --all-sources-mcp flags to restore the old
broadcast behaviour when explicitly requested.
Tests updated to reflect new source-aware default behaviour and added
test_collect_then_sync_claude_all_sources for the opt-in path.
0 commit comments