MCP server for Google Apps Script: CommonJS module system, ad-hoc code execution, Unix-inspired commands (cat, grep, ls), and AI-assisted development
MCP server for Google Apps Script: CommonJS module system, ad-hoc code execution, Unix-inspired commands (cat, grep, ls), and AI-assisted development. The gas mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
// Tell your AI: "Build an expense tracker that categorizes Gmail receipts" // AI handles OAuth, Gmail API, and spreadsheet integration
Everything the assistant can do here goes through one of these:
cat — Read fileswrite — Write filesmkdir — Create foldersgrep — Search textfind — Find filesripgrep — Fast searchsed — Find & replacerun — Run codeexec — Execute functionsrsync — Stateless sync (pull/push with dryrun)git_feature — Feature branch managementconfig — Manage sync folder| Requirement | Why Needed | How to Get | Auto-Checked? | |------------|------------|------------|---------------| | Git | Clones repository | Download | ✅ Yes | | Node.js 18+ | Runs the MCP server | Download | ✅ Yes | | Google Account | Access Google Apps Script | Create free | ❌ Manual | | **AI
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Gas MCP's toolset — cat, write, mkdir and 11 more — is a fair guide to whether it matches your workflow. It is maintained by whichguy; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Gas MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| cat | Read files |
| write | Write files |
| mkdir | Create folders |
| grep | Search text |
| find | Find files |
| ripgrep | Fast search |
| sed | Find & replace |
| run | Run code |
| exec | Execute functions |
| rsync | Stateless sync (pull/push with dryrun) |
| git_feature | Feature branch management |
| config | Manage sync folder |
| deploy | Unified deployment management (promote/rollback/status/reset) |
| project_create | New project |
{
"mcpServers": {
"gas": {
"command": "node",
"args": ["/absolute/path/to/mcp_gas/dist/src/index.js"],
"env": {"NODE_ENV": "production"}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Requirement | Why Needed | How to Get | Auto-Checked? | |------------|------------|------------|---------------| | Git | Clones repository | Download | ✅ Yes | | Node.js 18+ | Runs the MCP server | Download | ✅ Yes | | Google Account | Access Google Apps Script | Create free | ❌ Manual | | **AI
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.