Token导航 LogoToken导航

MCP Server · 开发工具

Calcom CLI

Cal.com CLI是一个用于管理和自动化Cal.com API v2的命令行工具和MCP服务器,支持61种工具,涵盖预订、事件类型、日程、可用时间段、日历等功能,适用于人类操作员和AI代理。

stdio官方级别未说明来源级核验工具 61calcom-cli
命令行工具日程管理TypeScriptClaudeCursorWindsurf

快速开始

作者 / 组织
bcharleson
提供方
bcharleson
运行时
Node.js

工具数量

61

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

1

仓库热度

收录来源

1 个

MCP World

选型结论

Calcom CLI 属于开发工具类 MCP Server,公开资料标注 61 个工具,通过stdio 本地进程接入,适配 Claude、Cursor、Windsurf,有可以直接复制的安装命令;接入前要先准备 OAuth 授权。

分类

开发工具

传输方式

stdio

认证方式

OAuth 授权

部署方式

公开资料未说明

安装与配置

安装命令

npx calcom-cli profile me --pretty

客户端配置示例

{
  "mcpServers": {
    "calcom-cli": {
      "command": "npx",
      "args": [
        "calcom-cli",
        "profile",
        "me",
        "--pretty"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 61 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

calcom cli

代理本地CLI和MCP服务器 加州理工学院API v2.61个工具,涵盖14个资源组——预订、活动类型、日程、可用性时段、日历、webhooks、团队等。为人类操作员和人工智能代理而构建。

为什么选择calcom cli?

  • 双模:相同的命令定义为CLI和MCP服务器供电——人机界面和代理界面之间没有漂移
  • 61个MCP工具:Cal.com API v2全面覆盖预订、活动类型、时间表、时段、日历、网络挂钩、个人资料、外出、团队、会议、目的地日历、选定日历和条纹
  • 本地代理:每个工具都有Zod验证的输入模式、结构化的JSON输出和LLM可以处理的描述性错误消息
  • 零配置:适用于单个 CAL_API_KEY 环境变量——无OAuth流,无需配置文件
  • 坚韧的:自动重试,速率限制(429)和服务器错误(5xx)呈指数回退,30秒读取/15秒写入超时

安装

# From npm (global)
npm install -g calcom-cli

# Or use npx (no install)
npx calcom-cli profile me --pretty

# From source
git clone https://github.com/bcharleson/calcom-cli.git
cd calcom-cli
npm install && npm run build
npm link

快速开始

# 1. Authenticate (interactive — saves to ~/.calcom-cli/config.json)
calcom login

# 2. Check your profile
calcom profile me --pretty

# 3. List upcoming bookings
calcom bookings list --status upcoming --pretty

# 4. Find available slots
calcom slots available \
  --event-type-id 123 \
  --start-time "2025-03-20T00:00:00Z" \
  --end-time "2025-03-27T00:00:00Z" --pretty

认证

三种身份验证方式,按优先级顺序检查:

优先级方法示例
1--api-key 旗帜calcom --api-key cal_live_xxxx profile me
2CAL_API_KEY 有人是。 export CAL_API_KEY=cal_live_xxxx
3配置文件calcom login (保存到 ~/.calcom-cli/config.json)

从获取API密钥 Cal.com设置>开发人员>API密钥.

MCP服务器设置

MCP服务器将所有61个工具暴露给任何兼容MCP的AI客户端。

克劳德代码

claude mcp add calcom -- npx calcom-cli mcp
# Or with local install:
claude mcp add calcom -- node /path/to/calcom-cli/dist/mcp.js

克劳德桌面

添加 ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "calcom": {
      "command": "npx",
      "args": ["-y", "calcom-cli", "mcp"],
      "env": {
        "CAL_API_KEY": "cal_live_xxxx"
      }
    }
  }
}

光标

添加到光标MCP设置(.cursor/mcp.json):

{
  "mcpServers": {
    "calcom": {
      "command": "npx",
      "args": ["-y", "calcom-cli", "mcp"],
      "env": {
        "CAL_API_KEY": "cal_live_xxxx"
      }
    }
  }
}

帆板运动

添加 ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "calcom": {
      "command": "npx",
      "args": ["-y", "calcom-cli", "mcp"],
      "env": {
        "CAL_API_KEY": "cal_live_xxxx"
      }
    }
  }
}

命令参考

身份验证命令

calcom login                    # Authenticate with Cal.com API key (interactive)
calcom logout                   # Remove stored credentials
calcom auth-status              # Show current auth status + config path

MCP服务器

calcom mcp                      # Start the MCP server (stdio transport)

