Replies: 1 comment
-
|
seems like this should be a FR? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
💡 Idea: MCP Server Manager for Gemini CLI (Enable/Disable MCPs like Extensions)
Hey everyone 👋,
The Gemini CLI already provides several useful commands to manage MCP servers — you can add, list, and remove them easily.
However, one key feature still seems to be missing: the ability to temporarily enable or disable an MCP server without deleting it from the configuration.
This makes it a bit inconvenient when you want to quickly toggle between multiple MCP setups — for example, testing one server while keeping others inactive.
To experiment with a potential solution, I created a small PowerShell tool called MCP Server Manager.
It extends the current MCP management features by adding the missing enable/disable functionality and a few safety utilities.
🚀 What It Does
settings.jsonfile used by Gemini CLI.⚙️ Example Usage
Example Output:
🧠 Why I Built This
Even though Gemini CLI already supports several MCP management commands, it doesn’t yet allow toggling servers on or off dynamically — similar to how extensions can be managed in other tools.
This script is a small attempt to fill that gap and make it easier to experiment with different MCP environments without constantly editing or deleting entries from
settings.json.It’s written in PowerShell, so it runs natively on Windows and works with PowerShell Core on macOS/Linux.
💬 Discussion Points
enable/disablefeature for MCP servers?gemini mcp disable <name>andgemini mcp enable <name>?📦 Repo
👉 GitHub Repository (gemini-mcp-manager)
(not official yet — just sharing the idea and getting feedback!)
Thanks for reading!
I’d love to hear your thoughts — maybe this could inspire a native MCP extension management system in the Gemini CLI itself.
Beta Was this translation helpful? Give feedback.
All reactions