gemini -manager
A PowerShell script to manage Model Context Protocol (MCP) servers for the Gemini CLI. It allows adding, removing, enabling/disabling, and listing server configurations.
claude mcp add --transport stdio neo10111-gemini-mcp-manager powershell -ExecutionPolicy Bypass -File mcp-manager.ps1
How to use
This MCP server manager provides a PowerShell-based interface for configuring and controlling MCP servers used by the Gemini CLI. It lets you list all configured MCP servers, enable or disable them without deletion, add new servers, or remove existing ones. Through auto-detection of Gemini CLI settings, it can back up your configuration before making changes and offer repairs if a configuration becomes corrupted. Use the available commands to manage your MCP server fleet and ensure Gemini uses only the active, desired servers for model context interactions.
How to install
Prerequisites:
- PowerShell 5.1 or higher installed on your system
- Gemini CLI installed and configured
Installation steps:
- Clone this repository or download the mcp-manager.ps1 script directly.
- Place mcp-manager.ps1 in a directory included in your system PATH so you can invoke it from anywhere.
- (Optional) If your system restricts script execution, enable it for the current user: PowerShell command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Verify installation by running: powershell -NoProfile -ExecutionPolicy Bypass -File mcp-manager.ps1 help
- Start using the script (e.g., list, add, enable, disable, remove) to manage Gemini MCP servers.
Additional notes
Tips and considerations:
- The manager auto-detects Gemini CLI settings.json and creates a backup before applying changes.
- Disabled servers are kept separately to avoid affecting runtime behavior; you can easily re-enable them.
- Use the status command to confirm the current state of a server before making changes.
- Ensure the mcp-manager.ps1 script has appropriate permissions to read and write Gemini CLI configuration files.
- If you encounter issues, run the script with the help flag (mcp-manager.ps1 help) to see all supported commands and examples.
Related MCP Servers
systemprompt-code-orchestrator
MCP server for orchestrating AI coding agents (Claude Code CLI & Gemini CLI). Features task management, process execution, Git integration, and dynamic resource discovery. Full TypeScript implementation with Docker support and Cloudflare Tunnel integration.
apple-mail
MCP server giving AI assistants full access to Apple Mail - read, search, compose, organize & analyze emails via natural language
ToolsForMCPServer-extension
Simplified Google Workspace Automation with Gemini CLI Extensions
gns3
AI-Powered GNS3 Network Simulation MCP Server
mcp-jest
Automated testing for Model Context Protocol servers. Ship MCP Servers with confidence.
figma
A comprehensive local MCP server for Figma