Google Apps Script MCP MCP Server
io.github.A1-x-Tech/mcp-google-apps-script
What is the Google Apps Script MCP MCP server?
MCP server for the Google Apps Script API: projects, code, versions, deployments and executions.
How to install Google Apps Script MCP
Copy-paste configuration for popular MCP clients.
GOOGLE_APPS_SCRIPT_CLIENT_IDGoogle OAuth2 client id (refresh-token flow).
GOOGLE_APPS_SCRIPT_CLIENT_SECRETsecretGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_APPS_SCRIPT_REFRESH_TOKENsecretGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_APPS_SCRIPT_ACCESS_TOKENsecretStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_APPS_SCRIPT_OAUTH_PORTFixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
GOOGLE_APPS_SCRIPT_API_BASEAPI root override.
GOOGLE_APPS_SCRIPT_TIMEOUT_MSPer-request timeout in milliseconds.
GOOGLE_APPS_SCRIPT_MAX_RETRIESRetries on transient errors (429 always; 5xx/network for reads).
Related MCP servers

MCP server for Google Business Profile: locations, reviews, local posts and performance metrics.

Google Calendar MCP
MCP server for the Google Calendar API: events, recurrence, invitations, availability, calendars.

Google Chat MCP
MCP server for the Google Chat API: spaces, messages, threads, reactions and memberships.

Google Contacts MCP
MCP server for the Google People API: search, create, update and delete contacts and groups.

Google CrUX MCP
Real-user Core Web Vitals from the Chrome UX Report (CrUX) API for any origin or URL.

Google Custom Search MCP
MCP server for Google Custom Search: web and image search via a Programmable Search Engine.