Connect Claude with Gmail using a Docker-based MCP server for testing email integration
Programmable Email is an MCP server designed to leverage the capabilities of Model Context Protocol (MCP) for connecting AI applications, specifically Claude Desktop, with Google's Gmail service. This solution facilitates real-time and secure communication between Claude and Gmail by utilizing OAuth tokens to authenticate requests properly. Given its experimental nature, any data fetched from Gmail is sent to Claude’s servers for processing or storage.
Programmable Email MCP Server offers a robust set of features that are essential for integrating AI applications with external tools like email services. These include:
credentials.json
and token.json
are securely managed, providing a foundation for authenticated API requests.The architecture of Programmable Email is built around the principles of Model Context Protocol (MCP), ensuring seamless integration with various AI applications. The key components include:
docker build
, allowing for easy deployment and management.Here’s how data flows through the system:
graph TB
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
The data architecture is centered around the OAuth tokens and their usage, ensuring secure and efficient interactions. This design allows for robust handling of email retrieval and management.
To set up Programmable Email MCP Server:
docker build -t programmable-email .
.claude_desktop_config.json
to include the server details.Programmable Email MCP Server addresses several critical needs within AI workflows:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
This matrix highlights the comprehensive support for major MCP Clients, including full integration with Claude and Continual.
Programmable Email MCP Server is optimized for performance while maintaining broad compatibility across various AI applications:
For advanced configuration and security considerations:
{
"mcpServers": {
"[programmable-email]": {
"command": "docker",
"args": ["run", "-i", "--rm", "programmable-email"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
If you're interested in contributing:
For more information on MCP and its ecosystem, explore the following resources:
By leveraging Programmable Email MCP Server, developers can create innovative AI solutions that integrate smoothly with various tools and services.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods