使用说明
日历mcp服务器
google为了从日历中取得预定一览表MCP 服务器。
必要的准备
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",
"/<path to>/mcp-calendar-server/tsconfig.json",
"/<path to>/mcp-calendar-server/src/index.ts"]
}
}
}