Skip to content

feat(mcp): add runner config sync - #69

Merged
doyled-it merged 4 commits into
mainfrom
feat/mcp-config-sync
Jun 5, 2026
Merged

feat(mcp): add runner config sync#69
doyled-it merged 4 commits into
mainfrom
feat/mcp-config-sync

Conversation

@doyled-it

@doyled-it doyled-it commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Add a command palette workflow for comparing configured MCP servers across runners, and automatically sync missing Claude/Codex MCP server definitions before the New Session dialog loads its runner-specific MCP list.

Changes

  • Added an MCP sync planner for Claude and Codex configs, with OpenCode shown as unsupported for sync.
  • Added a Sync MCP Servers command palette action and overlay showing inventory, an all-missing sync action, individual sync actions, and write previews.
  • Auto-sync missing Claude/Codex server definitions when opening New Session from either the command palette or the n shortcut, so runner toggles see the same configured server set immediately.
  • Wired README guidance, help overlay copy, and tests for parsing, diffing, preservation, single-action confirmation, all-missing confirmation, automatic command-palette sync, and automatic shortcut sync.

Testing

  • cargo test --all-features (792 passed, 3 ignored)
  • cargo test --all-features test_new_session_ (command-palette and shortcut New Session regression coverage)
  • prek run --all-files (cargo fmt, cargo clippy, cargo test, and release build all passed)
  • Manually exercised the affected flows: launched target/release/agent-view, opened Ctrl+K, selected Sync MCP Servers, verified the inventory/preview overlay, and exited without confirming a write.

Screenshots / Recordings

Not attached. Manual smoke coverage verified the terminal overlay rendered the inventory and preview.

Version Label

version:minor

Related Issues

Closes: #67

Checklist

  • Commits follow Conventional Commits
  • Code follows the layering rules in CONTRIBUTING.md (no UI imports in core/, no state mutation in ui/)
  • New code is covered by tests where practical
  • Documentation (README, in-repo docs, help overlay) updated if behavior changed
  • A version:* label is applied (or this change intentionally ships without a release)

@doyled-it doyled-it added enhancement New feature or request version:minor Triggers minor version bump labels Jun 5, 2026
@doyled-it
doyled-it merged commit 49f9630 into main Jun 5, 2026
5 checks passed
@doyled-it
doyled-it deleted the feat/mcp-config-sync branch June 5, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request version:minor Triggers minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync MCP server configuration across runners

1 participant