Gas MCP Server

MCP server for Google Apps Script: CommonJS module system, ad-hoc code execution, Unix-inspired commands (cat, grep, ls), and AI-assisted development

Local serverstdioTypeScript

What is the Gas MCP MCP server?

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.

What it actually does

// Tell your AI: "Build an expense tracker that categorizes Gmail receipts" // AI handles OAuth, Gmail API, and spreadsheet integration

Its toolset

Everything the assistant can do here goes through one of these:

  • 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

Configuration

| 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

Adding it to your client

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.

When to reach for it

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.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Gas MCP.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the gas mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
catRead files
writeWrite files
mkdirCreate folders
grepSearch text
findFind files
ripgrepFast search
sedFind & replace
runRun code
execExecute functions
rsyncStateless sync (pull/push with dryrun)
git_featureFeature branch management
configManage sync folder
deployUnified deployment management (promote/rollback/status/reset)
project_createNew project

How to install the Gas MCP MCP server

{
  "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.

Configuration

| 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

Example prompts to try

  • Use Gas MCP to cat.
  • Use Gas MCP to write.
  • Use Gas MCP to mkdir.

Frequently asked questions

It connects Gas MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (cat, write, mkdir, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Gas MCP directly.