______________________________________________________________________

预订(13个命令)

calcom bookings list [options]                   # List bookings
  --status          # upcoming, recurring, past, cancelled, unconfirmed
  --attendee-email   # Filter by attendee
  --event-type-id       # Filter by event type
  --after-start        # After this start time
  --before-end         # Before this end time
  --sort-start    # Sort by start time
  --take                 # Number of results
  --skip                 # Offset

calcom bookings get                  # Get booking details
calcom bookings create [options]                 # Create a booking
  --event-type-id        # (required) Event type ID
  --start               # (required) Start time
  --attendee-name      # (required) Attendee name
  --attendee-email    # (required) Attendee email
  --attendee-timezone    # (required) Attendee timezone
  --guests           # Comma-separated guest emails
  --notes              # Booking notes

calcom bookings cancel  [--reason ]
calcom bookings confirm 
calcom bookings decline  [--reason ]
calcom bookings reschedule  --start  [--reason ]
calcom bookings mark-absence  [--host] [--attendees ]
calcom bookings reassign 
calcom bookings update-location  --type  [--link ] [--integration ]
calcom bookings attendees 
calcom bookings add-attendee  --name  --email  --timezone 
calcom bookings add-guests  --guests 

事件类型(5个命令)

calcom event-types list                          # List event types
calcom event-types get              # Get event type details
calcom event-types create [options]              # Create event type
  --title             # (required) Event title
  --slug               # (required) URL slug
  --length          # (required) Duration in minutes
  --description        # Description
  --schedule-id          # Schedule to use
  --slot-interval       # Slot interval
  --min-notice          # Minimum booking notice
  --before-buffer       # Buffer before event
  --after-buffer        # Buffer after event

calcom event-types update  [options]
calcom event-types delete 

时间表(6个命令)

calcom schedules list                            # List all schedules
calcom schedules get                 # Get schedule details
calcom schedules default                         # Get default schedule
calcom schedules create [options]                # Create schedule
  --name               # (required) Schedule name
  --timezone             # (required) Timezone
  --default                  # Set as default
  --availability       # Availability rules JSON

calcom schedules update  [options]
calcom schedules delete 

插槽(5个命令)

calcom slots available [options]                 # Get available time slots
  --event-type-id       # (required) Event type ID
  --start-time         # (required) Range start
  --end-time           # (required) Range end
  --timezone            # Timezone for results
  --duration           # Duration override

calcom slots reserve --event-type-id  --slot-utc 
calcom slots get-reserved 
calcom slots update-reserved  --slot-utc 
calcom slots delete-reserved 

日历(5个命令)

calcom calendars list                            # List connected calendars
calcom calendars busy --date-from  --date-to 
calcom calendars check             # Check connection status
calcom calendars save-credentials --type  --username  --password 

calcom calendars disconnect 

Webhooks(5个命令)

calcom webhooks list                             # List webhooks
calcom webhooks get 
calcom webhooks create [options]                 # Create webhook
  --subscriber-url     # (required) Endpoint URL
  --triggers        # (required) e.g. BOOKING_CREATED,BOOKING_CANCELLED
  --secret          # Signing secret

calcom webhooks update  [options]
calcom webhooks delete 

配置文件(2个命令)

calcom profile me                                # Get your profile
calcom profile update [options]                  # Update profile
  --name              # Display name
  --timezone            # Timezone
  --time-format      # Time format
  --week-start         # Week start day
  --default-schedule-id 

外出(4个命令)

calcom out-of-office list
calcom out-of-office create --start  --end  [--notes ]
calcom out-of-office update  [options]
calcom out-of-office delete 

团队(5个命令)

calcom teams list
calcom teams get 
calcom teams create --name  [--slug ] [--timezone ]
calcom teams update  [options]
calcom teams delete 

会议(5个命令)

calcom conferencing list                         # List connected apps
calcom conferencing default                      # Get default app
calcom conferencing set-default --app-slug 
calcom conferencing connect --app-slug 
calcom conferencing disconnect --app-slug 

目标日历(1个命令)

calcom destination-calendars update --integration  --external-id 

所选日历(2个命令)

calcom selected-calendars add --integration  --external-id  --credential-id 
calcom selected-calendars delete --integration  --external-id  --credential-id 

条纹(3个命令)

calcom stripe check                              # Check Stripe connection
calcom stripe connect                            # Get Stripe Connect URL
calcom stripe save-credentials --code      # Save OAuth credentials

全局选项

