Skip to content

Conversation

@ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Dec 11, 2025

Adds a toggle to disable MCP servers without removing them from config. Disabled servers retain their configuration but don't inject tools into conversations.

Why: Tool definitions consume context tokens. When you don't need a server's tools for a particular task, disabling it avoids unnecessarily blowing up the context. This mirrors similar functionality in Claude Code.

Changes:

  • Switch toggle in project settings (left side of each server row)
  • Config format: string when enabled, { command, disabled: true } when disabled
  • Backwards compatible with existing configs
  • Optimistic UI updates

CI fix: Also fixes a caching bug in setup-mux action where restore-key matches (partial cache hits) would skip bun install, causing builds to fail when new dependencies were added. Now runs install on any non-exact cache hit while preserving the Windows optimization that skips bun cache decompression when node_modules already exists.


Generated with mux

@ethanndickson ethanndickson force-pushed the mcp-tools-q7v7 branch 5 times, most recently from 22d9c29 to a44833a Compare December 11, 2025 07:54
Add toggle to disable MCP servers without removing them from config.
Disabled servers retain their configuration but don't inject tools
into conversations, reducing context size.

- Config format: string (enabled) or { command, disabled: true }
- Backwards compatible with existing configs
- Optimistic UI updates with switch on left side
- Integration + unit test coverage

Also fixes CI caching to always run bun install on partial cache hits.
@ethanndickson
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ethanndickson ethanndickson added this pull request to the merge queue Dec 11, 2025
Merged via the queue into main with commit d6ee74a Dec 11, 2025
20 checks passed
@ethanndickson ethanndickson deleted the mcp-tools-q7v7 branch December 11, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant