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.
npx skills add Evyatar108/gmail-mcp --skill gmail-mcp-setupgit clone --depth 1 https://github.com/Evyatar108/gmail-mcpWrote 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.
[](https://agentmods.dev/skills/evyatar108/gmail-mcp/gmail-mcp-setup)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 6d ago First seen · 66 lines · 90 tokens per session scan A a7dc5d001898
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.
Other skills, from other repositories
google-workspace-auth
Re-authenticate Google Workspace MCP in-flight - refresh tokens, setup OAuth, check status.
rework-rate
Measure and interpret PR rework rate — the emerging 5th DORA metric.
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"…
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.
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.
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…