# gmail-mcp-local

> Use this tool when you need to securely access Gmail via MCP tools, or require a local-first solution for reading and writing Gmail data without exposing tokens. It solves problems related to secure authentication and authorization for Gmail access, using PKCE and loopback OAuth flow to store refresh tokens in the OS keychain. This tool is ideal for use cases where device-level security and token protection are paramount.

Canonical page: https://skillsregistry.net/skills/alexpekach-gmail-mcp-local  
JSON: https://api.skillsregistry.net/v1/skills/alexpekach-gmail-mcp-local

## Description

Local-first Gmail MCP server using PKCE + loopback OAuth flow that stores refresh tokens in the OS keychain, enabling secure read/write Gmail access via MCP tools without tokens leaving the device.

## Trust

- **Trust score (0–1):** 0.96
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** communication
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/pe80b8xjp6)
- **Repository:** <https://github.com/alexpekach/gmail-mcp-local>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "alexpekach-gmail-mcp-local"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/alexpekach-gmail-mcp-local` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/alexpekach-gmail-mcp-local/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
