| name | julien-mcp-gmail |
| description | Install Gmail MCP for email operations. Use when user needs Gmail read/send capabilities. |
| category | mcp |
| triggers | install gmail mcp, gmail integration, email mcp gmail |
MCP Gmail Installer
This skill installs the Gmail MCP server into the current project.
Installation Procedure
When the user asks to install Gmail MCP:
- Check for existing
.mcp.jsonin the project root - Merge configuration - Add this server to
mcpServers:
{
"gmail": {
"command": "node",
"args": ["${ONEDRIVE_MCP_PATH}/Gmail-MCP-Server/dist/index.js"]
}
}
- If
.mcp.jsondoesn't exist, create it with the full structure:
{
"mcpServers": {
"gmail": {
"command": "node",
"args": ["${ONEDRIVE_MCP_PATH}/Gmail-MCP-Server/dist/index.js"]
}
}
}
Environment Variables Required
ONEDRIVE_MCP_PATH: Path to MCP servers folder
Prerequisites
- Node.js installed
- Gmail OAuth credentials configured
Usage After Installation
Restart Claude Code to activate the MCP server.
Example Usage
After installation, use in Claude Code:
"Read my latest 5 emails"
"Send an email to user@example.com"
Skill Chaining
- Input: User request to install Gmail MCP
- Output: Configured
.mcp.jsonwith gmail server - Tools Used: Read, Edit, Write
- Chains With: Outlook MCP for multi-provider email
Troubleshooting
| Problem | Solution |
|---|---|
| OAuth error | Re-run Gmail OAuth setup, check credentials.json |
| Path not found | Verify ONEDRIVE_MCP_PATH environment variable |
| Server crash | Check dist/index.js exists, rebuild if needed |
| Permission denied | Ensure OAuth scopes include required permissions |