Google Workspace MCP CLI
MCP server by thenavidm Verified · npm:@thenavidm
Google Workspace MCP CLI gives AI agents 38 tools for Gmail, Drive, Sheets, Docs, Slides, Calendar, Tasks, Forms and Contacts. It runs through Google's official Workspace CLI, so the credential stays on your machine. It is for Claude Code, Codex and other AI agents.
Install Google Workspace MCP CLI
Built from the published package, never by AI.
claude mcp add google-workspace-mcp-cli -- npx -y @thenavidm/google-workspace-mcp-cliRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Google Workspace MCP CLI in Claude Code
{
"mcpServers": {
"google-workspace-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-workspace-mcp-cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Google Workspace MCP CLI in Claude Desktop
{
"mcpServers": {
"google-workspace-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-workspace-mcp-cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-workspace-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-workspace-mcp-cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-workspace-mcp-cli -- npx -y @thenavidm/google-workspace-mcp-cli{
"mcpServers": {
"google-workspace-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-workspace-mcp-cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Google Workspace MCP CLI in Antigravity CLI
gemini mcp add google-workspace-mcp-cli npx -y @thenavidm/google-workspace-mcp-cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Google Workspace MCP CLI in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-workspace-mcp-cli block.
About
Google Workspace MCP CLI gives AI assistants and terminal users access to Gmail, Drive, Sheets, Docs, Slides, Calendar, Tasks, Forms and Contacts through 38 tools. It runs as an MCP server for Claude Code, Claude Desktop, Cursor and other clients, and as a command line tool with the same tools under the same names. It wraps Google's official Workspace CLI, so the credential is created by the user and stays on their machine.
The Gmail tools can search, read messages and threads, write drafts and modify labels. Sending a draft needs explicit confirmation. Users can limit access at sign in by naming services or choosing read-only access. It suits people who want an assistant to read mail and calendar together without granting a third-party OAuth app access to their mailbox and Drive.
Written from the project's README and checked against it.
Tools it gives your assistant
gmail_searchSearch Gmail with Gmail's own query syntax.gmail_get_messageRead one message in full.gmail_get_threadRead a whole conversation in order.gmail_create_draftWrite a draft. It never sends.gmail_send_draftSend an existing draft. Needs confirming.gmail_modify_labelsArchive, mark read or triage messages.gmail_list_labelsList label ids, which differ from label names.drive_searchFind files with Drive query syntax.drive_get_fileGet file metadata, sharing and link.drive_exportExport the content of a Doc, Sheet or Slide as text.
What you need
- Node.js 22 or newer
- Google's Workspace CLI (gws)
- A Google account to sign in with
Try asking
- Search my Gmail for messages from Sarah in the last 30 days
- Draft a reply to the agency email. Do not send it.
- Find the pricing spreadsheet in Drive and export its contents
Good to know
- Claude.ai on the web needs the server hosted at a public HTTPS address.
- Sending a draft needs explicit confirmation.
- Google shows an unverified app warning on first sign in.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/thenavidm/google-workspace-mcp-cli/main/deploy/install.sh | sudo bash - Asks for administrator rights (sudo)In
README.md:sudo
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Google Workspace MCP CLI
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
Google Workspace MCP CLI: common questions
Does it send emails on its own?
gmail_create_draft only writes drafts and never sends them. gmail_send_draft sends an existing draft and needs confirming.
Where is my Google credential stored?
The credential is created by you through Google's Workspace CLI and stays on your machine. This server does not hold it.
Can I limit what it can access?
Yes. The gws login accepts a services list and a read-only option, and GWS_SERVICES limits which services the server loads.
How do I install Google Workspace MCP CLI?
In Claude Code run claude mcp add google-workspace-mcp-cli -- npx -y @thenavidm/google-workspace-mcp-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Workspace MCP CLI the official server?
Google Workspace MCP CLI is published by npm:@thenavidm from its verified domain in the official MCP Registry.
Is Google Workspace MCP CLI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Google Workspace MCP CLI safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Google Workspace MCP CLI?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does Google Workspace MCP CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
