Google Calendar MCP Server 配置与使用说明
安装方式npx
风险等级中风险
API Key需要
客户端2 个支持
Google Calendar 日程管理,支持查看、创建和修改日历事件
支持客户端
- Claude Desktop
- Cursor
安装命令
npx -y @modelcontextprotocol/server-google-calendar配置示例
{
"mcpServers": {
"google-calendar": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-calendar"
],
"env": {
"GOOGLE_CLIENT_ID": "<your-client-id>",
"GOOGLE_CLIENT_SECRET": "<your-client-secret>"
}
}
}
}需要设置环境变量:GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET。不要把这些值提交到公开仓库。
权限范围与安全提示
可读写 Google Calendar 事件,需要 OAuth 授权,建议限制日历范围
- network-access
- credential-required
风险评分:5/10
常见报错
- OAuth 认证失败
- 确认 Google Cloud 项目已启用 Calendar API
- 权限不足
- OAuth 授权时确认勾选了 Calendar 读写权限
来源
最近核验:2026-05-18。客户端版本和配置格式可能变化,使用前请以官方文档为准。