yagms

yagms

0

Yagms is a Gmail MCP Server that allows users to interact with their Gmail account through the Model Context Protocol. It offers tools for listing, retrieving, and searching emails, and retrieving Gmail labels.

yagms

Yet Another Gmail MCP Server

Setup and Usage

Gmail MCP Server

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

Prerequisites
  • Create OAuth credentials for Gmail API through Google Cloud Console.

Build this project

  • Install Bun and build the code.
Authentication
  • Authenticate with your Google account to use the server.
Running the Server
  • Run the Gmail MCP server after authentication.
Configuration
  • Customize paths for OAuth keys and credentials with environment variables.
Available Tools
  1. list-emails: Get emails from your inbox.
  2. get-email: Retrieve a specific email by ID.
  3. search-emails: Search for emails using Gmail search syntax.
  4. get-labels: Get all Gmail labels.