mcp-server

mcp-server

3.2

If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This repository provides an MCP server for Gmail, enabling interaction with Gmail accounts through defined tools over the MCP protocol.

The MCP Gmail Server is designed to facilitate interaction with Gmail accounts using the Model Context Protocol (MCP). It provides tools such as `list_unread` and `search_emails` to manage and search emails. The server handles OAuth2 authentication with Google, ensuring secure access to Gmail accounts. It is built on an asyncio-based server, making it compatible with various MCP clients, including Open WebUI. By integrating with `mcpo`, the server can be exposed via OpenAPI, enhancing its accessibility and compatibility with modern tools and platforms. This setup allows for seamless interactions with Gmail through standardized APIs, improving security and scalability without altering the existing MCP server code.

Features

  • list_unread: Retrieve snippets of unread Gmail messages.
  • search_emails: Search emails by Gmail query (e.g., `from:alice@example.com`).
  • OAuth2 Authentication: Seamless OAuth2 flow with token caching.
  • Asyncio-based Server: Compatible with MCP clients like Open WebUI.

Tools

  1. list_unread

    Tool to list unread emails.

  2. search_emails

    Tool to search emails based on queries.