Labsco
matheusbuniotto logo

Google Services MCP

β˜… 5

from matheusbuniotto

(MCP) server for Google Workspace. Drive, Gmail, Calendar, Sheets, Docs, Tasks and People via AI agents.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

go-google-mcp

Go Report Card CI

Unified Model Context Protocol (MCP) server for Google Workspace.

go-google-mcp is a powerful, secure, and extensible Go-based tool that allows AI agents (like Claude Desktop, Cursor, or Gemini CLI) to interact directly with your Google services through a standardized interface.

πŸš€ Features

Interact with Google Workspace using natural language through these integrated services:

  • πŸ“‚ Google Drive: Powerful search, read text content, create files/folders, update content, move, share, and trash.
  • πŸ“§ Gmail: Search/list threads, read full conversations, create drafts, move to trash, and send emails.
  • πŸ“… Google Calendar: List upcoming events, create new meetings (with attendees), and delete events.
  • πŸ“Š Google Sheets: Create spreadsheets, read ranges, append rows, and update specific cells.
  • πŸ“„ Google Docs: Create new documents and read full document text.
  • πŸ‘₯ Google People: List contacts and create new connections.
  • βœ… Google Tasks: List task lists and tasks, create, update, and delete tasks (with optional status/due filtering).

πŸ” Authentication

This tool supports both User OAuth 2.0 (best for personal/CLI use) and Service Accounts (best for server/automated use).

Option 1: User OAuth (Recommended)

  1. Create Credentials: Go to the Google Cloud Console, enable the necessary APIs (Drive, Gmail, etc.), and create a Desktop App OAuth client.
  2. Download JSON: Save the client secrets file as client_secrets.json.
  3. One-time Login:
    go-google-mcp auth login --secrets path/to/client_secrets.json
    This securely saves your token to ~/.go-google-mcp/.

Option 2: Service Account

  1. Download your Service Account JSON key.
  2. Run with the -creds flag:
    go-google-mcp -creds path/to/service-account.json

πŸ›  Development

git clone https://github.com/matheusbuniotto/go-google-mcp.git
cd go-google-mcp
go build ./cmd/go-google-mcp

πŸ“œ License

MIT License. See LICENSE for details.