Skip to content
Gmail MCP server

Gmail MCP server for messages

Paste this into your AI app

Set up Otobiz from otobiz.ai/agents

Or add the server yourself

https://mcp.otobiz.ai

Add it in your AI app as a custom connector or remote MCP server, then sign in with Otobiz.

Setup

Sign in from your AI app

Claude Code

Then run /mcp in Claude Code, choose otobiz and Authenticate.

Run in your terminal
claude mcp add --transport http otobiz https://mcp.otobiz.ai/all

Cursor

Cursor opens the Otobiz sign-in when it connects.

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "otobiz": { "url": "https://mcp.otobiz.ai/all" }
  }
}

Codex

Sign in to Otobiz in the browser that opens.

Run in your terminal
codex mcp add otobiz --url https://mcp.otobiz.ai
codex mcp login otobiz

Visual Studio Code

A browser opens for the Otobiz sign-in on first connect.

Add to .vscode/mcp.json
{
  "servers": {
    "otobiz": { "type": "http", "url": "https://mcp.otobiz.ai" }
  }
}

Gemini CLI

The Otobiz sign-in opens in your browser when it connects.

Run in your terminal
gemini mcp add --transport http otobiz https://mcp.otobiz.ai

Devin Desktop

Sign in to Otobiz in the browser that opens.

Run in your terminal
devin mcp add -s user otobiz https://mcp.otobiz.ai
devin mcp login otobiz

Other

Leave the header out and the app opens the Otobiz sign-in.

Other
Any app that connects to a remote MCP server
URL   https://mcp.otobiz.ai
Auth  Otobiz sign-in, or Authorization: Bearer YOUR_OTOBIZ_API_KEY

An app that cannot sign in uses an API key instead: create one in Otobiz

Compare

Gmail MCP servers compared

Ways to connect an AI app to Gmail, compared
Otobiz MCP serverThe platform's API aloneA self-hosted MCP serverA scraper
SetupSign in from your AI appYour code passes app review firstYou host itNot a route the platform supports
Tokens and connectionOtobiz keeps the channel connectedYour code handles tokens, rate limits and webhooksYou keep the tokensThe platform can block it
Consent and opt-outApplied to every send, and recordedYours to buildYours to buildYours to build
When the platform changesOtobiz updates the serverYour code changes with itYou update itIt can stop working
Tools

Gmail tools your AI app can call

637 of the tools work on Gmail: its own 23 and the 614 every connection has. Your AI app finds them by searching and loads the ones it needs. Connecting loads about 12,500 tokens of tools and instructions.

  • Saved replies and labels

    6 tools
    • create_inbox_label
    • create_saved_reply
    • list_inbox_labels
  • Messages and chats

    15 tools
    • get_message
    • retry_message
    • send_inbox_message
Example

One request, start to finish

Gmail MCP server

Which customer emails are waiting for a reply? Answer the oldest one.

call_tool list_inbox_conversations

call_tool list_inbox_messages

call_tool send_inbox_message

It lists the open chats, reads the oldest, and sends the reply as you. The send is recorded in Otobiz.

Limits

What the Gmail tools can't do

  • No postingIt does not publish posts on Gmail.
  • No broadcastsIt does not send broadcasts on Gmail.
  • Only your roleIt never acts beyond the role you give it when you sign in.
  • Consent holdsIt never messages anyone the consent and opt-out rules protect.
What Otobiz does on Gmail
Pricing

The MCP server is free. You pay for your plan.

Gmail comes with Growth, Business and Enterprise. A call pays only for what it causes, such as a message sent.

See the plans
FAQ

Common questions

A connection that lets an AI app work with Gmail through 23 tools: messages. It runs in the same Otobiz your team uses. Outlook and other email accounts use the same tools.

Connect your AI to Otobiz

Start free, sign in from your AI app, and ask your first question.