Google MCP - Model Context Protocol (MCP) Server logo

Google MCP - Model Context Protocol (MCP) Server

Community
nguyenvanduocit

The Model Context Protocol (MCP) implementation in Google MCP enables AI models to interact with Google services through a standardized interface.

Publishernguyenvanduocit
Repositorygoogle-mcp
LanguageGo
Forks
3
Stars
20
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Google MCP - Model Context Protocol (MCP) Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    20 stars and 3 forks from the linked repository.

Google MCP - Model Context Protocol (MCP) Server

The Model Context Protocol (MCP) implementation in Google MCP enables AI models to interact with Google services through a standardized interface.

Prerequisites

  • Go 1.23.2 or higher
  • Google Cloud Platform account with the following APIs enabled:
    • Google Calendar API
    • Gmail API
    • Google Chat API
  • Google Cloud credentials (OAuth 2.0 Client ID)

Installation

Installing via Go

  1. Install the server:
bash
go install github.com/nguyenvanduocit/google-mcp@latest
  1. Create a .env file with your configuration:
env
# Required for Google Services
GOOGLE_CREDENTIALS_FILE=  # Required: Path to Google Cloud credentials JSON file
GOOGLE_TOKEN_FILE=       # Required: Path to store Google OAuth tokens

# Optional configurations
ENABLE_TOOLS=           # Optional: Comma-separated list of tool groups to enable (empty = all enabled)
PROXY_URL=             # Optional: HTTP/HTTPS proxy URL if needed

https://developers.google.com/workspace/chat/authenticate-authorize-chat-user

  1. Configure your Claude's config:
json
{
  "mcpServers": {
    "google_mcp": {
      "command": "google-mcp",
      "args": ["-env", "/path/to/.env"]
    }
  }
}

Enable Tools

The ENABLE_TOOLS environment variable is a comma-separated list of tool groups to enable. Available groups are:

  • calendar - Google Calendar tools
  • gmail - Gmail tools
  • gchat - Google Chat tools

Leave it empty to enable all tools.

Available Tools

Group: calendar

calendar_create_event

Create a new event in Google Calendar with title, description, time, and attendees.

calendar_list_events

List upcoming events in Google Calendar with customizable time range and result limit.

calendar_update_event

Update an existing event's details including title, description, time, and attendees.

calendar_respond_to_event

Respond to an event invitation (accept, decline, or tentative).

Group: gchat

gchat_list_spaces

List all available Google Chat spaces/rooms.

gchat_send_message

Send a message to a Google Chat space or direct message.

Group: gmail

gmail_search

Search emails in Gmail using Gmail's search syntax.

gmail_move_to_spam

Move specific emails to spam folder in Gmail by message IDs.

gmail_create_filter

Create a Gmail filter with specified criteria and actions:

  • Filter by sender, recipient, subject, or custom query
  • Add labels
  • Mark as important
  • Mark as read
  • Archive messages

gmail_list_filters

List all Gmail filters in the account.

gmail_list_labels

List all Gmail labels in the account.

gmail_delete_filter

Delete a Gmail filter by its ID.

gmail_delete_label

Delete a Gmail label by its ID.

CLI Usage

In addition to the MCP server, google-mcp ships a standalone CLI binary (google-cli) for direct terminal use — no MCP client needed.

Installation

bash
just install-cli
# or
go install github.com/nguyenvanduocit/google-mcp/cmd/google-cli@latest

Quick Start

bash
export GOOGLE_AI_API_KEY=your-api-key
# or
google-cli --env .env <command> [flags]

Commands

CommandDescription
list-eventsList Google Calendar events
create-eventCreate a calendar event
update-eventUpdate a calendar event
list-emailsList Gmail emails
send-emailSend an email via Gmail
get-emailGet email details
send-chat-messageSend a Google Chat message
list-chat-spacesList Chat spaces
search-youtubeSearch YouTube videos
get-video-detailsGet YouTube video details

Examples

bash
# List calendar events
google-cli list-events --calendar-id primary

# Send an email
google-cli send-email --to recipient@example.com --subject "Hello" --body "World"

# Search YouTube
google-cli search-youtube --query "Go programming"

# JSON output
google-cli list-emails --output json | jq '.[].subject'

Flags

Every command accepts:

  • --env string — Path to .env file
  • --output string — Output format: text (default) or json

License

This project is licensed under the MIT License. See LICENSE for details.

Installation

Homebrew (macOS/Linux)

bash
brew install nguyenvanduocit/tap/google-mcp

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "nguyenvanduocit-google-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-mcp"
      ]
    }
  }
}

Use Google MCP - Model Context Protocol (MCP) Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Google MCP - Model Context Protocol (MCP) Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Google MCP - Model Context Protocol (MCP) Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Google MCP - Model Context Protocol (MCP) Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "nguyenvanduocit-google-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Google MCP - Model Context Protocol (MCP) Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Google MCP - Model Context Protocol (MCP) Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Google MCP - Model Context Protocol (MCP) Server to help me with this task?
Google MCP - Model Context Protocol (MCP) Server
Sure. I read it.
Here is what I found using Google MCP - Model Context Protocol (MCP) Server.

Frequently asked questions

What is the Google MCP - Model Context Protocol (MCP) Server MCP server used for?

Google MCP - Model Context Protocol (MCP) Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Google MCP - Model Context Protocol (MCP) Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Google MCP - Model Context Protocol (MCP) Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Google MCP - Model Context Protocol (MCP) Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Google MCP - Model Context Protocol (MCP) Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Google MCP - Model Context Protocol (MCP) Server MCP to TypingMind?

Google MCP - Model Context Protocol (MCP) Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Google MCP - Model Context Protocol (MCP) Server MCP provide in TypingMind?

Google MCP - Model Context Protocol (MCP) Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Google MCP - Model Context Protocol (MCP) Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Google MCP - Model Context Protocol (MCP) Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