选项描述
--api-key Cal.com API密钥(覆盖env/config)
--pretty漂亮的打印JSON输出
--quiet抑制输出(仅退出代码)
--fields 输出中包含的逗号分隔字段
-V, --version显示版本
-h, --help显示任何命令的帮助

输出格式

所有命令都将JSON返回到stdout。错误将转到stderr。

# Default — compact JSON
calcom bookings list

# Pretty-printed
calcom bookings list --pretty

# Field filtering
calcom bookings list --fields "uid,startTime,endTime,status" --pretty

# Quiet mode (exit code only, 0 = success, 1 = error)
calcom bookings cancel abc123 --quiet

建筑

src/
├── index.ts                 # CLI entry (Commander.js)
├── mcp.ts                   # MCP entry (stdio transport)
├── core/
│   ├── types.ts             # CommandDefinition — single source of truth
│   ├── client.ts            # CalcomClient (fetch + retry + backoff)
│   ├── auth.ts              # resolveApiKey (flag → env → config)
│   ├── config.ts            # ~/.calcom-cli/config.json (mode 0600)
│   ├── handler.ts           # executeCommand (path/query/body routing)
│   ├── output.ts            # JSON formatting + --fields filtering
│   └── errors.ts            # CalcomError hierarchy
├── commands/
│   ├── index.ts             # allCommands registry + registerAllCommands
│   ├── auth/                # login, logout, status
│   ├── bookings/            # 13 commands
│   ├── event-types/         # 5 commands
│   ├── schedules/           # 6 commands
│   ├── slots/               # 5 commands
│   ├── calendars/           # 5 commands
│   ├── webhooks/            # 5 commands
│   ├── profile/             # 2 commands
│   ├── out-of-office/       # 4 commands
│   ├── teams/               # 5 commands
│   ├── conferencing/        # 5 commands
│   ├── destination-calendars/ # 1 command
│   ├── selected-calendars/  # 2 commands
│   └── stripe/              # 3 commands
└── mcp/
    └── server.ts            # MCP tool registration from allCommands

每个命令都是一个 CommandDefinition 对象具有:

  • 名字 --MCP工具名称(例如。 bookings_list)
  • 组/子命令 --CLI路由(例如。 calcom bookings list)
  • 输入模式 --Zod模式(由CLI验证+MCP工具模式共享)
  • 端点 --HTTP方法+路径模板
  • fieldMappings --将每个字段路由到路径、查询或正文
  • 处理器 -通过CalcomClient执行API调用

配置文件

储存于 ~/.calcom-cli/config.json 具有权限 0600:

{
  "apiKey": "cal_live_xxxx",
  "user_id": 12345,
  "user_name": "John Doe",
  "user_email": "john@example.com",
  "username": "johndoe",
  "time_zone": "America/New_York"
}

Cal.com API详细信息

财产价值
基本URLhttps://api.cal.com/v2
认证Authorization: Bearer cal_live_xxxx
版本标题cal-api-version: 2024-08-13
速率限制120个请求/分钟
分页基于偏移(take + skip)
关键前缀cal_ (测试), cal_live_ (生产)

发展

git clone https://github.com/bcharleson/calcom-cli.git
cd calcom-cli
npm install

# Dev mode (no build needed)
npm run dev -- profile me --pretty
npm run dev -- bookings list --status upcoming --pretty
npm run dev:mcp                     # test MCP server

# Production build
npm run build                       # → dist/index.js + dist/mcp.js
npm run typecheck                   # TypeScript strict mode

# Adding a new command:
# 1. Add CommandDefinition in src/commands//index.ts
# 2. Export from the group's commands array
# 3. Import in src/commands/index.ts → allCommands
# 4. npm run build && calcom   --help

相关项目

此工具遵循与其他代理本机CLI/MCP工具相同的体系结构:

许可证

麻省理工学院

工具与能力

工具数量

61

资源数量

0

提示词数量

0

能力标签

命令行工具TypeScript本地部署API管理自动化工具日历管理预订系统

支持客户端

ClaudeCursorWindsurf

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 工具数量 61 个,一次接入能覆盖的操作比单点工具更全。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude、Cursor、Windsurf,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备OAuth 授权,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到OAuth 授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Calcom CLI

MCP World · 本页

61stdio有1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Calcom CLI 怎么安装?

公开资料给出的安装命令是 npx calcom-cli profile me --pretty,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Calcom CLI 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Calcom CLI 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Calcom CLI 需要 API Key 吗?

公开资料标注的认证方式是OAuth 授权,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Calcom CLI 支持哪些客户端?

公开资料标注支持 Claude、Cursor、Windsurf;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP