Install this MCP

Pick your client, then copy the config.

Install config
{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gemini"
      ]
    }
  }
}

Set up with your agent

Uses the same client as above (Cursor). Paste into that agent.

Agent prompt
Install the "gemini-cli MCP" MCP for Cursor in this workspace.
1. Read official install docs: https://github.com/google-gemini/gemini-cli
2. Merge this JSON into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gemini"
      ]
    }
  }
}
3. Restart Cursor if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/gemini-cli.html

Try it

After install, paste one of these into your agent.

  • Show me what gemini-cli can do
  • Set up a simple workflow using gemini-cli
  • List the tools available in gemini-cli