MCP.so
登录

MCP Google Workspace Server

@j3k0

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

j3k0

关于 MCP Google Workspace Server

MCP Server for Gmail and Calendar

MCP Google Workspace Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-google-workspace": {
      "command": "npx",
      "args": [
        "mcp-gmail-authenticate"
      ]
    }
  }
}

MCP Google Workspace Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Google Workspace Server?

MCP Google Workspace Server is a Model Context Protocol server that provides tools for interacting with Gmail and Google Calendar services. It is designed for developers and AI assistants needing programmatic access to Google Workspace data through the MCP protocol.

How to use MCP Google Workspace Server?

Install dependencies with npm install, build TypeScript with npm run build, configure OAuth 2.0 credentials in .gauth.json and accounts in .accounts.json, then authenticate with npm run authenticate. Start the server with npm start. Use optional arguments like --gauth-file, --accounts-file, or --credentials-dir to customize paths. Configure Claude Desktop by editing its claude_desktop_config.json with an MCP server entry pointing to the launch script or the published npm package via npx.

Key features of MCP Google Workspace Server

  • Query emails with advanced Gmail search syntax
  • Read full email content, attachments, and metadata
  • Create, manage, and delete email drafts
  • Reply to emails with send or draft options
  • Archive emails individually or in bulk
  • List, view, create, and delete calendar events

Use cases of MCP Google Workspace Server

  • Automating email organization and response workflows
  • Drafting replies based on email content analysis
  • Searching and summarizing unread or filtered emails
  • Scheduling and managing calendar events programmatically
  • Archiving or saving attachments across multiple emails

常见问题

1

What Google services does MCP Google Workspace Server integrate with?

It integrates with Gmail and Google Calendar, providing tools to query, read, draft, reply to, and archive emails, as well as manage calendar events across multiple accounts.

2

What are the runtime requirements?

Node.js version 20 or higher is required, along with a Google Cloud project that has the Gmail API and Google Calendar API enabled, plus OAuth 2.0 credentials.

3

How does authentication work?

OAuth 2.0 is used. You create a `.gauth.json` file with your Google OAuth credentials, list accounts in `.accounts.json`, then run `npm run authenticate` to complete the OAuth consent flow for each account. Tokens are stored locally.

4

Can I use multiple Google accounts?

Yes, MCP Google Workspace Server supports multiple accounts. Each account is configured in `.accounts.json` with optional metadata and descriptions that the AI assistant can use.

5

Can the server send emails or only create drafts?

Sending emails is disabled by default. The `GMAIL_ALLOW_SENDING` environment variable must be set to `true` to allow `gmail_send` to actually send mail. Draft creation is also disabled by default unless `GMAIL_ALLOW_DRAFTS` is set to `true`.

评论

其他 分类下的更多 MCP 服务器