{
  "markdown": "# @striderlabs/mcp-gmail\n\nMCP server that gives AI agents the ability to send, read, and search email via Gmail.\n\n## For Agents\n\nAgents use this connector to handle email autonomously on behalf of their human — reading important messages, searching for information, composing thoughtful replies, and sending communications.\n\n**Example agent workflows:**\n\n1. **Triage emails:** Agent reads new messages, summarizes important ones, and flags urgent items for user attention\n2. **Answer routine questions:** Agent searches email history to find information, composes replies with context from past conversations\n3. **Send on behalf:** Agent drafts and sends professional emails based on user intent (\"Let the team know I'll be late\"), then logs a copy to the conversation\n\n**Usage example:**\n> User: \"Has anyone replied to my email about the Q2 budget proposal?\"\n\nAgent:\n1. `gmail_search` → `\"to:me subject:budget\"`\n2. `gmail_read` → Read each message\n3. Return summary: \"Sarah replied yes on Monday. Mark asked for revisions. No word from Finance yet.\"\n\nThen agent might automatically draft a follow-up to Finance and ask for approval before sending.\n\n## Installation\n\n```bash\nnpx @striderlabs/mcp-gmail\n```\n\n## Configuration\n\nAdd to your MCP client configuration (e.g., Claude Desktop):\n\n```json\n{\n  \"mcpServers\": {\n    \"strider-gmail\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@striderlabs/mcp-gmail\"],\n      \"env\": {\n        \"GOOGLE_CLIENT_ID\": \"your-client-id\",\n        \"GOOGLE_CLIENT_SECRET\": \"your-client-secret\",\n        \"GOOGLE_REFRESH_TOKEN\": \"your-refresh-token\"\n      }\n    }\n  }\n}\n```\n\n## Available Tools\n\n### gmail_send\nSend an email from the user's Gmail account.\n\n**Parameters:**\n- `to` (required): Recipient email address\n- `subject` (required): Email subject line\n- `body` (required): Email body content\n- `cc` (optional): CC recipients\n- `bcc` (optional): BCC recipients\n\n### gmail_search\nSearch emails using Gmail search syntax.\n\n**Parameters:**\n- `query` (required): Gmail search query (e.g., \"from:example@gmail.com\")\n- `maxResults` (optional): Maximum results (default: 10)\n\n### gmail_read\nRead the full content of a specific email.\n\n**Parameters:**\n- `messageId` (required): The Gmail message ID\n\n### gmail_list\nList recent emails from the inbox.\n\n**Parameters:**\n- `maxResults` (optional): Maximum emails to list (default: 10)\n- `label` (optional): Filter by label (e.g., \"INBOX\", \"UNREAD\")\n\n## Getting Google OAuth Credentials\n\n1. Go to [Google Cloud Console](https://console.cloud.google.com/)\n2. Create a new project or select existing\n3. Enable the Gmail API\n4. Create OAuth 2.0 credentials\n5. Use the OAuth playground or your app to get a refresh token\n\n## Response Format\n\nAll tools return structured JSON:\n\n```json\n{\n  \"success\": true,\n  \"messageId\": \"...\",\n  \"message\": \"Email sent successfully\"\n}\n```\n\n## Part of Strider Labs\n\nStrider Labs builds action execution infrastructure for AI agents.\n\n- Website: https://striderlabs.ai\n- GitHub: https://github.com/striderlabs\n\n## License\n\nMIT\n",
  "bytes": 3025,
  "sha": "291d68f77105577fba4d371ff9dd7f8dbca2b6f3b67aa0314c24c8f92d0faecc",
  "repo_slug": "markswendsen-code/mcp-gmail",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_markswendsen_code_gmail_a4ac28cb/readme"
}