chrome-devtools-mcp icon indicating copy to clipboard operation
chrome-devtools-mcp copied to clipboard

Add Gemini CLI extension context file for improved tool usage guidance for CLI

Open LyalinDotCom opened this issue 3 weeks ago • 2 comments

Is your feature request related to a problem? Please describe.

When using Chrome DevTools MCP with Gemini CLI, the AI doesn't have built-in knowledge of how to effectively use the available tools. Users interacting with Gemini CLI could get mixed results especially if similar MCP tools exists from other installed servers in the context.

Describe the solution you'd like

Add a gemini-extension.md context file that provides system-level instructions to Gemini CLI when this extension is installed. We'd also need to update the gemini-extension.json to reference the new file via the contextFileName property.

Describe alternatives you've considered

This is how Gemini CLI Extensions work best so there is not an alternative to suggest

Additional context

I'm from the Gemini CLI team and figured it would not hurt to add this feature, so will be submitting a PR as a starting point for this. But expert users of this MCP server might find additional instructions to include in the markdown that I'm not considering.

LyalinDotCom avatar Dec 24 '25 21:12 LyalinDotCom

cc @natorion

OrKoN avatar Jan 07 '26 14:01 OrKoN

This would be great to have - is this the same mechanism as Skills? https://geminicli.com/docs/cli/skills/

natorion avatar Jan 08 '26 09:01 natorion