Google Workspace Tools
Simplified Google Workspace Automation with Gemini CLI Extensions
What is Google Workspace Tools?
Google Workspace Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to simplified google workspace automation with gemini cli extensions
Simplified Google Workspace Automation with Gemini CLI Extensions
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Simplified Google Workspace Automation with Gemini CLI Exten
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx toolsformcpserver-extensionConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google Workspace Tools
ToolsForMCPServer-extension packages the ToolsForMCPServer Google Apps Script library as a Gemini CLI extension, enabling Gemini CLI to automate Google Workspace services — Docs, Sheets, Slides, Gmail, Calendar, Drive, Classroom, Analytics, and Maps — through natural language commands. The underlying MCP server runs as a Google Apps Script Web App deployed from the user's own Google account, so all actions execute with the user's own Google permissions without any third-party credential storage. Installing the extension with a single 'gemini extensions install' command configures all required MCP tools automatically, making it the fastest path to Google Workspace automation with AI.
Prerequisites
- Node.js with the Gemini CLI installed globally (npm install -g @google/gemini-cli)
- A Google account authorized in Gemini CLI
- A Gemini API key (set as GEMINI_API_KEY environment variable)
- Access to Google Apps Script at script.google.com to copy and deploy the Web App
Install Gemini CLI
Install the Gemini CLI globally via npm and authenticate with your Google account.
npm install -g @google/gemini-cli
# Then authorize:
gemini authCopy the Google Apps Script project
Log into your Google account and visit the linked Apps Script project URL. Click the copy button at the top right to create your own copy of the ToolsForMCPServer project.
# Visit this URL in your browser while signed into Google:
# https://script.google.com/home/projects/1Qm9LgtuQLxDzdLUoJPrOEpmyTBivZZsCLiSUC7q-D3Gi4fISvxgcITWbDeploy the Apps Script as a Web App
In the copied script editor, click Deploy > New deployment > Web App. Set 'Execute as' to 'Me' and 'Who has access' to 'Anyone'. After authorizing scopes, copy the Web App URL (format: https://script.google.com/macros/s/###/exec).
Set environment variables
Export your Gemini API key and the Web App URL with your access key. The default access key is 'sample' — change it in both the Apps Script and this URL if desired.
export GEMINI_API_KEY="your-gemini-api-key"
export MCP_WEB_APPS_URL="https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec?accessKey=sample"Install the Gemini CLI extension
Run the extension install command to register all ToolsForMCPServer tools with Gemini CLI. Then verify with /mcp inside the Gemini CLI.
gemini extensions install https://github.com/tanaikech/ToolsForMCPServer-extension
# Verify installation:
gemini
# Inside Gemini CLI:
/mcpGoogle Workspace Tools Examples
Client configuration
Environment variables required to connect Gemini CLI to your deployed ToolsForMCPServer Web App. Set these in your shell profile or .bashrc.
{
"_note": "ToolsForMCPServer-extension is installed via Gemini CLI extensions, not a claude_desktop_config.json entry.",
"_env_vars": {
"GEMINI_API_KEY": "your-gemini-api-key",
"MCP_WEB_APPS_URL": "https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec?accessKey=sample"
},
"_install_command": "gemini extensions install https://github.com/tanaikech/ToolsForMCPServer-extension"
}Prompts to try
Example Gemini CLI prompts for automating Google Workspace with ToolsForMCPServer.
- "Create a new Google Sheet with sales data for Q1 and add a chart"
- "Read the contents of my Google Doc named 'Project Proposal' and summarize it"
- "Add an event to my Google Calendar for next Monday at 2pm titled 'Team Sync'"
- "Search my Gmail for emails from my boss this week and list the subjects"
- "Create a Google Slides presentation with 5 slides on the topic of machine learning"Troubleshooting Google Workspace Tools
MCP tools not appearing after running /mcp in Gemini CLI
Verify that MCP_WEB_APPS_URL is correctly set in your shell environment before launching Gemini CLI. The URL must include your actual deployment ID and the correct accessKey parameter. Re-run 'gemini extensions install' if the extension was not installed successfully.
Web App returns 403 or authorization errors when tools are called
The Web App must be deployed with 'Execute as: Me' and 'Who has access: Anyone'. If you modified the Apps Script after initial deployment, you must create a new deployment version — click Deploy > Manage deployments, select your deployment, click the pencil icon, and choose 'New version'.
Tool discovery errors after updating Gemini CLI to v0.15.0+
The 'workspace-developer' server was removed in v1.2.0 of the extension due to schema resolution errors with newer Gemini CLI versions. Ensure you are running extension v1.2.0 or higher by reinstalling: 'gemini extensions install https://github.com/tanaikech/ToolsForMCPServer-extension'.
Frequently Asked Questions about Google Workspace Tools
What is Google Workspace Tools?
Google Workspace Tools is a Model Context Protocol (MCP) server that simplified google workspace automation with gemini cli extensions It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google Workspace Tools?
Follow the installation instructions on the Google Workspace Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Google Workspace Tools?
Google Workspace Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google Workspace Tools free to use?
Yes, Google Workspace Tools is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Google Workspace Tools Alternatives — Similar Developer Tools Servers
Looking for alternatives to Google Workspace Tools? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google Workspace Tools in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google Workspace Tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.