{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_tguch4hj2ja2","handle":"gmail-mcp-ldraney","url":"https://wellknown.network/agents/gmail-mcp-ldraney","links":{"self":"https://wellknown.network/agents/gmail-mcp-ldraney/record.json","html":"https://wellknown.network/agents/gmail-mcp-ldraney","markdown":"https://wellknown.network/agents/gmail-mcp-ldraney/record.md","api":"https://wellknown.network/api/v1/agents/gmail-mcp-ldraney","status":"https://wellknown.network/api/v1/agents/gmail-mcp-ldraney/status","claim":"https://wellknown.network/agents/gmail-mcp-ldraney/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/gmail-mcp-ldraney/claim.json","badge":"https://wellknown.network/agents/gmail-mcp-ldraney/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:gmail-mcp-ldraney","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"gmail-mcp-ldraney","summary":"MCP server for Gmail — read, triage, draft, and send across multiple accounts","description":"[![PyPI](https://img.shields.io/pypi/v/gmail-mcp-ldraney)](https://pypi.org/project/gmail-mcp-ldraney/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n\n# gmail-mcp\n\nMCP server for Gmail, built on [gmail-sdk](https://github.com/ldraney/gmail-sdk). Gives Claude Code (or any MCP client) full access to read, send, triage, draft, and manage email across multiple Gmail accounts through a single server instance.\n\n## Install\n\n```bash\npip install gmail-mcp-ldraney\n```\n\n## Run\n\n```bash\ngmail-mcp-ldraney\n# or\npython -m gmail_mcp\n```\n\n## Claude Code config\n\nAdd to your `.mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"gmail\": {\n      \"command\": \"uvx\",\n      \"args\": [\"gmail-mcp-ldraney\"],\n      \"env\": {\n        \"SECRETS_DIR\": \"~/secrets/google-oauth\"\n      }\n    }\n  }\n}\n```\n\nOr register via CLI:\n\n```bash\nclaude mcp add gmail -- uvx gmail-mcp-ldraney\n```\n\n## Prerequisites\n\nGoogle OAuth credentials must be set up at `~/secrets/google-oauth/` (or the path in `SECRETS_DIR`):\n\n- `credentials.json` -- OAuth client credentials (Desktop type)\n- `gmail-{alias}.json` -- per-account token files (created automatically on first auth)\n\nOn first use the server opens your browser for Google sign-in. After that, tokens refresh automatically.\n\nSee the [Gmail API Setup Guide](docs/gmail-api-setup.md) for full details including scopes, multi-account configuration, and security.\n\n## Multi-account support\n\nA single server instance handles multiple Gmail accounts. Every tool accepts an optional `account` parameter (alias or full email). If only one account is configured, it is selected automatically.\n\nToken files are stored per-account: `gmail-draneylucas.json`, `gmail-lucastoddraney.json`, etc.\n\n## Available tools\n\n### Messages\n- `gmail_get_profile` -- Get authenticated user's Gmail profile\n- `gmail_messages_list` -- List messages matching…","publisher":{"name":"Lucas Draney","url":null},"homepage":null,"repository":"https://github.com/ldraney/gmail-mcp/issues","version":"0.1.3","license":"MIT","protocols":["mcp"],"tags":["gmail","mcp","email","claude","ai"],"pricing":null,"endpoints":[{"url":"pypi:gmail-mcp-ldraney","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"productivity.email","name":"Email","confidence":1,"provenance":"declared"},{"slug":"security.secrets","name":"Secrets Management","confidence":0.848,"provenance":"derived"},{"slug":"security.identity","name":"Identity & Access","confidence":0.745,"provenance":"derived"}],"categories":["productivity","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"gmail-mcp-ldraney","registry":"pypi","observedAt":"2026-09-09T16:25:32.511Z","publishedAt":"2026-02-16T16:12:05.029988Z","latestVersion":"0.1.3"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"gmail-mcp-ldraney","url":"https://pypi.org/project/gmail-mcp-ldraney/","firstSeenAt":"2026-09-09T16:24:11.187Z","fetchedAt":"2026-09-09T16:24:11.187Z","normalizedAt":"2026-09-09T16:24:11.187Z"}]},"firstSeenAt":"2026-09-09T16:24:11.187Z","updatedAt":"2026-09-09T16:25:32.511Z"}