gmail-mcp-setup

gmail-mcp-setup is a skill for Claude Code, Codex from Evyatar108/gmail-mcp. It costs 90 tokens per session (411 once invoked), scanned A, original, MIT.

Setup instructions for installing and managing a local Gmail connection for GitHub Copilot CLI, a command-line coding assistant.

In plain words
What is it for?
They are for installation, OAuth setup and reauthorization, connection diagnostics, sharing a restricted test setup, moving the connector, and uninstalling it.
Why use it?
They help users configure Google access, diagnose missing tools or permissions, and move or remove the connection without exposing OAuth secrets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit They are for installation, OAuth setup and reauthorization, connection diagnostics, sharing a restricted test setup, moving the connector, and uninstalling it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evyatar108/gmail-mcp/gmail-mcp-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Evyatar108/gmail-mcp --skill gmail-mcp-setup
Clone the repo
git clone --depth 1 https://github.com/Evyatar108/gmail-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gmail-mcp-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/evyatar108/gmail-mcp/gmail-mcp-setup.svg)](https://agentmods.dev/skills/evyatar108/gmail-mcp/gmail-mcp-setup)
Your own site
<a href="https://agentmods.dev/skills/evyatar108/gmail-mcp/gmail-mcp-setup"><img src="https://agentmods.dev/badge/skills/evyatar108/gmail-mcp/gmail-mcp-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.00411
Opus 5 $0.00045 $0.00205
Sonnet 5 $0.00018 $0.00082
Haiku 4.5 $0.00009 $0.00041

Measured 6d ago against content hash a7dc5d001898, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

gmail-mcp-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gmail-mcp-setup/SKILL.md · 66 lines

What it actually says

Set up Gmail MCP safely

Install

From the cloned repository:

.\scripts\setup-copilot.ps1

OAuth

Recommend a user-owned Google Desktop OAuth app. Follow docs/OAUTH-SETUP.md, then:

.\scripts\install-oauth-client.ps1 -Path C:\Downloads\client_secret.json
.\.venv\Scripts\gmail-mcp.exe auth
.\.venv\Scripts\gmail-mcp.exe status

Do not ask the user to paste OAuth JSON, a secret, refresh token, or login code into chat.

Shared test app

Only use with invited users personally known to the app owner. Explain:

  • the owner must add the colleague as a test user;
  • OAuth JSON is transferred out-of-band;
  • the colleague's refresh token remains local;
  • the owner controls the client and scopes;
  • Testing requires reauthorization every seven days.

Never describe this as a public shared OAuth service.

Diagnose

copilot mcp get gmail --json
.\.venv\Scripts\gmail-mcp.exe status

Restart Copilot CLI after registration changes.

Uninstall

.\scripts\uninstall-copilot.ps1
.\.venv\Scripts\gmail-mcp.exe revoke

The first command removes only Copilot registration. revoke removes the Google grant and WinVault record.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 66 lines · 90 tokens per session scan A a7dc5d001898

Subscribe to this mod's changes

gmail-mcp-setup is a skill published in the GitHub repository Evyatar108/gmail-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 90 tokens to every session and 411 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories

google-workspace-auth

Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status.

bobmatnyc/claude-mpm · 22 tokens

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

analyzing-office365-audit-logs-for-compromise

Parse Office 365 Unified Audit Logs via Microsoft Graph API to detect email forwarding rule creation, inbox delegation, suspicious OAuth app grants, and other indicators of account compromise.

xalgorix/xalgorix · 46 tokens

powershell-safe-invocation

Use when writing or running PowerShell on Windows, especially native programs, quoted paths, escaping, pwsh, Start-Process, file operations, or shell troubleshooting.

Misaka-Mikoto-Tech/agent-skills · 40 tokens

host-computer-use

Beta desktop control through the connected A0 CLI host. Use for the user's host/local computer screenshots, screen inspection, menus, native app UI, OS-level clicking, scrolling, typing, or checking computeruseremote status. Use instead of linux-desktop for host/local machine control. Do not use for ordinary browser…

agent0ai/agent-zero · 78 tokens