Get the FREE Ultimate OpenClaw Setup Guide →

gemini-cli

> Gemini Rust Suite 🦀: A powerful, modular Rust toolkit for interacting with Google Gemini. Features a feature-rich CLI, persistent semantic memory (LanceDB), and extensible tool integration via the Model Context Protocol (MCP).

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio frostdev-ops-gemini-cli gemini-cli-bin --command-mcp

How to use

Gemini Rust Suite exposes a CLI (gemini-cli) that includes built-in MCP servers for filesystem operations, command execution, and a memory store. These MCP servers let you extend Gemini’s capabilities by connecting external tools and services via the MCP protocol, enabling tool invocation from prompts and managing contextual memory. You can run the built-in MCP servers directly from the CLI using flags, or run the gemini-cli as a client to interact with an MCP host daemon (mcp-hostd) or an embedded MCP host. The suite also provides persistent memory integration and prompt enhancement to keep context across sessions. To use the MCP tools, start the Gemini CLI with the desired server flags or run the corresponding mcp servers through the mcp-hostd daemon, then issue tool calls from your prompts and Gemini will translate them into MCP tool executions.

How to install

Prerequisites:

  • Rust toolchain (install from https://rustup.rs/)
  • Basic Git and shell access
  • Optional: Gemini API key for full Gemini API features

Manual installation steps:

  1. Clone the repository (if not already): git clone https://github.com/your-username/gemini-rust-suite cd gemini-rust-suite

  2. Build the release binaries: cargo build --release --bin gemini-cli-bin --bin mcp-hostd

  3. Install binaries to a location in your PATH: cp target/release/gemini-cli-bin ~/.local/bin/ cp target/release/mcp-hostd ~/.local/bin/

  4. Ensure ~/.local/bin is in your PATH. Then you can run the CLI and MCP host: gemini-cli-bin --filesystem-mcp mcp-hostd &

  5. Optional: Use the provided install script from the project root to automate setup (if available): ./install.sh This will build, install binaries, and configure shell helpers.

Notes:

  • The built-in MCP servers are invoked via CLI flags (e.g., --filesystem-mcp, --command-mcp, --memory-store-mcp). See repository docs for exact usage.
  • After installation, reload your shell to enable the gemini wrapper function and, on Zsh, the mcpd helper.

Additional notes

Tips and known considerations:

  • The MCP servers (filesystem, command, memory store) are built-in helpers. Use them to extend Gemini’s capabilities without external tooling.
  • Ensure your GEMINI_API_KEY (if required) is configured in your environment to access Gemini APIs.
  • If you plan to run mcp-hostd as a daemon, familiarize yourself with the mcpd controls (start/stop/status/logs).
  • The CLI aims to provide session history across commands via a wrapper; ensure your shell config is reloaded after installation.
  • If you encounter path issues, verify that the binaries (gemini-cli-bin and mcp-hostd) are executable and present in PATH.

Related MCP Servers

Sponsor this space

Reach thousands of developers ↗