Skip to content

Support for gemini-cli #19

Closed
Closed

Description

@chitralverma

Hi I tried getting this to work with gemini-cli and even though the mcp server is live and skills are installed, gemini still defaults to its ReadFile tool and other commands like cat/ head/ grep etc. Additional the incremental indexer is not triggered automatically but gemini still locks the db.

Any ideas on how to get this working or maybe an official guide ?

Image Image Image

Activity

  1. added a commit that references this issue on Mar 6, 2026
  2. DeusData commented on Mar 6, 2026

    @DeusData
    Owner

    Gemini CLI is now auto-configured by the install command in v0.4.1. We also added support for VS Code (Copilot) and Zed in the same release.

    The install command now auto-detects and configures: Claude Code, Codex CLI, Cursor, Windsurf, Gemini CLI, VS Code, and Zed.

    Could you update and try codebase-memory-mcp install again? Let me know if you still encounter any issues.

  3. DeusData commented on Mar 8, 2026

    @DeusData
    Owner

    Is this issue still active? Otherwise I will close :)

  4. chitralverma commented on Mar 9, 2026

    @chitralverma
    ContributorAuthor

    let me check this today

  5. added a commit that references this issue on Mar 9, 2026
  6. DeusData commented on Mar 11, 2026

    @DeusData
    Owner

    Hey, any update here? Otherwise I will close the issue

  7. chitralverma commented on Mar 11, 2026

    @chitralverma
    ContributorAuthor

    hi checked this again, the skills are registering but the projects are not indexing automatically and gemini still defaults to its ReadFile tool and other commands like cat/ head/ grep etc.

  8. DeusData commented on Mar 19, 2026

    @DeusData
    Owner

    Fixed in 159378a and 442cb95 — shipping with v0.5.0.

    Full Gemini CLI support added to install/uninstall:

    • MCP config: auto-upsert in ~/.gemini/settings.json
    • Instructions: ~/.gemini/GEMINI.md with MCP tool preference directives
    • BeforeTool hook: reminds Gemini to use MCP tools when it reaches for grep_search/read_file

    Also added Antigravity support (shares Gemini's settings.json + separate mcp_config.json and AGENTS.md).

    Thanks for reporting @chitralverma — your screenshots showing Gemini defaulting to ReadFile were key evidence for the hook approach.

    If the incremental indexer / DB locking issue persists, that's a separate concern — please file a new issue for that.

  9. added a commit that references this issue on May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor/integrationEditor compatibility and CLI integration

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions