Agent skill

julien-mcp-gmail

Install Gmail MCP for email operations. Use when user needs Gmail read/send capabilities.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/julien-mcp-gmail

SKILL.md

MCP Gmail Installer

This skill installs the Gmail MCP server into the current project.

Installation Procedure

When the user asks to install Gmail MCP:

  1. Check for existing .mcp.json in the project root
  2. Merge configuration - Add this server to mcpServers:
json
{
  "gmail": {
    "command": "node",
    "args": ["${ONEDRIVE_MCP_PATH}/Gmail-MCP-Server/dist/index.js"]
  }
}
  1. If .mcp.json doesn't exist, create it with the full structure:
json
{
  "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.json with 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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results