feat(cli): config prime-agent — proxy MCP + skills + /mcpctl switcher (hardened across 2 reviews)
#95
Reference in New Issue
Block a user
Delete Branch "feat/config-prime-agent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Complete
mcpctl config prime-agentfeature, hardened across two review rounds. Includes the/mcpctlin-app project switcher.What it does
mcpctl config prime-agent --project X:~/.prime/agent/settings.json(merging, preserving non-mcpServers settings, keeping untagged servers like hand-configuredsre).~/.prime/agent/auth.json(mcp:X; via--token, existing entry, or auto-mint that first revokes priorprime-agenttokens).~/.prime/agent/skills/(per-project ownership; never deletes another project's skills or untracked hand-authored dirs)./mcpctlproject-switcher extension into~/.prime/agent/extensions/(skip with--skip-extension) so you can switch projects from the prime-agent TUI..mcpctl-projectmarker (explicit-pis authoritative, never scopes$HOME).Also adds
mcpctl skills sync --agent prime-agentfor re-syncing.Review hardening (round 1 + round 2)
0600.mcpctlManagedtag; the extension reads that tag (no false short-circuit); an explicit-pupdates a differing marker.runSkillsSyncviatarget; mcpServers auto-attach is gated + warned for prime-agent (no silent mcpd project mutation).--agentvalidation — unknown target errors.Validation
tsc --buildclean; full CLI suite 544 tests green.sreskill preserved; 544 tests include corrupt-input, 0600-mode, mint-failure-exit, cross-project preservation, and single-active dedup.config prime-agentsync + install /mcpctl switcher extensionView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.