Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 78
  • 0 stars
  • 335 a week
  • MIT
  • Updated

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-cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Google Workspace MCP CLI in Claude Code

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 learnhouse
95

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.

ACA Remote 2.5k
Agent-Native CalendarBuilderIO
94

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.

AAA Remote 7.8k
Agent-Native ClipsBuilderIO
94

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.

AAA Remote 7.8k
Agent-Native SlidesBuilderIO
94

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.

AAA Remote 7.8k
AIHawkfeder-cr
94

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.

AAA Local 33k
Microsoft 365 MCP ServerSofteria
94

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.

AAA Local 87k/wk

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.

Google Workspace MCP CLI Install

Add to stack

Loading.