This repository contains a collection of custom MCP (Multi-Capability Provider) servers designed to extend the functionality of the Gemini CLI.
Before installing the individual servers, it's recommended to set up the project environment.
-
Clone the Repository (if you haven't already):
# Replace with the actual repository URL git clone https://github.com/your-username/gemini-cli-mcp-servers.git cd gemini-cli-mcp-servers
-
Set up the Virtual Environment: This project uses
uvfor environment and package management.# Create and activate a virtual environment uv venv source .venv/bin/activate # Install base dependencies uv pip install -e .
Below is a list of the available servers and how to install them into the Gemini CLI. The recommended installation method is using the fastmcp command-line tool.
An MCP server to help refine user prompts based on a set of prompt engineering best practices.
- To Install:
fastmcp install gemini-cli promptgen_server/main.py --name promptgen
- Usage:
> /promptgen 'your simple prompt idea'
A powerful orchestrator agent that follows an "Analyze -> Decide -> Formulate -> Delegate" loop to accomplish complex tasks by dispatching specialist agents.
- To Install:
fastmcp install gemini-cli superagent_server/main.py --name superagent
- Usage:
> /superagent 'your high-level goal here'
Important Setup for SuperAgent:
The SuperAgent requires a dedicated temporary directory for its operations. Please create the following directory in your home directory:
mkdir -p ~/tmp/gemini-tasks/Additionally, you must inform the Gemini CLI about this new directory so it can write scratch files outside the current working directory. You can do this in one of two ways:
- Using the Gemini CLI command:
/directory add ~/tmp/gemini-tasks/ - Manually editing
settings.json: Add the following entry to yoursettings.jsonfile, located in your.gemini/folder:(Note: Replace"context": { "ignore": [], "includeDirectories": [ "/Users/ksprashanth/tmp/gemini-tasks" ] },
/Users/ksprashanth/tmp/gemini-taskswith the actual absolute path to yourgemini-tasksdirectory if it's different.)
This is not an officially supported Google product.
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.