Gmail MCP Server logo

Gmail MCP Server

by Himank-J

Gmail MCP server connects Gmail and LLMs using MCP. It provides tools to send mail, create drafts, and manage emails, enabling manual LLM agent creation through iterative prompting.

View on GitHub

Last updated: N/A

Overview

Gmail MCP server - Connecting Gmail and LLM using MCP

Project

  • using functionalities of Gmail applications we create tools to send mail, create draft, mark email as read and more...
  • The aim is to to manually convert an LLM into an Agent without using any framework. Using iterative prompting we get our LLM to utilise tools and send email to required receipient

Demo

Code Details

MCP Server

This is the server file that enlists all the tools that our LLM can use. Below is the main code that opens FreeForm app, creates a rectangle and adds text inside it.

MCP Client

This is the client file that uses MCP to send the query to the server.