{
  "schemaVersion": "1.0",
  "name": "io.github.neutral-Stage/gmail-mcp-server",
  "title": "Gmail MCP Server",
  "version": "2.0.0",
  "license": "MIT",
  "description": "Local, privacy-first Model Context Protocol (MCP) server providing 22 Gmail API tools for AI agents with zero proxy servers and gmail.modify-only OAuth scope.",
  "homepage": "https://neutral-Stage.github.io/gmail-mcp-server/",
  "repository": "https://github.com/neutral-Stage/gmail-mcp-server",
  "npm": "https://www.npmjs.com/package/@sar333/gmail-mcp-server",
  "install": {
    "wizard": "npx @sar333/gmail-mcp-server setup",
    "stdio": {
      "command": "npx",
      "args": ["-y", "@sar333/gmail-mcp-server"]
    }
  },
  "requirements": {
    "runtime": "Node.js >= 18",
    "oauthScope": "https://www.googleapis.com/auth/gmail.modify",
    "localTokenPath": "~/.gmail-mcp/token.json"
  },
  "supportedClients": [
    "Claude Desktop",
    "Claude Code",
    "Cursor",
    "Codex CLI",
    "Windsurf",
    "VS Code (GitHub Copilot)",
    "Gemini CLI",
    "Cline",
    "Zed",
    "OpenClaw"
  ],
  "companionSkills": [
    {
      "name": "Gmail Command Center: Inbox, Enriched CRM & Outreach Suite",
      "platform": "Agensi.io",
      "pricing": "Paid (5-skill pack)",
      "url": "https://www.agensi.io/skills/gmail-command-center-inbox-enriched-crm-outreach-suite"
    },
    {
      "name": "Gmail Privacy Shield & MCP Setup Doctor",
      "platform": "Agensi.io",
      "pricing": "Free",
      "url": "https://www.agensi.io/skills/gmail-privacy-shield-mcp-setup-doctor-free"
    },
    {
      "name": "Email Guardrail MCP Actor",
      "platform": "Apify Store",
      "pricing": "Pay-per-event ($0.01–$0.02/call)",
      "url": "https://apify.com/sar333/email-guardrail-mcp-actor",
      "mcpEndpoint": "https://sar333--email-guardrail-mcp-actor.apify.actor/mcp"
    }
  ],
  "tools": [
    { "name": "search_emails", "category": "search", "description": "Search Gmail with full query syntax and pagination." },
    { "name": "get_email", "category": "read", "description": "Retrieve full email headers, decoded text/HTML body, and attachment metadata." },
    { "name": "get_thread", "category": "read", "description": "Fetch all messages in a conversation thread chronologically." },
    { "name": "get_attachment", "category": "attachments", "description": "Download base64-encoded attachment payload by messageId and attachmentId." },
    { "name": "send_email", "category": "compose", "description": "Compose and send a plain-text or HTML email." },
    { "name": "reply_email", "category": "compose", "description": "Reply or reply-all in-thread with automatic In-Reply-To and References headers." },
    { "name": "forward_email", "category": "compose", "description": "Forward an existing message with an optional note." },
    { "name": "create_draft", "category": "compose", "description": "Save a draft email (optionally attached to an existing threadId)." },
    { "name": "modify_email", "category": "organize", "description": "Add or remove system/custom label IDs on a single message." },
    { "name": "batch_modify_emails", "category": "organize", "description": "Apply label modifications to up to 1,000 messages in one call." },
    { "name": "trash_email", "category": "organize", "description": "Move an email to Trash (30-day recoverable)." },
    { "name": "untrash_email", "category": "organize", "description": "Restore an email from Trash back to Inbox." },
    { "name": "batch_trash_emails", "category": "organize", "description": "Move up to 1,000 messages to Trash." },
    { "name": "mark_spam", "category": "organize", "description": "Move one or more emails to Spam." },
    { "name": "advanced_filter", "category": "organize", "description": "Search matching emails and apply bulk actions with dryRun: true default." },
    { "name": "list_labels", "category": "labels", "description": "List all system and user Gmail labels with IDs and unread counts." },
    { "name": "create_label", "category": "labels", "description": "Create a Gmail label (supports nested paths with /)." },
    { "name": "delete_label", "category": "labels", "description": "Delete a user-created Gmail label." },
    { "name": "extract_addresses", "category": "extract", "description": "Extract unique deduplicated email addresses from query results." },
    { "name": "format_emails", "category": "extract", "description": "Filter, sort, and format email objects as json, table, or summary." },
    { "name": "get_profile", "category": "profile", "description": "Get authenticated Gmail address, message total, thread total, and historyId." },
    { "name": "get_frequent_contacts", "category": "profile", "description": "Rank top 50 most-contacted addresses from recent sent mail." }
  ]
}
