Gmail AutoAuth MCP Installation Guide — Development skill for Claude Code
This guide will help you install and configure the Gmail AutoAuth MCP server for managing Gmail operations through Claude Desktop with auto authentication support.
How to install Gmail AutoAuth MCP Installation Guide
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open GongRzhe/Gmail-MCP-Server and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gmail AutoAuth MCP Installation Guide does
This guide will help you install and configure the Gmail AutoAuth MCP server for managing Gmail operations through Claude Desktop with auto authentication support.
Alternatives in Development
- Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
- Engage.Install — Execute Phase 5 - Installation and Persistence Establishment 348 ★
- Premiere Pro MCP — Adobe Premiere Pro MCP — independent, local-first server for supported workflows 292 ★
README
Gmail AutoAuth MCP Installation Guide
This guide will help you install and configure the Gmail AutoAuth MCP server for managing Gmail operations through Claude Desktop with auto authentication support.
Requirements
- Node.js and npm installed
- Access to create a Google Cloud Project
- Local directory for configuration storage
- Web browser for OAuth authentication
Installation Steps
First, create a Google Cloud Project and obtain the necessary credentials:
1. Go to Google Cloud Console (https://console.cloud.google.com) 2. Create a new project or select an existing one 3. Enable the Gmail API for your project 4. Create OAuth 2.0 credentials: - Go to "APIs & Services" > "Credentials" - Click "Create Credentials" > "OAuth client ID" - Choose "Desktop app" or "Web application" type - For Web application, add http://localhost:3000/oauth2callback to redirect URIs - Download the OAuth keys JSON file - Rename it to gcp-oauth.keys.jsonSet up the configuration directory:
mkdir -p ~/.gmail-mcp mv gcp-oauth.keys.json ~/.gmail-mcp/Run authentication:
npx @gongrzhe/server-gmail-autoauth-mcp authThis will:
- Look for gcp-oauth.keys.json in current directory or ~/.gmail-mcp/
- Copy it to ~/.gmail-mcp/ if found in current directory
- Launch browser for Google authentication
- Save credentials as ~/.gmail-mcp/credentials.json
Configure Claude Desktop by adding the MCP server configuration:
{ "mcpServers": { "gmail": { "command": "npx", "args": [ "@gongrzhe/server-gmail-autoauth-mcp" ] } } }
Troubleshooting
If you encounter any issues during installation:
OAuth Keys Issues:
- Verify gcp-oauth.keys.json exists in correct location
- Check file permissions
- Ensure keys contain valid web or installed credentials
Authentication Errors:
- Confirm Gmail API is enabled
- For web applications, verify redirect URI configuration
- Check port 3000 is available during authentication
Configuration Issues:
- Verify ~/.gmail-mcp directory exists and has correct permissions
- Check credentials.json was created after authentication
- Ensure Claude Desktop configuration is properly formatted
Security Notes
- Store OAuth credentials securely in ~/.gmail-mcp/
- Never commit credentials to version control
- Use proper file permissions for config directory
- Regularly review access in Google Account settings
- Credentials are only accessible by current user
Usage Examples
After installation, you can perform various Gmail operations:
Send Email
{
"to": ["recipient@example.com"],
"subject": "Meeting Tomorrow",
"body": "Hi,\n\nJust a reminder about our meeting tomorrow at 10 AM.\n\nBest regards",
"cc": ["cc@example.com"],
"bcc": ["bcc@example.com"]
}
Search Emails
Related Skills
Catalog Setup
Set up DataHub connection, install CLI, configure authentication and default scopes
Agenticmarket CLI
The CLI for MCP servers. Build and Install any server into VS Code, Cursor, or Claude Desktop in one command.
Salesforce MCP Auto Auth Chrome
Fastest to Enable Salesforce MCP server for Claude Desktop with automatic session refresh from your Chrome bro
KyttoMCP
A local desktop control panel for managing MCP servers across Claude Desktop, Claude Code, Cursor, VS Code, an
Faa Traffic Delays MCP Server
Track FAA ground stops, delay programs, airport delays, the operations plan, and ATCSCC advisories via MCP. ST
Skill Gmail API
Claude Agent Skill for Gmail API - read, draft, send, archive, label, batch operations
Related Agents
Claude Code MCP Specialist
Expert MCP server configuration specialist for Claude Code. Use when you need to set up, configure, or find MC
Laya Vetter
Security-vets a candidate plugin, skill or MCP server repo before installation (hooks, install scripts, creden
Pbi Dax
DAX specialist for the Power BI Desktop project currently open. Writes, validates, tests and optimizes measure