关于 Chronary
Chronary 是面向 AI 助手的日历 MCP 服务,提供日历、事件、可用时间和排程工具。它还支持提案、Webhook、iCal 订阅、范围密钥和审计日志。
主要功能
- 01管理日历、Agent 和事件
- 02查找会议时间与可用时段
- 03创建并处理排程提案
- 04管理 Webhook 和 iCal 订阅
- 05查看范围密钥、审计日志和用量
适用场景
- 01创建或更新日历事件
- 02寻找符合可用时间的会议时段
- 03协调待议会议
- 04管理日历集成和访问权限
MCP 相关
该服务通过 stdio 向兼容 MCP 的客户端提供 50 种日历工具。它使用 Chronary API 密钥,并可通过 `--tools` 筛选开放的工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://api.chronary.ai/mcpclaude mcp add --transport http ai-chronary https://api.chronary.ai/mcp{"mcpServers":{"ai-chronary":{"type":"http","url":"https://api.chronary.ai/mcp"}}}在 Cursor 中打开{"servers":{"ai-chronary":{"type":"http","url":"https://api.chronary.ai/mcp"}}}在 VS Code 中打开{"mcpServers":{"ai-chronary":{"type":"http","url":"https://api.chronary.ai/mcp"}}}{"mcpServers":{"ai-chronary":{"serverUrl":"https://api.chronary.ai/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://api.chronary.ai/mcp需要授权工具
54| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| name | string | 是 | Agent 的显示名称 |
| type | enum | 是 | Agent 类型ai | human | resource |
| description | string | 否 | 可选描述 |
详细介绍
@chronary/mcp
适用于 Chronary 的 MCP 服务——为 AI 助手提供日历工具。
将 50 个日历工具(管理 Agent、日历和事件,请求人工完成 Google/Microsoft 设置,查找会议时间,运行日程安排提案,配置可用时间规则,管理 Webhook、iCal 订阅、范围限定密钥、审计日志和使用情况)接入任何兼容 MCP 的客户端:Claude Desktop、Cursor、VS Code Copilot、Claude Code、Windsurf。
通过 Smithery 一键安装: npx -y @smithery/cli mcp add chronary/agent-calendar --client claude(将 --client 替换为 cursor、vscode、claude-code、windsurf 等)。
前提条件
- Chronary 账户——在 chronary.ai 注册。
- 从控制台获取 API 密钥(以
chr_sk_开头)。 - 运行 MCP 客户端的机器上需安装 Node.js ≥ 18。
客户端配置
以下示例均使用 npx -y @chronary/mcp,按需下载并运行最新版本。无需安装。
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows):
macOS / Linux:
{
"mcpServers": {
"chronary": {
"command": "npx",
"args": ["-y", "@chronary/mcp"],
"env": {
"CHRONARY_API_KEY": "chr_sk_..."
}
}
}
}
Windows(使用 cmd /c,因为 spawn 无法直接解析 npx.cmd):
{
"mcpServers": {
"chronary": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@chronary/mcp"],
"env": {
"CHRONARY_API_KEY": "chr_sk_..."
}
}
}
}
保存后重启 Claude Desktop。
Cursor
编辑 .cursor/mcp.json(项目级)或 ~/.cursor/mcp.json(用户级):
macOS / Linux:
{
"mcpServers": {
"chronary": {
"command": "npx",
"args": ["-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windows:
{
"mcpServers": {
"chronary": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
VS Code Copilot
编辑 .vscode/mcp.json(工作区级),或运行 MCP: Open User Configuration 命令配置用户级设置。VS Code 使用不同的顶层键(servers),并且需要显式指定 type:
macOS / Linux:
{
"servers": {
"chronary": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windows:
{
"servers": {
"chronary": {
"type": "stdio",
"command": "cmd",
"args": ["/c", "npx", "-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Claude Code
编辑项目根目录下的 .mcp.json,或编辑 ~/.claude.json 进行用户级配置:
macOS / Linux:
{
"mcpServers": {
"chronary": {
"command": "npx",
"args": ["-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windows:
{
"mcpServers": {
"chronary": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windsurf
编辑 ~/.codeium/windsurf/mcp_config.json(Windows 上为 %USERPROFILE%\.codeium\windsurf\mcp_config.json):
macOS / Linux:
{
"mcpServers": {
"chronary": {
"command": "npx",
"args": ["-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windows:
{
"mcpServers": {
"chronary": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@chronary/mcp"],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
Windsurf 限制: Cascade 对所有 MCP 服务的工具总数设有 100 个的硬性上限,每个提示词最多可调用 20 次工具。Chronary 提供 50 个工具;如果同时使用多个服务,请考虑通过
--tools筛选工具。
使用 --tools 减少上下文占用
公开全部 50 个工具会在每次请求中消耗大模型 Token。对于专注型工作流,只将需要的工具加入白名单:
{
"mcpServers": {
"chronary": {
"command": "npx",
"args": [
"-y", "@chronary/mcp",
"--tools", "list_events,find_meeting_time,create_event"
],
"env": { "CHRONARY_API_KEY": "chr_sk_..." }
}
}
}
指向非生产 API
对于可自托管的 Chronary 实例,或针对本地 API 进行开发:
{
"args": ["-y", "@chronary/mcp", "--base-url", "http://localhost:8787"]
}
提供的工具
| 工具 | 只读 | 破坏性 |
|---|---|---|
list_calendars, get_calendar | ✓ | |
create_calendar, update_calendar | ||
delete_calendar | ✓ | |
list_events, get_event | ✓ | |
create_event, update_event, confirm_event | ||
cancel_event, release_event | ✓ | |
list_agents, get_agent | ✓ | |
create_agent, update_agent | ||
delete_agent | ✓ | |
get_availability, find_meeting_time | ✓ | |
get_calendar_context | ✓ | |
list_proposals, get_proposal | ✓ | |
create_proposal, respond_to_proposal, resolve_proposal | ||
cancel_proposal | ✓ | |
get_availability_rules | ✓ | |
set_availability_rules | ||
clear_availability_rules | ✓ | |
list_webhooks, get_webhook, list_webhook_deliveries | ✓ | |
create_webhook, update_webhook | ||
delete_webhook | ✓ | |
list_ical_subscriptions, get_ical_subscription | ✓ | |
subscribe_ical, update_ical_subscription, sync_ical_subscription | ||
delete_ical_subscription | ✓ | |
list_scoped_keys | ✓ | |
create_scoped_key | ||
revoke_scoped_key | ✓ | |
get_audit_log | ✓ | |
accept_terms | ||
get_usage | ✓ |
工具注解(readOnlyHint、destructiveHint、idempotentHint)会提供给 MCP 客户端,以便宿主决定是否需要用户确认。
故障排除
Windows 上出现“spawn npx ENOENT”——使用上文所示的 cmd /c npx ... 形式。
出现“CHRONARY_API_KEY is required”——环境变量代码块必须嵌套在服务器条目下,而不是位于配置文件顶层。
没有显示工具——编辑配置后,重启 MCP 客户端。大多数客户端只会在启动时读取配置。
验证二进制文件能否在本地运行:
CHRONARY_API_KEY=test npx -y @chronary/mcp --help
链接
许可证
Apache-2.0
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。