Yagms MCP Server

The Gmail MCP server provides tools to interact with your Gmail account through the Model Context Protocol (MCP).

Local serverstdioGo

What is the Yagms MCP server?

Yagms MCP server exists for a simple reason — assistants are far more useful when they can act on Yagms directly instead of describing what you should do. The Gmail MCP server provides tools to interact with your Gmail account through the Model Context Protocol (MCP).

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

What the assistant can call

Once Yagms is connected, these are the calls the assistant has available:

  • Parameters — - senderEmail (optional): Filter by sender email
  • Prerequisites — 1. Create OAuth credentials for Gmail API: - Go to Google Cloud Console - Create a new project or select an
  • Authentication — Before using the Gmail MCP server, you need to authenticate with your Google account:
  • Configuration — You can customize the paths for OAuth keys and credentials using environment variables:

Configuration and credentials

You will need 2 environment variables: GMAIL_OAUTH_PATH, GMAIL_CREDENTIALS_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  1. Create OAuth credentials for Gmail API: - Go to Google Cloud Console - Create a new project or select an existing one - Enable the Gmail API - Create OAuth 2.0 credentials (Desktop application) - Download the credentials JSON file and save it as ~/.yagms-oauth.keys.json

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the yagms mcp server does with a few real requests.

Choosing this one

This sits in the team communication group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Yagms's toolset — Parameters, Prerequisites, Authentication and 1 more — is a fair guide to whether it matches your workflow. It is maintained by acro5piano; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Yagms's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
Parameters- senderEmail (optional): Filter by sender email
Prerequisites1. Create OAuth credentials for Gmail API: - Go to [Google Cloud Console](https://console.cloud.google.com/) - Create a new project or select an existing one - Enable the Gmail API - Create OAuth 2.0 credentials (Desktop
AuthenticationBefore using the Gmail MCP server, you need to authenticate with your Google account:
ConfigurationYou can customize the paths for OAuth keys and credentials using environment variables:

Configuration

  1. Create OAuth credentials for Gmail API: - Go to Google Cloud Console - Create a new project or select an existing one - Enable the Gmail API - Create OAuth 2.0 credentials (Desktop application) - Download the credentials JSON file and save it as ~/.yagms-oauth.keys.json
VariableDescriptionRequired
GMAIL_OAUTH_PATHFilesystem location the server is allowed to use.Optional
GMAIL_CREDENTIALS_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Yagms to Parameters.
  • Use Yagms to Prerequisites.
  • Use Yagms to Authentication.

Frequently asked questions

It connects Yagms to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Parameters, Prerequisites, Authentication, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Yagms directly.