MCP server for the Google Apps Script API: projects, code, versions, deployments and executions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
English | ะ ัััะบะธะน
A1 Google Apps Script MCP lets an AI app write and operate Google Apps Script in plain language. Create a script project, read and edit its code, snapshot versions, manage deployments, run functions and read the execution history.
It uses the Google Apps Script API with your Google account. It distinguishes the editable HEAD code from immutable versions and makes the limits of the Apps Script API explicit instead of implying that every scripting task is possible.
appsscript manifest and every file you did not mention; replace mode refuses a file set without the manifest before any network traffic.scriptId returned by create_project is the only handle.script.projects, script.deployments, script.processes, script.metrics); request only what your tasks need.Start with a read-only question:
Show me the files in my report script and which functions failed this week.
Connect the server ยท Explore use cases ยท Open technical documentation
You: Show the code and the recent runs of my report script.
Assistant: Shows every file with its source and the execution history โ which functions ran, when, and which failed. Nothing changes.
You: Add a
formatDatehelper to the Utils file and keep everything else as is.Assistant: Shows the proposed source and confirms that merge mode leaves the other files untouched, then asks for confirmation before writing.
You: Confirm.
Assistant: Writes the file to HEAD. It does not create a version, redeploy or run anything unless you ask separately.
You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Apps Script API enabled.
In the app: open Settings โ MCP servers, select Add server, choose STDIO, enter the command npx -y mcp-google-apps-script@latest and environment variables GOOGLE_APPS_SCRIPT_CLIENT_ID, GOOGLE_APPS_SCRIPT_CLIENT_SECRET, GOOGLE_APPS_SCRIPT_REFRESH_TOKEN, then select Save and Restart.
From the command line:
The current official path is Settings โ Extensions. For a custom desktop extension, open Advanced settings โ Extension Developer โ Install Extensionโฆ, select a .mcpb file and follow the prompts.
This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:
In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.
Add this to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:
Run MCP: Open User Configuration and add:
Check it with MCP: List Servers.
sendDigest.sendDigest and show the result; if the script throws, show the stack trace.create_project creates a project โ standalone, or bound to a Doc, Sheet, Slides or Form. Keep the returned scriptId: the API cannot list projects.update_project_content merges by default โ it upserts the files you name and keeps the rest โ and only replaces the entire set when asked; the appsscript manifest can never be deleted.create_version snapshots HEAD as an immutable version โ no edit, no delete, numbers only grow.@HEAD deployment cannot be deleted.The API cannot delete a project either โ that means deleting its Drive file, which this server does not cover. run_function requires an API-executable deployment, an OAuth client from the same Cloud project as the script and the script's own scopes on the token; Apps Script stops any execution after 6 minutes. The execution history shows status and timing but no error messages โ those live in Cloud Logging or come from re-running the function.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/google-apps-script-mcp)<a href="https://allmcps.com/mcp/google-apps-script-mcp"><img src="https://allmcps.com/api/badge/google-apps-script-mcp?style=directory" alt="Google Apps Script MCP on AllMCPs" /></a>