Gmail MCP Server 17f555df

MCP办公协作

提供方 tszaks

办公协作 未标注 OAuth 授权 社区 / 第三方 Claude

将Gmail连接到Claude Code,通过Claude直接阅读、发送、搜索和管理电子邮件。

一句话选型结论

按资料字段整理

Gmail MCP Server 17f555df 属于办公协作类 MCP 服务器,传输方式未标注,OAuth 授权,可直接接入 Claude,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类办公协作 传输方式未标注 鉴权OAuth 授权 部署方式未标注
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

办公协作
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

邮件管理JavaScript本地部署Gmail集成自动化工具Claude插件

安装与配置

未标注 OAuth 授权
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
日程与消息

查日程、发消息、约会议。

表单与审批

填表单、走审批流。

团队协作

同步任务、汇总进展。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已适配 Claude,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好OAuth 授权对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在办公协作场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Gmail MCP Server 17f555df当前 未标注 未标注 未标注 无 2026-05-17
CowAgent 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Karakeep MCP 未标注 未标注 未标注 无 2026-05-17
agentscope 未标注 stdio · 本地进程 本地部署 有 2026-04-11
note-gen 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Everywhere 未标注 stdio · 本地进程 本地部署 有 2026-04-12

服务器档案

办公协作
字段来自项目仓库与公开索引,中文说明由本站标注
提供方tszaks上游标注的维护方 tszaks
分类办公协作本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式OAuth 授权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

6.3 KB
来自项目仓库与上游目录的原文,未做删改

> [!IMPORTANT]
> This project is archived and no longer maintained. Use ghub instead: it supports several Gmail accounts and has built-in OAuth onboarding.

Gmail MCP Server

Connect your Gmail to Claude Code! Read, send, search, and manage emails directly through Claude.

> ⚠️ Important: This gives Claude access to your Gmail. Only use with accounts you trust Claude to access.


🤖 Recommended: Ask Claude to Help You Install This

Just say: "Claude, help me install this Gmail MCP server"

Claude can guide you through each step, check for errors, and verify everything works. This is the easiest way!


🚀 Quick Install Guide (For Claude to Follow)

Prerequisites Check```bash

Check Node.js (required)

node --version

Check if we're in the right directory

pwd
ls -la


**Expected output:** Node version 18+ (like `v20.x.x`)
**If missing:** User needs to install from nodejs.org

### Installation Commands```bash
# 1. Download and enter directory
git clone https://github.com/tszaks/gmail-mcp-server.git
cd gmail-mcp-server

# 2. Install and build
npm install
npm run build

# 3. Verify build worked
ls -la dist/

Expected output: Should see gmail-server.js in dist/ folder

Google Cloud Setup (Automated Helper)```bash

Check if credentials exist

ls -la credentials.json

If missing, user needs to:

echo "You need Google Cloud credentials. Follow these steps:"
echo "1. Go to: https://console.cloud.google.com"
echo "2. Create new project: 'Gmail MCP'"
echo "3. Enable Gmail API"
echo "4. Create OAuth Desktop credentials"
echo "5. Download as 'credentials.json' to this folder"


### Authentication Test```bash
# Test OAuth flow
npm start

Expected output: URL starting with https://accounts.google.com/o/oauth2/auth
User action: Copy URL → Browser → Allow → Copy code → Paste in terminal
Success indicator: Gmail MCP Server running on stdio

Claude Code Integration```bash

Find current directory path

pwd

Add to Claude config - Mac/Linux

echo '{
"mcpServers": {
"gmail": {
"command": "node",
"args": ["'$(pwd)'/dist/gmail-server.js"]
}
}
}' > ~/.claude.json

Add to Claude config - Windows (PowerShell)

echo '{
"mcpServers": {
"gmail": {
"command": "node",
"args": ["'$PWD'\dist\gmail-server.js"]
}
}
}' | Out-File -FilePath "$env:USERPROFILE.claude.json"


### Verification```bash
# Check Claude MCP config
cat ~/.claude.json

# Check if server starts
cd gmail-mcp-server
npm start
# Should see: "Gmail MCP Server running on stdio"
# Press Ctrl+C to stop

Final test: Ask Claude: "Can you read my recent emails?"


🔧 Troubleshooting Commands

