Google Workspace Tools

v1.0.0Developer Toolsstable

Simplified Google Workspace Automation with Gemini CLI Extensions

gas-librarygeminigemini-cligemini-cli-extensionsgoogle-apps-script
Share:
19
Stars
0
Downloads
0
Weekly
0/5

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

Automate Google Workspace tasks with Gemini CLI extensions. Integrate Google Apps Script capabilities into AI workflows.
tanaikech

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx toolsformcpserver-extension

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 auth
2

Copy 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-D3Gi4fISvxgcITWb
3

Deploy 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).

4

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"
5

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:
/mcp

Google 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.

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.

Quick Config Preview

{ "mcpServers": { "toolsformcpserver-extension": { "command": "npx", "args": ["-y", "toolsformcpserver-extension"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides