</>MCP Agents Market
MCP Server

gogcli

by openclaw8.3kGoUpdated 2026-08-26

Google Workspace in your terminal.

Claude DesktopCursor

The gogcli MCP server brings Google Workspace APIs—including Gmail, Calendar, Drive, Docs, Sheets, and more—to AI agents through a Model Context Protocol interface. Built on the `gog` command-line client, it exposes read-only capabilities by default with granular opt-in for write operations and explicit command authorization. Developers can integrate Gmail search, calendar queries, Drive file audits, and document manipulation into Claude Desktop, Cursor, or other MCP-compatible clients with fine-grained safety controls and structured JSON output.

Key Features

MCP stdio server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Meet, Chat, YouTube, and more
Read-only by default with explicit write-command authorization required for modifications
Multi-account routing with OAuth clients, service accounts, and Application Default Credentials
Granular Gmail scopes (send-only, read-send) and least-privilege authorization per service
Safety controls including --readonly, --no-input, exact command allowlists, and Gmail no-send policy
Structured JSON output and schema generation for tool discovery
Platform keyring token storage with encrypted file backend for headless systems
Supports both consumer Google accounts and managed Workspace domains with admin APIs

Use Cases

  • 01Search and retrieve unread Gmail messages from the last week for AI agent triage and summarization
  • 02Query today's calendar events to provide scheduling context to conversational assistants
  • 03Audit Drive folder sharing permissions and generate compliance reports through MCP tools
  • 04Read and extract data from Google Sheets for analysis and reporting workflows
  • 05Retrieve contact information and task lists for personal productivity automation
  • 06Monitor YouTube channel analytics and Search Console data for content strategy agents

Related MCP Servers

View more

gogcli — FAQ

What is the gogcli MCP server?+

It is a Model Context Protocol server that exposes Google Workspace APIs (Gmail, Calendar, Drive, Docs, Sheets, and 20+ other services) as typed tools for AI agents. It runs as a stdio server and integrates with MCP-compatible clients like Claude Desktop or Cursor.

How do I install and configure the gogcli MCP server?+

Install via Homebrew (`brew install openclaw/tap/gogcli`) or Go (`go install`), create a Desktop OAuth client in Google Cloud Console, authorize with `gog auth add`, then add the MCP server configuration to your client's config file pointing to the `gog mcp` command. See the MCP guide in the documentation for complete setup steps.

Which AI clients support this MCP server?+

Any client that supports the Model Context Protocol stdio interface can use gogcli, including Claude Desktop, Cursor, and other MCP-compatible development environments.

Do I need API keys or authentication credentials?+

Yes, you need a Google Cloud project with a Desktop OAuth client credential JSON file. Download it from the Google Cloud Console, then use `gog auth credentials set` and `gog auth add` to authorize the specific Google services you want to access.

Is the gogcli MCP server free to use?+

Yes, gogcli is open-source under the MIT license. However, you are responsible for any Google Cloud API usage costs, though most Workspace APIs for personal use fall within Google's free tier.

Can I restrict the MCP server to read-only operations?+

Yes, the MCP server is read-only by default. Write operations require explicit command and tool authorization through configuration flags like --enable-commands-exact or Gmail-specific policies like --gmail-no-send.

How do I install gogcli?+

Open the source repository on GitHub and follow its README. gogcli is a mcp server — MCP Agents Market links you directly to the official repo.

Is gogcli free?+

gogcli is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches