Back to connectors
Gmail logo

Gmail

Your key

Exact, bounded Gmail reads and gmail.modify-authorized mailbox actions

Needs your own Gmail key. Included on Free.

What you can ask

  • “What does Gmail have for the area or asset I'm working on?”
  • “Pull the most recent Gmail records and put them in a table.”
  • “What does Gmail cover, and how fresh is the data?”

Connect to your AI assistant

Paste this URL into Claude, ChatGPT, or any MCP client, then sign in when prompted. After you sign in, add your Gmail key in PatchOps.

https://patchops.ai/api/mcp

Claude: use Add to Claude, or Settings > Connectors > Add custom connector and paste the URL.

Claude Code

claude mcp add --transport http patchops https://patchops.ai/api/mcp

Step by step

  1. 1

    Open connectors

    In Claude, open Settings > Connectors and click "Add custom connector".

  2. 2

    Paste the URL

    Name it PatchOps and paste https://patchops.ai/api/mcp as the server URL, then click Add.

  3. 3

    Sign in

    Click Connect and sign in to PatchOps when Claude asks.

  4. 4

    Start using

    Ask Claude a question. It uses Gmail through PatchOps when it needs to.

› Technical details

Exact, bounded Gmail reads and gmail.modify-authorized mailbox actions

Setup

A few steps to connect your AI agents to Gmail.

Continue setup
  1. 1

    Authorize Gmail

    Connect your Google account to PatchOps to enable Gmail access.

  2. 2

    Grant permissions

    Approve the requested Gmail scopes in the Google consent screen.

  3. 3

    Use in PatchOps MCP

    Gmail tools appear automatically in your PatchOps MCP session.