Check Installation Status```bash

Verify all components

ls -la gmail-mcp-server/
ls -la gmail-mcp-server/dist/gmail-server.js
ls -la gmail-mcp-server/credentials.json
ls -la gmail-mcp-server/token.json
cat ~/.claude.json


### Common Error Fixes```bash
# "Cannot find module" error
cd gmail-mcp-server
npm install
npm run build

# "Token not found" error
cd gmail-mcp-server
npm start
# Complete OAuth flow again

# "Credentials not found" error
cd gmail-mcp-server
ls -la credentials.json
# If missing, download from Google Cloud Console

# Test server manually
cd gmail-mcp-server
node dist/gmail-server.js
# Should output: "Gmail MCP Server running on stdio"

Reset Everything```bash

Nuclear option - start fresh

rm -rf gmail-mcp-server

Then repeat installation steps


---

## 📋 Manual Installation (If You're Doing This Yourself)

Click to expand detailed manual steps

### Step 1: Install Node.js
- Go to nodejs.org
- Download and install LTS version
- Verify: `node --version` should show v18+

### Step 2: Download Project
**Option A: Download ZIP**
- Click green "Code" button on GitHub
- Click "Download ZIP"
- Unzip to your Desktop

**Option B: Git clone**```bash
git clone https://github.com/tszaks/gmail-mcp-server.git

Step 3: Build Project```bash

cd gmail-mcp-server
npm install
npm run build


### Step 4: Google Cloud Console Setup
1. Go to console.cloud.google.com
2. Create new project called "Gmail MCP"
3. Enable Gmail API
4. Create OAuth 2.0 credentials (Desktop application)
5. Download credentials as `credentials.json`
6. Place `credentials.json` in the project folder

### Step 5: Authenticate```bash
npm start
  • Copy the OAuth URL to your browser
  • Sign in and authorize
  • Copy the authorization code back to terminal

Step 6: Configure Claude Code

Edit ~/.claude.json and add:```json
{
"mcpServers": {
"gmail": {
"command": "node",
"args": ["/full/path/to/gmail-mcp-server/dist/gmail-server.js"]
}
}
}


### Step 7: Test
- Restart Claude Code
- Ask: "Can you read my recent emails?"

---

## 🛠️ What You Can Ask Claude

Once installed, try these commands:

- "Read my unread emails"
- "Search for emails from john@company.com"
- "Create a draft email to sarah@example.com"
- "Show me emails about the project"
- "Mark these emails as read"
- "What are my Gmail labels?"

## 🔒 Security & Privacy

- All credentials stay on your computer
- No email data is stored or transmitted
- You can revoke access anytime at Google Account Settings

## 📞 Need Help?

1. **Ask Claude!** - "Claude, my Gmail MCP isn't working, can you help troubleshoot?"
2. Check the Issues tab on this GitHub repo
3. Verify you followed each command exactly

---

*Made with ❤️ for Claude Code users* • *@tszaks*
## Quickstart TL;DR```bash
git clone https://github.com/tszaks/gmail-mcp-server.git
cd gmail-mcp-server
npm install
npm run build

Then configure OAuth credentials and start the server with your MCP client.

How It Works (TL;DR)

  • OAuth credentials authorize access to Gmail API scopes
  • MCP server exposes read/search/send tools
  • Tokens are used to execute Gmail operations on behalf of the authenticated account

LLM Quick Copy

Use the copy button on this code block in GitHub.txt Repo: gmail-mcp-server Goal: Connect Gmail to MCP clients for read/search/send workflows. Setup: 1) npm install && npm run build 2) Create Google Cloud OAuth Desktop credentials 3) Place credentials in expected path and complete auth flow 4) Add server to MCP config Use: - Read and search messages - Send/manage emails with granted scopes How it works: - Node MCP wrapper -> Gmail API with OAuth tokens

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
Gmail MCP Server 17f555df 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Gmail MCP Server 17f555df 怎么在 Claude 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Gmail MCP Server 17f555df 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Gmail MCP Server 17f555df 需要 API Key 吗?

资料标注需要OAuth 授权认证,使用前准备好对应凭据,并按最小权限配置。

Gmail MCP Server 17f555df 支持哪些客户端?

资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Gmail MCP Server 17f555df 能提供哪些能力?

资料显示能力标签包括 邮件管理、JavaScript、Claude、Gmail集成。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。