Skip to main content
Glama
Gmail MCP Server

Gmail MCP Server

Gmail MCP Server

Available Tools

Addition Tool (Testing/Learning)

The Addition Server provides a simple tool for testing and learning MCP server functionality.

Gmail Tool - Read Last 10 Emails

The Gmail MCP server provides a tool to read the last 10 emails from your inbox.

Tool Details:

  • Name: read-emails

  • Description: Read emails from inbox

  • Parameters: None (reads last 10 emails by default)

  • Returns: JSON formatted email data with From, Subject, Date, and Snippet

Related MCP server: Moist

Setup Steps

1. Get Token

First, run getToken.js to authenticate and get your Gmail access token:

node getToken.js

This will:

  • Use your credentials.json file

  • Open a browser for Gmail authorization

  • Save the token to token.json

2. Start the Server

After getting the token, run the Gmail MCP server:

node gmail.js

Claude Desktop Configuration

Add this to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "Addition Server": {
      "command": "node",
      "args": ["/Users/prince/princekumarcode/mcp-weather/add.js"]
    },
    "Gmail Server": {
      "command": "node",
      "args": ["/Users/prince/princekumarcode/mcp-weather/gmail.js"]
    }
  }
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Gmail access through MCP, allowing LLMs to read, compose, and send emails.
      10
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Gmail operations such as reading, sending, searching, and managing emails, threads, labels, and drafts via MCP tools.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables reading, searching, sending, and drafting Gmail emails via MCP tools, with support for multiple accounts and background notifications.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Integrates with the Gmail API to send and read emails through MCP tools using Google OAuth authentication.
      -