
Gmail MCP Server Integration
Integrate Gmail into your AI workflows with the Gmail MCP Server. FlowHunt enables AI assistants to send, read, organize, and automate emails securely, leveragi...
Secure, headless Gmail automation for cloud and container environments. Send, receive, and manage emails in your AI workflows with streamlined credential management.
The Headless Gmail MCP Server is a Model Context Protocol (MCP) server that enables seamless interaction with Gmail accounts for sending and retrieving emails, all without the need for local credential or token setup. Designed for headless and remote operation, it allows clients to complete OAuth flows independently and pass credentials securely as context, making it possible to run in fully containerized or cloud environments without local file access or browser interaction. This server is ideal for workflows that need focused, reliable Gmail access—such as marketing automation or notification systems—by exposing standardized tools through the MCP interface for email management and integration into AI-powered development pipelines.
No specific prompt templates are mentioned in the repository.
No explicit MCP resources are described in the available documentation or code.
windsurf.json
).mcpServers
section:{
"mcpServers": {
"headless-gmail": {
"command": "npx",
"args": ["@baryhuang/mcp-headless-gmail@latest"]
}
}
}
Securing API Keys
Use environment variables to pass credentials securely:
{
"mcpServers": {
"headless-gmail": {
"command": "npx",
"args": ["@baryhuang/mcp-headless-gmail@latest"],
"env": {
"GMAIL_CLIENT_ID": "...",
"GMAIL_CLIENT_SECRET": "...",
"GMAIL_ACCESS_TOKEN": "...",
"GMAIL_REFRESH_TOKEN": "..."
}
}
}
}
claude.json
).{
"mcpServers": {
"headless-gmail": {
"command": "npx",
"args": ["@baryhuang/mcp-headless-gmail@latest"]
}
}
}
Securing API Keys
Use the env
key as above to securely inject credentials.
{
"mcpServers": {
"headless-gmail": {
"command": "npx",
"args": ["@baryhuang/mcp-headless-gmail@latest"]
}
}
}
Securing API Keys
Configure credentials using the env
section as shown previously.
{
"mcpServers": {
"headless-gmail": {
"command": "npx",
"args": ["@baryhuang/mcp-headless-gmail@latest"]
}
}
}
Securing API Keys
Pass API credentials using environment variables in the configuration as in previous examples.
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:
Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"headless-gmail": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “headless-gmail” to whatever the actual name of your MCP server is (e.g., “github-mcp”, “weather-api”, etc.) and replace the URL with your own MCP server URL.
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | |
List of Prompts | ⛔ | No prompt templates found |
List of Resources | ⛔ | No resources described |
List of Tools | ✅ | Found in features and README |
Securing API Keys | ✅ | Described in setup |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Based on the available information, the Headless Gmail MCP Server is highly focused and easy to integrate, with clear instructions for most platforms and robust Docker/headless support. However, it lacks explicit prompt templates and resource definitions, which may limit some advanced MCP features. Its strengths lie in simplicity, security, and real-world utility for email-focused automation. Overall, it’s practical and reliable for its intended use, but not as feature-complete as some other MCP servers.
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 22 |
Number of Stars | 39 |
It’s a Model Context Protocol (MCP) server that enables secure, headless access to Gmail for sending and retrieving emails without local token or browser setup. It's ideal for remote, cloud, and containerized email automation.
It can get recent emails, fetch full email bodies (in chunks), send emails, and refresh access tokens automatically.
Use environment variables in your configuration files to inject API keys and tokens, keeping sensitive information out of your codebase.
Automated email notifications, inbox monitoring, marketing campaign automation, API integrations, and Gmail management in containerized/cloud setups.
No explicit prompt templates or resource definitions are currently provided, focusing on core email automation tools.
Automate your Gmail workflows securely and efficiently with FlowHunt’s Headless Gmail MCP Server. Perfect for notifications, marketing, and AI-powered email automation.
Integrate Gmail into your AI workflows with the Gmail MCP Server. FlowHunt enables AI assistants to send, read, organize, and automate emails securely, leveragi...
The Email MCP Server integrates AI assistants with external email systems, enabling automated email sending, file attachments, and SMTP validation through a str...
The Google Workspace MCP Server connects AI agents and large language models to Google Workspace services, enabling seamless programmatic automation and workflo...