Google Workspace Automation Builder MCP Server
Generates and deploys Google Apps Script code to automate Google Workspace tasks, such as processing sheet data and sending emails.
Provides tools to read and write data from Google Sheets, enabling automation workflows involving spreadsheet data.
Generates code to send Google Sheets data to webhooks for Make (formerly Integromat), enabling integration with Make's automation platform.
Generates code to send Google Sheets data to webhooks for Zapier, enabling integration with Zapier's automation platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Workspace Automation Builder MCP ServerRead data from my inventory sheet in Google Sheets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Workspace Automation Builder MCP Server
A Model Context Protocol (MCP) server that helps you automate Google Workspace tasks, generate Apps Script code, and build workflows with AI assistance.
Features
Current Tools
read_sheet - Read data from Google Sheets
write_sheet - Write data to Google Sheets
generate_apps_script - Generate Apps Script code from natural language descriptions
create_webhook_sender - Generate code to send sheet data to webhooks (Zapier, Make, etc.)
Planned Features
Deploy Apps Script projects directly to Google
Create and manage time-based triggers
AI-powered workflow generation with Claude
Template library for common patterns
Multi-sheet operations
Advanced error handling and logging
Related MCP server: Google Workspace MCP
Installation
Clone or navigate to this directory
Install dependencies:
npm installCopy the environment file and add your credentials:
cp .env.example .envBuild the project:
npm run buildConfiguration
Setting up Google Workspace API
Go to Google Cloud Console
Create a new project or select existing one
Enable Google Sheets API and Google Apps Script API
Create OAuth 2.0 credentials
Add credentials to
.envfile
Setting up Anthropic API (Optional)
Go to Anthropic Console
Generate an API key
Add to
.envfile asANTHROPIC_API_KEY
Using with Claude Desktop
Add this server to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-workspace": {
"command": "node",
"args": [
"/Users/lindsayellis/Desktop/google-workspace-mcp/dist/index.js"
],
"env": {
"GOOGLE_CLIENT_ID": "your_client_id",
"GOOGLE_CLIENT_SECRET": "your_client_secret",
"GOOGLE_REFRESH_TOKEN": "your_refresh_token",
"ANTHROPIC_API_KEY": "your_anthropic_key"
}
}
}
}After adding the configuration, restart Claude Desktop.
Usage Examples
Generate a webhook sender script
Ask Claude:
Use the create_webhook_sender tool to generate a script that sends all data from my sheet to this Zapier webhook: https://hooks.zapier.com/hooks/catch/xxxxx/xxxxx/Generate custom Apps Script
Ask Claude:
Use generate_apps_script to create a script that:
- Runs every Monday at 9am
- Processes column A with AI
- Writes results to column B
- Sends a summary emailRead sheet data
Ask Claude:
Use read_sheet to get data from spreadsheet ID "1ABC...XYZ" range "Sheet1!A1:D10"Development
Run in development mode with auto-reload:
npm run devBuild for production:
npm run buildProject Structure
google-workspace-mcp/
├── src/
│ └── index.ts # Main MCP server
├── dist/ # Compiled JavaScript
├── .env # Your credentials (not committed)
├── .env.example # Template for credentials
├── package.json
├── tsconfig.json
└── README.mdTroubleshooting
Server not appearing in Claude Desktop:
Check that the path in
claude_desktop_config.jsonis correctMake sure you've run
npm run buildRestart Claude Desktop completely
Check logs:
tail -f ~/Library/Logs/Claude/mcp*.log
Authentication errors:
Verify your Google Cloud credentials
Make sure APIs are enabled
Check that OAuth consent screen is configured
Next Steps
Set up Google OAuth authentication
Implement Claude API integration for script generation
Add Apps Script deployment functionality
Create template library
Add more advanced tools
Contributing
Feel free to add new tools and features! The MCP SDK makes it easy to extend.
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides AI assistants with access to Google Workspace APIs including Sheets, Calendar, Gmail, Tasks, Drive, and Docs. Enables full CRUD operations and management of Google services through natural language.Last updated1
- Alicense-qualityCmaintenanceEnables interaction with Google Workspace services (Gmail, Calendar, Drive, Docs, Sheets, Chat, Slides, People) through natural language using Claude Desktop, Claude Code CLI, and other MCP clients.Last updated5173MIT
- Alicense-qualityFmaintenanceEnables Claude Code to interact with Google Workspace services (Drive, Docs, Sheets, Slides, Forms, Gmail) via OAuth 2.0 authentication and natural language commands.Last updated1MIT
- Flicense-qualityDmaintenanceEnables Claude to read, write, append, create, and clear Google Sheets data using natural language.Last updated
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Search and discover Google Apps Script libraries with AI-generated summaries
233 tools for Google, Microsoft, TikTok, LinkedIn Ads in Claude or ChatGPT. Writes need approval.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lindsayellis22/google-workspace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server