独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

afwlehmann/mcp-khal

MCP server for reading and creating events in khal calendars

装之前:没有可直接复制的命令 · 许可证未标注 · 站点拦截自动检测

第一步:npm install && npm run build

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · 自动访问被拒(HTTP 429),状态未能确认
★ 数取值
0 ★ · afwlehmann/mcp-khal · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-03 · 最近见到 2026-11-14 · 共见到 12 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 afwlehmann/mcp-khal;我们收录于 2026-11-03;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# mcp-khal

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP server that lets an assistant read and create events in your khal calendars.
## Tools
| Tool | Purpose | Parameters |
| listcalendars | List the configured calendars | — |
| listevents | List events in a date range (default: today + 7 days) | range?, calendar? |
| eventsinrange | List all events intersecting a time range | start, end, calendar? |
| searchevents | Search events by text | query, calendar? |
| newevent | Create an event or a recurring series | start, end?, summary, calendar?, location?, description?, alarm?, recurrence?, attendees?, organizer? |
newevent is the only tool that writes. Its description tells the calling agent to ask the user for confirmation first, and never to invite attendees without explicit approval. The other tools are read-only and also work on read-only calendars.
### Recurring events
recurrence is { pattern, ending? }. For a series, start must be YYYY-MM-DD HH:MM (the first occurrence, which must match the pattern), end is a required HH:MM, and times are local.
pattern is one of:
{ "kind": "daily", "interval"?: n }
{ "kind": "weekly", "interval"?: n, "weekdays": [...] }
{ "kind": "monthlyday", "interval"?: n, "day": 1-31 }
{ "kind": "monthlyweekday", "interval"?: n, "nth": 1-4 | -1, "weekday": "..." }
{ "kind": "yearly", "interval"?: n }
ending is { "kind": "never" }, { "kind": "count", "count": n } or { "kind": "until", "date": "YYYY-MM-DD" }.
Example, every 2nd Wednesday of the month: { "pattern": { "kind": "monthlyweekday", "nth": 2, "weekday": "wednesday" } }.
### Invites
With attendees (email addresses), newevent imports an ICS with ORGANIZER and one ATTENDEE per address. Like a series, start must be YYYY-MM-DD HH:MM and end an HH:MM. The organizer is organizer if given, else the calendar's entry from the setup mapping, else the calendar name if it is an email address; otherwise the call fails. khal does not send the invites; that is left to your sync/mail tooling.
## Usage
npm install && npm run build
MCP client config:
json
{ "mcpServers": { "khal": { "command": "node", "args": ["/path/to/mcp-khal/dist/cli.js"] } } }
## Nix / Home Manager
The flake exposes:
| Output | Purpose |
| packages. .default | The server. The version is taken from package.json and khal is bundled on its PATH. |
| overlays.default | Adds pkgs.mcp-khal. |
| homeModules.default | The Home Manager module programs.mcp-khal. |
### Home Manager module
Add the flake as an input, import the module and enable it:
nix
# flake.nix of your Home Manager configuration
inputs.mcp-khal.url = "github: /mcp-khal";
# home configuration
{ config, inputs, ... }:
imports = [ inputs.mcp-khal.homeModules.default ];
programs.mcp-khal = {
enable = true;
# calendar name -> your email address on that calendar
calendarEmails = {
work = "me@example.com";
private = "me@example.org";
};
};
Options:
| Option | Type | Default | Description |
| programs.mcp-khal.enable | bool | false | Install mcp-khal into home.packages. |
| programs.mcp-khal.package | package | the flake's default package for your system | Override to use your own build or an overlay. |
| programs.mcp-khal.calendarEmails | attrs of email address | { } | Calendar name → your address on it. Used as the organizer of invites (see Invites). Values are validated with the same rule as the server, so a typo fails at home-manager switch instead of breaking invites later. |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/afwlehmann-mcp-khal/)
来源
github · https://github.com/afwlehmann/mcp-khal
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引