Meme MCP Server
Provides Gmail account integration capabilities, allowing AI agents to connect to Gmail accounts, check connection status, and send emails through a secure OAuth interface.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Meme MCP Server create a 'distracted boyfriend' meme about choosing between pizza and salad"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gmail AI Agent MCP Server
A Model Context Protocol (MCP) server that provides Gmail integration capabilities for AI models and tools. This server enables AI assistants to connect to Gmail accounts, check connection status, and send emails through a secure interface.
Tools
The server implements the following Gmail-related tools:
connect-gmail
Initiates a connection to a Gmail account. This tool will provide a redirect URL for OAuth authentication.
check-gmail-connection
Checks the current Gmail connection status and displays user profile information including email address, total messages, and total threads.
send-email
Sends an email through the connected Gmail account. Parameters:
to: The email address of the recipientsubject: The subject of the emailbody: The body content of the email
Related MCP server: MCP TemplateIO
Setup
Prerequisites
Composio API Key: You'll need a Composio API key to use the Gmail integration. You can get one by signing up at Composio.
Gmail Account: A Gmail account that you want to connect to the AI agent.
Installation
You can configure the Gmail AI agent server in your MCP client. Here is an example configuration for Claude Desktop (Settings -> Developer -> Edit Config):
{
"mcpServers": {
"gmail-agent": {
"command": "node",
"args": ["path/to/your/gmail-mcp/dist/index.js"],
"env": {
"COMPOSIO_API_KEY": "<YOUR_COMPOSIO_API_KEY>"
}
}
}
}Development Setup
If you're running from source:
# Clone the repository
git clone <repository-url>
cd gmail-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm startThen configure your MCP client to point to the built server:
{
"mcpServers": {
"gmail-agent": {
"command": "node",
"args": ["/path/to/gmail-mcp/dist/index.js"],
"env": {
"COMPOSIO_API_KEY": "<YOUR_COMPOSIO_API_KEY>"
}
}
}
}Usage
Configure the server in your MCP client (like Claude Desktop)
Restart your client to load the new configuration
Connect to Gmail by using the
connect-gmailtool - this will provide an OAuth linkAuthorize the connection by clicking the provided link and following the Gmail authorization flow
Check connection using
check-gmail-connectionto verify everything is workingSend emails using the
send-emailtool with recipient, subject, and body parameters
Security
The server uses OAuth 2.0 for secure Gmail authentication
No passwords are stored locally
All Gmail operations are performed through secure API calls
The connection is maintained securely through Composio's infrastructure
Example Workflow
Initial Setup: Use
connect-gmailto start the OAuth flowVerification: Use
check-gmail-connectionto confirm successful connectionEmail Operations: Use
send-emailto compose and send emails through your connected Gmail account
Troubleshooting
Connection Issues: If you encounter connection problems, try using
connect-gmailagain to re-authenticateAPI Key Issues: Ensure your Composio API key is correctly set in the environment variables
Permission Errors: Make sure you've granted the necessary permissions during the OAuth flow
Available Tools
17 toolscheck-gmail-connectionB
Check Gmail connection status
Inputs: no named parameters.
connect-gmailC
Connect to Gmail
Inputs: no named parameters.
create-draftC
Create an email draft
Inputs: to (required), subject (required), body (required).
create-labelC
Create a new Gmail label
Inputs: name (required), labelListVisibility, messageListVisibility.
forward-emailC
Forward an email to other recipients
Inputs: emailId (required), to (required), message.
get-emailC
Get a specific email by ID
Inputs: emailId (required).
get-emailsC
Get emails from inbox
Inputs: maxResults, query, labelIds.
get-gmail-settingsC
Get Gmail settings
Inputs: no named parameters.
get-labelsB
Get all Gmail labels
Inputs: no named parameters.
get-threadsC
Get email threads
Inputs: maxResults, query.
mark-as-readC
Mark emails as read
Inputs: emailIds (required).
mark-as-unreadC
Mark emails as unread
Inputs: emailIds (required).
move-to-trashC
Move emails to trash
Inputs: emailIds (required).
reply-to-emailC
Reply to an existing email
Inputs: emailId (required), message (required).
search-emailsC
Search emails using Gmail search syntax
Inputs: query (required), maxResults.
send-draftC
Send a draft email
Inputs: draftId (required).
send-emailC
Send an email
Inputs: to (required), subject (required), body (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Every tool has a clearly distinct purpose targeting specific Gmail operations, with no ambiguous overlaps. For example, get-email retrieves a single email while get-emails fetches multiple, and create-draft versus send-draft handle different stages of email composition.
All tools follow a consistent verb-noun pattern with hyphenated naming (e.g., get-email, create-draft, mark-as-read). This uniformity makes the tool set predictable and easy to understand at a glance.
With 17 tools, the count is slightly high but reasonable for a comprehensive Gmail integration, covering core email management tasks. It might be borderline heavy, but each tool appears justified for the domain's scope.
The tool set provides complete CRUD and lifecycle coverage for Gmail operations, including connection management, email retrieval, composition, sending, labeling, and status updates. No obvious gaps exist for typical email workflows.
Related MCP Connectors
MCP server for meme generation, template search, caption rendering, and AI meme creation.
Unofficial Imgflip MCP — wraps Imgflip API (free, no auth for template listing)
AI face swap and viral meme video generation MCP server.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides image generation capabilities using the Ideogram API, allowing users to create images from text prompts with customizable parameters.126 npm5MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides an image generation tool using Templated.io, allowing users to create customized images based on templates with text and image layers.-
- AlicenseBqualityDmaintenanceA simple Model Context Protocol server that allows AI models to generate meme images using the ImgFlip API, enabling users to create memes from text prompts.138 npm58Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for managing, searching, and retrieving local meme images. It automatically hosts memes via a built-in HTTP server to ensure images can be displayed within chat applications.1MIT