{
  "markdown": "[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENCE)\n\n<a name=\"top\"></a>\n\n# dev-gas-extension\n\n<a name=\"abstract\"></a>\n\n# Description\n\nIntroducing \"dev-gas-extension,\" a Gemini CLI extension designed to supercharge your Google Apps Script (GAS) development. This tool streamlines your entire workflow by integrating GAS with VSCode. It allows you to generate, test, and deploy scripts using natural language prompts within a unified environment. A key feature is the \"fake sandbox,\" which provides a secure local environment for safely testing AI-generated code before deployment. With custom commands to automate tasks like creating, cloning, and updating projects, this extension significantly enhances efficiency and productivity for GAS developers.\n\n# How to install dev-gas-extension\n\n## 1. Install Gemini CLI\n\nFirst, install the Gemini CLI using npm:\n\n```bash\nnpm install -g @google/gemini-cli\n```\n\nNext, you will need to authorize the CLI. Follow the instructions provided in the [official documentation](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#-authentication-options).\n\n## 2. Install Clasp\n\nInstall Clasp, the command-line tool for Google Apps Script:\n\n```bash\nnpm install -g @google/clasp\n```\n\nAuthorize Clasp by following the instructions on the [official GitHub repository](https://github.com/google/clasp?tab=readme-ov-file#authorization).\n\nClasp can now be used as an MCP server. While you can configure it directly in your `settings.json`, the Gemini CLI Extension in this guide will handle this for you.\n\n## 3. Install gas-fakes\n\nThe `gas-fakes` package is required for local testing and should be installed in your working directory.\n\n**1. Create a working directory**\n\n```bash\nmakedir sample\ncd sample\n```\n\nIn this article, this working directory is used.\n\n**2. Install gas-fakes**\n\n```bash\nnpm install @mcpher/gas-fakes\n```\n\n**3. Authorization**\n\nYou can see how to authorize at [https://github.com/brucemcpherson/gas-fakes/blob/main/GETTING_STARTED.md](https://github.com/brucemcpherson/gas-fakes/blob/main/GETTING_STARTED.md).\n\n## 4. Install dev-gas-extension\n\nInstall the Gemini CLI extension for GAS development:\n\n```bash\ngemini extensions install https://github.com/tanaikech/dev-gas-extension\n```\n\nFor managing Google Workspace as well, you can install the [ToolsForMCPServer-extension](https://github.com/tanaikech/ToolsForMCPServer-extension).\n\n## 5. Testing the Installation\n\nThis extension can be used both on the terminal with and without VSCode.\n\n**1. Launch Gemini CLI**\n\nLaunch the Gemini CLI from the VSCode terminal:\n\n```bash\ngemini\n```\n\n**2. Verify the installed MCP servers with the following command in the Gemini CLI:**\n\n```\n/mcp\n```\n\nWhen `dev-gas-extension` could be correctly installed, the following response can be seen.\n\n```text\nConfigured MCP servers:\n\n🟢 gas-fakes-mcp (from dev-gas-extension) - Ready (1 tool)\n  Tools:\n  - run_gas_with_gas-fakes\n\n🟢 clasp (from dev-gas-extension) - Ready (5 tools)\n  Tools:\n  - clone_project\n  - create_project\n  - list_projects\n  - pull_files\n  - push_files\n\n🟢 workspace-developer (from dev-gas-extension) - Ready (2 tools)\n  Tools:\n  - fetch_workspace_docs\n  - search_workspace_docs\n```\n\nThe `workspace-developer` tool is from the [Use Large Language Models (LLMs) to develop on Google Workspace](https://developers.google.com/workspace/guides/build-with-llms) guide.\n\n# Sample prompts\n\nThe sample prompts using the tools of this MCP server are as follows.\n\n- [Streamlining Google Apps Script Development with Gemini CLI Extensions and VSCode](https://medium.com/google-cloud/streamlining-google-apps-script-development-with-gemini-cli-extensions-and-vscode-d69e9eaea22a)\n\n---\n\n<a name=\"licence\"></a>\n\n# Licence\n\n[MIT](LICENCE)\n\n<a name=\"author\"></a>\n\n# Author\n\n[Tanaike](https://tanaikech.github.io/about/)\n\n[Donate](https://tanaikech.github.io/donate/)\n\n<a name=\"updatehistory\"></a>\n\n# Update History\n\n- v1.0.0 (October 21, 2025)\n\n  1. Initial release.\n\n[TOP](#top)\n",
  "bytes": 4010,
  "sha": "4ee42880dea810efa6376a96206fa365d34f5116d366d9469759b563e3885e56",
  "repo_slug": "tanaikech/dev-gas-extension",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_tanaikech_dev_gas_extension_87e6b8c2/readme"
}