Skip to content
Cursor

Google Apps Script MCP for Cursor

io.github.a1-x-tech/mcp-google-apps-script

MCP server for the Google Apps Script API: projects, code, versions, deployments and executions.

client:Cursor transport:stdio runtime:npm

Install Google Apps Script MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-google-apps-script": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-apps-script"
      ],
      "env": {
        "GOOGLE_APPS_SCRIPT_CLIENT_ID": "<GOOGLE_APPS_SCRIPT_CLIENT_ID>",
        "GOOGLE_APPS_SCRIPT_CLIENT_SECRET": "<GOOGLE_APPS_SCRIPT_CLIENT_SECRET>",
        "GOOGLE_APPS_SCRIPT_REFRESH_TOKEN": "<GOOGLE_APPS_SCRIPT_REFRESH_TOKEN>",
        "GOOGLE_APPS_SCRIPT_ACCESS_TOKEN": "<GOOGLE_APPS_SCRIPT_ACCESS_TOKEN>",
        "GOOGLE_APPS_SCRIPT_OAUTH_PORT": "<GOOGLE_APPS_SCRIPT_OAUTH_PORT>",
        "GOOGLE_APPS_SCRIPT_API_BASE": "<GOOGLE_APPS_SCRIPT_API_BASE>",
        "GOOGLE_APPS_SCRIPT_TIMEOUT_MS": "<GOOGLE_APPS_SCRIPT_TIMEOUT_MS>",
        "GOOGLE_APPS_SCRIPT_MAX_RETRIES": "<GOOGLE_APPS_SCRIPT_MAX_RETRIES>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Google Apps Script MCP in other clients