Provides Gmail account integration capabilities, allowing AI agents to connect to Gmail accounts, check connection status, and send emails through a secure OAuth interface.
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
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):
Development Setup
If you're running from source:
Then configure your MCP client to point to the built server:
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-gmail
tool - this will provide an OAuth link - Authorize the connection by clicking the provided link and following the Gmail authorization flow
- Check connection using
check-gmail-connection
to verify everything is working - Send emails using the
send-email
tool 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-gmail
to start the OAuth flow - Verification: Use
check-gmail-connection
to confirm successful connection - Email Operations: Use
send-email
to compose and send emails through your connected Gmail account
Troubleshooting
- Connection Issues: If you encounter connection problems, try using
connect-gmail
again to re-authenticate - API 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
This server cannot be installed
A Model Context Protocol server that enables AI models and tools to generate meme images from user prompts using the ImgFlip API.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides image generation capabilities using the Ideogram API, allowing users to create images from text prompts with customizable parameters.Last updated -184TypeScript
- AsecurityFlicenseAqualityA 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.Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schnell model via Together AI, allowing users to create images from text prompts with customizable dimensions.Last updated -114PythonMIT License
- AsecurityAlicenseAqualityA 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.Last updated -158130JavaScriptApache 2.0