Calendar Mcp Server

Calendar Mcp Server

🚀 日历-MCP-服务器

这是一个从Google日历获取约会列表的MCP服务器,能帮助用户便捷地从Google日历获取相关信息。

🚀 快速开始

✨ 准备工作

创建OAuth2.0客户端并准备用于身份验证的JSON文件

请在“桌面应用”下创建一个OAuth 2.0客户端。详细信息请参考此处

创建客户端后,请获取以下格式的身份验证JSON文件,并将redirect_uris更改为["http://localhost:3000/callback"],然后以credentials.json为文件名保存到根目录。

{
"installed": {
"client_id": "hogehoge",
...
"redirect_uris": ["http://localhost:3000/callback"]
}
}

配置Claude Desktop

请编辑Claude Desktop的claude_desktop_config.json,如下所示:

{
"mcpServers": {
"calendar": {
"command": "npx",
"args": ["ts-node",
"--project",
"//mcp-calendar-server/tsconfig.json",
"//mcp-calendar-server/src/index.ts"]
}
}
}

⚠️ 重要提示

  • 请将/ /mcp-calendar-server/...替换为实际的文件路径。
  • 确保Claude Desktop已正确配置,以便能够找到并运行MCP服务器。
  • 0 关注
  • 0 收藏,8 浏览
  • system 提出于 2025-09-29 08:18

相似服务问题