Google MCP Server
Provides tools for reading, searching, sending, replying to, labeling, marking, trashing, and managing Gmail messages, threads, labels, and attachments.
Provides broad integration with Google services and APIs, enabling management of Google Calendar, Docs, Sheets, Slides, Drive, Gmail, Contacts, YouTube, Tasks, Forms, Chat, and Meet.
Provides tools for listing calendars and events, creating/updating/deleting events, quick-adding natural-language events, checking free/busy availability, and retrieving today's or upcoming events.
Provides tools for listing, creating, and managing Chat spaces; sending, updating, and deleting messages; managing reactions and members; and handling threaded conversations.
Provides tools for creating documents, reading content, inserting/appending text, finding/replacing text, and listing documents.
Provides tools for listing/searching files, downloading/uploading, updating, copying, moving, renaming, deleting, creating folders, and exporting Google Workspace files.
Provides tools for creating and managing forms, adding questions and content, retrieving responses, and updating form settings.
Provides tools for creating meeting spaces with access controls, scheduling/instant meetings, listing conference records, and viewing participants, recordings, and transcripts.
Provides tools for creating spreadsheets, reading/updating/appending/clearing ranges, adding/deleting sheets, and listing spreadsheets.
Provides tools for creating and managing presentations, adding/deleting/duplicating slides, adding text boxes and images, replacing text, and listing presentations.
Provides tools for managing task lists and tasks, including creating, updating, completing, deleting, and using notes/descriptions for Keep-like note-taking.
Provides tools for searching videos, channels, and playlists; retrieving video/channel details; managing playlists; viewing comments, subscriptions, and liked videos; and rating videos.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google MCP Server
A comprehensive Model Context Protocol (MCP) server for Google integration, providing access to Google Calendar, Docs, Sheets, Slides, Drive, Gmail, Contacts, YouTube, Tasks, Forms, Chat, and Meet.
Features
Google Forms
Create and manage Google Forms
Add questions (multiple choice, short answer, checkboxes, etc.)
Add page breaks, text items, images, and videos
List and retrieve form responses
Update form settings (quiz mode, etc.)
Google Chat
List, create, and manage Chat spaces
Send, update, and delete messages
Add and remove reactions
Manage space members
Thread support for conversations
Google Meet
Create meeting spaces with access controls
Schedule meetings via Calendar integration
Create instant meetings
List and access conference records
View participant information
Access meeting recordings and transcripts
Google Calendar
List calendars and events
Create, update, and delete events
Quick add events using natural language
Get today's events and upcoming events
Check free/busy availability
Google Gmail
Read, search, and list emails
Send emails and reply to threads, with file attachments
List and download attachments on received messages
Mark as read/unread, trash messages
List labels and organize emails
Google Contacts (People API)
List, search, and manage contacts
Create, update, and delete contacts
List contact groups
Google Drive
List, search, and browse files and folders
Upload, download, copy, move, and delete files, text or binary
Replace the contents of an existing file
Export Google Workspace files to other formats (PDF, DOCX, CSV, ...)
Create folders
Rename files
Google Docs
Create new documents with optional initial content
Read document content
Insert and append text
Find and replace text
List all documents
Google Sheets
Create spreadsheets with multiple sheets
Read values from ranges
Update and append values
Clear ranges
Add and delete sheets
List all spreadsheets
Google Slides
Create and manage presentations
Add, delete, and duplicate slides
Add text boxes and images
Find and replace text
List all presentations
Google YouTube
Search videos, channels, and playlists
Get video and channel details
View and manage playlists
Get video comments
View subscriptions and liked videos
Rate videos
Google Tasks (Keep Alternative)
Manage task lists (similar to Keep categories)
Create, update, complete, and delete tasks
Tasks support notes/descriptions (similar to Keep notes)
Convenience "notes" tools that provide Keep-like functionality
Note: Google Keep does not have an official public API. This server uses Google Tasks API as an alternative, which provides similar note-taking capabilities through tasks with descriptions.
Related MCP server: google-workspace
Installation
# Clone the repository
cd google-mcp
# Install dependencies
pnpm install
# Build the project
pnpm buildGoogle Cloud Setup
Before using this server, you need to set up Google Cloud credentials:
1. Create a Google Cloud Project
Go to Google Cloud Console
Create a new project or select an existing one
Enable the following APIs:
Google Calendar API
Google Docs API
Google Sheets API
Google Slides API
Google Drive API
Gmail API
People API (Contacts)
YouTube Data API v3
Google Tasks API
Google Forms API
Google Chat API
Google Meet REST API
2. Create OAuth 2.0 Credentials
Navigate to APIs & Services > Credentials
Click Create Credentials > OAuth client ID
Select Desktop app as the application type
Download the JSON file
3. Place Credentials File
Save the downloaded JSON file as credentials.json at the appropriate location for your platform:
Linux:
~/.config/google-mcp/credentials.json(or $XDG_CONFIG_HOME/google-mcp/credentials.json if XDG_CONFIG_HOME is set)
macOS:
~/Library/Application Support/google-mcp/credentials.jsonWindows:
%APPDATA%\google-mcp\credentials.json(typically C:\Users\<username>\AppData\Roaming\google-mcp\credentials.json)
The file should look like:
{
"installed": {
"client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com",
"project_id": "your-project-id",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "YOUR_CLIENT_SECRET",
"redirect_uris": ["http://localhost:3000/oauth2callback"]
}
}Usage with MCP Clients
The server runs as a long-lived pooled worker, not as a stdio subprocess. It
exposes the current Streamable HTTP transport at /mcp and retains the legacy
HTTP+SSE transport at /sse plus /messages for older clients. Start the
worker once, then point clients at /mcp.
Start the worker:
node /path/to/google-mcp/dist/index.js
# or from the project directory:
pnpm devIt listens on 127.0.0.1:3015 by default. Override with GOOGLE_MCP_HOST and
GOOGLE_MCP_PORT (or PORT).
Add to your MCP settings configuration:
{
"mcpServers": {
"google": {
"url": "http://127.0.0.1:3015/mcp"
}
}
}Every client that connects gets its own MCP session while sharing one
authenticated Google session, so you only complete the OAuth flow once no
matter how many clients or agents attach. Legacy SSE clients can continue to
use http://127.0.0.1:3015/sse.
Authentication
On first use, call the google_auth tool to initiate OAuth authentication:
The server will provide a URL to authenticate
Open the URL in a browser and sign in with your Google account
Grant the requested permissions
Authentication will complete automatically
Tokens are stored locally and will be refreshed automatically:
Linux:
~/.local/share/google-mcp/tokens.json(or$XDG_DATA_HOME/google-mcp/)macOS:
~/Library/Application Support/google-mcp/tokens.jsonWindows:
%APPDATA%\google-mcp\tokens.json
Local Files
Tools that read a local file (path) or write one (savePath) resolve every
path inside a single sandbox directory, defaulting to ~/Downloads/google-mcp.
Relative paths are taken from that root; absolute paths must fall inside it.
This matters because the arguments come from a model that may have just read a
hostile email. Without a boundary, an injected "attach ~/.ssh/id_rsa" is an
exfiltration primitive and an injected savePath of ~/.ssh/authorized_keys
is code execution. Inside the sandbox both are inert.
export GOOGLE_MCP_FILE_ROOT="$HOME/Documents/mcp-files"Regardless of the root, the server refuses to touch key and credential
directories (.ssh, .aws, .gnupg, ...) or files that look like secrets
(*.pem, *.key, tokens.json, credentials.json, .env*), does not follow
symlinks out of the root, and never overwrites an existing file.
Inline transfers are capped at 1 MB, since they land in the model's context;
pass savePath for anything larger, up to 25 MB.
Available Tools
Authentication
Tool | Description |
| Initiate OAuth authentication |
| Check authentication status |
| Manually set auth code |
| Log out and clear tokens |
Google Calendar
Tool | Description |
| List all calendars |
| Get calendar details |
| List events from calendar |
| Get event details |
| Create new event |
| Update existing event |
| Delete an event |
| Add event via natural language |
| Check availability |
| Get today's events |
| Get upcoming events |
Google Gmail
Tool | Description |
| Get Gmail profile info |
| List Gmail labels |
| List emails |
| Get specific email |
| Send an email |
| Reply to an email |
| Download an attachment from a message |
| Move to trash |
| Mark as read |
| Mark as unread |
| Search emails |
| Get unread emails |
| Get email thread |
Google Contacts
Tool | Description |
| List contacts |
| Get contact details |
| Search contacts |
| Create contact |
| Delete contact |
| List contact groups |
Google Drive
Tool | Description |
| List files with filtering |
| Get file metadata |
| Download file content, text or binary |
| Upload a new file |
| Replace an existing file's contents |
| Delete a file |
| Create a new folder |
| Search files by content |
| Move file to folder |
| Copy a file |
| Rename a file |
Google Docs
Tool | Description |
| Create a new document |
| Read document content |
| Insert text at position |
| Append text to end |
| Find and replace text |
| List all documents |
Google Sheets
Tool | Description |
| Create spreadsheet |
| Get spreadsheet info |
| Read values from range |
| Update values in range |
| Append rows |
| Clear a range |
| Add a new sheet |
| Delete a sheet |
| List all spreadsheets |
Google Slides
Tool | Description |
| Create presentation |
| Get presentation |
| List presentations |
| Add a slide |
| Delete a slide |
| Add text box |
| Add image |
| Find/replace text |
| Duplicate slide |
Google YouTube
Tool | Description |
| Search YouTube |
| Get video details |
| Get channel details |
| Get your channel |
| List your playlists |
| Get playlist videos |
| Get video comments |
| List subscriptions |
| List liked videos |
| Like/dislike video |
Google Tasks
Tool | Description |
| List task lists |
| Create task list |
| Delete task list |
| List tasks |
| Create a task |
| Update a task |
| Delete a task |
| Mark task complete |
Notes (Keep-like)
Tool | Description |
| Create a quick note |
| List all notes |
| Update a note |
| Delete a note |
Google Forms
Tool | Description |
| Create a new form |
| Get form details |
| Update title/description |
| Add a question |
| Delete form item |
| List form responses |
| Get specific response |
| Add page break |
| Add text item |
| Add image |
| Add YouTube video |
Google Chat
Tool | Description |
| List Chat spaces |
| Get space details |
| Create a space |
| Delete a space |
| List messages |
| Get message details |
| Send a message |
| Update a message |
| Delete a message |
| List space members |
| Add a member |
| Remove a member |
| Add emoji reaction |
Google Meet
Tool | Description |
| Create meeting space |
| Get space details |
| End active meeting |
| Schedule a meeting |
| Create instant meeting |
| Get meeting from event |
| List upcoming meetings |
| List past meetings |
| Get meeting record |
| List participants |
| List recordings |
| Get recording |
| List transcripts |
| Get transcript |
| Get transcript text |
Examples
Send an Email
Use gmail_send with to "recipient@example.com", subject "Hello", and body "This is a test email."Create a Calendar Event
Use calendar_create_event with summary "Team Meeting", startDateTime "2025-01-15T10:00:00-05:00", and endDateTime "2025-01-15T11:00:00-05:00"Search YouTube
Use youtube_search with query "MCP tutorial" and type "video"Create a Google Doc
Use docs_create with title "Meeting Notes" and content "# Weekly Meeting\n\nAttendees: ..."Read a Spreadsheet
Use sheets_read with spreadsheetId "abc123" and range "Sheet1!A1:D10"Search Drive
Use drive_search with query "quarterly report"Create a Note
Use notes_create with title "Shopping List" and content "- Milk\n- Eggs\n- Bread"Create a Google Form
Use forms_create with title "Customer Survey" and description "Help us improve our service"Send a Chat Message
Use chat_send_message with spaceName "spaces/AAAAA" and text "Hello team!"Schedule a Google Meet
Use meet_schedule with summary "Team Standup", startTime "2025-01-15T09:00:00-05:00", and endTime "2025-01-15T09:30:00-05:00"Development
# Run in development mode with hot reload
pnpm dev
# Build for production
pnpm build
# Run tests
pnpm testLicense
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Related MCP Servers
- AlicenseAqualityAmaintenanceGives MCP clients access to Google Workspace (Gmail, Drive, Calendar, Sheets, Docs, etc.) across multiple Google accounts simultaneously.193,206 npm22MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Google Workspace (Drive, Docs, Sheets, Gmail) via MCP tools, using OAuth credentials stored locally or inline.-
- FlicenseNot gradedqualityDmaintenanceEnables multi-user access to Google Workspace services (Gmail, Calendar, Docs, Sheets, Slides, Drive) via remote MCP with OAuth 2.1 authentication.-
- AlicenseAqualityDmaintenanceEnables AI assistants to access and manage Google Drive, Sheets, Docs, Calendar, and Gmail through OAuth2-authenticated MCP tools.271MIT