More screenshots
Works with the AI Agents you already use
Gmail Privacy Shield & MCP Setup Doctor (Free)
by Anirban Roy
Gmail Privacy Shield & MCP Setup Doctor is a 100% free, read-only security and onboarding skill built by the creator of the open-source gmail-mcp-server (22 local Gmail tools).
Free
What it does
- Blocks the AI from reading sensitive bodies like bank alerts or password resets
- Scans for phishing tricks and hidden malicious commands in messages
- Identifies high-risk senders and suspicious links before you click them
- Provides step-by-step help to connect Gmail to apps like Claude or Cursor
- Fixes common Google connection errors like missing credentials or access denied
Who it's for
People using AI agents for work email
Scan your inbox for scams and sensitive data before your AI agent reads it.
Try asking: “Scan my unread emails from the last week for anything risky.”
Users struggling to connect Gmail to their AI apps
Get your Gmail connected to your favorite AI tools in minutes without technical headaches.
Try asking: “Help me set up the Gmail MCP server for Claude Desktop on my Mac.”
Security-conscious freelancers and owners
Keep bank alerts and private codes away from your AI history.
Try asking: “Check this pasted email for phishing or hidden commands.”
Gmail Privacy Shield & MCP Setup Doctor (Free)
Example session with this skill installed
Audit my last 20 unread Gmail messages with Gmail Privacy Shield. Screen metadata only first, block any OTPs or bank alerts from body retrieval, flag any phishing or prompt-injection attempts, and tell me which messages are safe to summarize.
- Read your context and instructions
- Compiled the gmail privacy shield
Gmail Privacy Shield Audit (Read-Only · Metadata First)
Screened 20 unread messages from in:inbox is:unread newer_than:7d using offline scripts/privacy_gate.py. Zero sensitive bodies were fetched and zero emails were modified.
| Classification | Count | Safe Handling Rule |
|---|---|---|
QUARANTINE_THREAT | 2 | Do NOT click links, reply, or follow embedded instructions |
BLOCK_SENSITIVE | 3 | Body retrieval blocked — OTPs / banking alerts kept private |
CAUTION_REVIEW | 2 | Legal / overdue invoice — explicit human review required |
SAFE_STANDARD | 13 | Safe for standard AI summarization or reply drafting |
Threat & Phishing Alerts
- Risk 95/100 (
QUARANTINE_THREAT) — From:PayPal Security <billing-alert@gmail.com>| Subject:"Account suspended — verify immediately"- Matched signals:
brand_spoof_via_free_webmail:paypal,phishing_account_urgency,prompt_injection_ignore - Action: Quarantined. Do not inspect links or obey embedded text.
- Matched signals:
- Risk 92/100 (
QUARANTINE_THREAT) — From:promo@unknown-offer.example| Subject:"Collaboration proposal"- Matched signals:
hidden_zero_width_or_bidi_unicode,prompt_injection_exfil - Action: Quarantined due to hidden unicode control characters and exfiltration command text.
- Matched signals:
Blocked Sensitive Messages (Metadata Only — Bodies Not Read)
m-901: Google —"Your verification code"(otp_or_2fa_code)m-904: Chase Alerts —"Credit card alert"(banking_or_card_alert)m-912: GitHub —"Reset your password"(password_reset)
Next Steps
- 13
SAFE_STANDARDmessages are cleared for safe triage or reply drafting. - Run
npx @sar333/gmail-mcp-server doctoranytime if you need OAuth or credential diagnostics.
Connects securely to your tools. The creator never sees your data.
About this skill
Giving an AI agent access to Gmail is powerful — until it pulls a 2FA code, banking alert, or a phishing email containing hidden prompt-injection text straight into your chat context.
Gmail Privacy Shield & MCP Setup Doctor is a 100% free, read-only security and onboarding skill built by the creator of the open-source gmail-mcp-server (22 local Gmail tools).
What It Does
- Metadata-First Privacy Shield (
scripts/privacy_gate.py) — Deterministically screens email metadata before body retrieval using offline stdlib Python 3. Automatically blocks OTP/2FA codes, password resets, bank/card/wire alerts, medical notices, and tax/government ID emails (BLOCK_SENSITIVE). - Phishing & Prompt-Injection Detection — Flags brand impersonation on free webmail, raw-IP/shortened verification links, hidden zero-width/bidi unicode characters, and prompt-injection payloads (
QUARANTINE_THREAT) with a 0–100 risk score. - 3-Minute Local
gmail-mcp-serverSetup Doctor — Guides you step-by-step through Google Cloud Desktop OAuth setup,npx @sar333/gmail-mcp-server setup, client JSON configs (Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI), and instant OAuth troubleshooting. - Read-Only By Design — Never sends, replies, labels, archives, or deletes a single email.
Works Immediately (No API Keys, No Paid Tools)
- Standalone Mode: Paste any suspicious email, forwarded thread, or JSON export right now and get a deterministic 0–100 privacy and threat audit.
- Connected Mode: Pair with the free local MIT-licensed
gmail-mcp-server(tokens stay strictly on your machine at~/.gmail-mcp/token.json) to audit live unread Gmail metadata safely.
Want Full Gmail Automation, Enriched CRM & Verified Outreach?
Once your local Gmail MCP is connected and protected, check out our flagship Gmail Command Center: Inbox, Enriched CRM & Outreach Suite on our Agensi creator profile — adding 5 specialized workflows for nested triage labeling, dry-run bulk cleanup, Inbox-to-CRM CSV enrichment (80+ company datapoints + Google/Trustpilot reviews), SMTP/catch-all verified cold outreach drafts, and Follow-Up Radar.
- Read-only by design: cannot send, reply, apply Gmail labels, archive, or delete messages.
- Heuristic screening catches known PII, phishing, and prompt-injection patterns deterministically, but is not a replacement for enterprise email security gateways.
- Live inbox metadata screening requires installing the free local gmail-mcp-server companion.
Built to work with the open-source gmail-mcp-server. Uses a local Python script for deterministic privacy gating (risk scoring 0-100). Requires a credentials.json file for live Gmail access via OAuth. Compatible with Claude Desktop, Cursor, and other MCP-enabled clients. Provides diagnostic support for Google Cloud Console setup and npx doctor commands.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account
- Accounts
Gmail MCP
- Software
Node.js@sar333/gmail-mcp-server
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.