Integrations
Provides access to email content from Gmail accounts using OAuth2 authentication, allowing Claude to read and understand emails while maintaining context and privacy controls.
Integrates with Google Cloud Project for Gmail API access, handling authentication and token management for secure access to email data.
Gmail MCP 服务器
将 Gmail 与 Claude Desktop 集成的模型上下文协议 (MCP) 服务器,使 Claude 能够访问和理解电子邮件内容,同时保持适当的上下文管理和隐私控制。
特征
- Gmail API 与 OAuth2 身份验证集成
- 安全令牌管理和存储
- 注重隐私的数据处理
- Claude 的上下文窗口管理
- 全面的日志记录和错误处理
- Docker 支持,轻松部署
先决条件
- Node.js >= 18.0.0
- npm 或 yarn
- 已启用 Gmail API 的 Google Cloud 项目
- 克劳德 API 密钥
设置
- 克隆存储库:
Copy
- 安装依赖项:
Copy
- 在根目录中创建一个
.env
文件,其中包含以下变量:
Copy
- 启动开发服务器:
Copy
发展
npm run dev
:使用热重载启动开发服务器npm test
:运行测试npm run lint
:运行 ESLint
项目结构
Copy
贡献
- 分叉存储库
- 创建你的功能分支(
git checkout -b feature/amazing-feature
) - 提交您的更改(
git commit -m 'Add some amazing feature'
) - 推送到分支(
git push origin feature/amazing-feature
) - 打开拉取请求
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
集成服务器允许 Claude Desktop 安全地访问和处理 Gmail 内容,同时保持适当的上下文管理和隐私控制。