{
  "markdown": "# Gemini API docs MCP and extension for Gemini CLI\n\nThis extension provides documentation support for building with the Gemini API\non the Gemini CLI or other MCP-enabled tools.\n\n![Video showing the Gemini docs extension installing and working in the Gemini CLI](demo.webp)\n\n## Gemini CLI installation\n\nYou can clone the repository directly into the Gemini CLI extensions directory. Choose between a global installation (available to your user everywhere) or a local installation (for the current workspace).\n\n### Global Installation\n```bash\nmkdir -p ~/.gemini/extensions\ngit clone https://github.com/markmcd/gemini-docs-ext.git ~/.gemini/extensions/gemini-docs-ext\n```\n\n### Workspace Installation\n```bash\nmkdir -p ./.gemini/extensions\ngit clone https://github.com/markmcd/gemini-docs-ext.git ./.gemini/extensions/gemini-docs-ext\n```\n\nGemini CLI will automatically load the extension on startup.\n\n## Other tools\n\nYou can adapt this extension to provide context for other tools or APIs by following these steps:\n\n1.  **Create a system `.md` file:**\n    Copy the contents of `GEMINI.md` to your tool's system instructions, e.g.\n    `CLAUDE.md` or `CONTEXT.md`.\n\n2.  **Add the MCP servers:**\n    [`gemini-extension.json`](gemini-extension.json) contains a fairly standard MCP configuration. You may be able to copy the `mcpServers` block directly into your tool's MCP configuration.\n\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"gemini-docs-mcp\": {\n          \"command\": \"uvx\",\n          \"args\": [\n            \"--from\",\n            \"mcpdoc\",\n            \"mcpdoc\",\n            \"--urls\",\n            \"GeminiApiDocs:https://ai.google.dev/gemini-api/docs/llms.txt\",\n            \"GeminiApiReference:https://ai.google.dev/api/llms.txt\",\n            \"--transport\",\n            \"stdio\"\n          ]\n        }\n      }\n    }\n    ```\n\n",
  "bytes": 1823,
  "sha": "ae205d23a76a429dc7bed0bb4d20e1164bdef9692c3a25993680e78b1cd73207",
  "repo_slug": "markmcd/gemini-docs-ext",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_markmcd_gemini_docs_ext_6b7eb59b/readme"
}