Gmail-MCP-Server

Gmail-MCP-Server

0

This project involves a Gmail MCP server designed to connect Gmail and LLMs using the MCP framework. It provides tools to send mail, create drafts, and mark emails as read, aiming to transform an LLM into an agent with iterative prompting.

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

Watch how Gmail MCP server works

Code Details

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.

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