MCP servers · Google Apps Script · MCP server
Connect Codex CLI to Google Apps Script
One line gives Codex CLI your Google Apps Script account as tools: 8 endpoints, projects, deploy, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Google Apps Script. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Create a project in Google Apps Script".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Google Apps Script
Projects · Script projects and their files8
Create a project
POST /projectsGet a project
GET /projects/{scriptId}Get a content
GET /projects/{scriptId}/contentUpdate a content
PUT /projects/{scriptId}/contentCreate a version
POST /projects/{scriptId}/versionsList deployments
GET /projects/{scriptId}/deploymentsCreate a deployment
POST /projects/{scriptId}/deploymentsUpdate a deployment
PUT /projects/{scriptId}/deployments/{deploymentId}Deploy · Versions and web-app deployments0
Versions and web-app deployments
Google Apps Script in other AI clients
Claude Code + Google Apps ScriptMCP server + skillClaude (desktop & claude.ai) + Google Apps ScriptconnectorChatGPT + Google Apps Scriptconnector · GPT actionGemini CLI + Google Apps ScriptMCP serverCursor + Google Apps ScriptMCP serverVS Code (Copilot) + Google Apps ScriptMCP serverWindsurf + Google Apps ScriptMCP server
