agentleFS
PsychQuantPsychQuant/che-ical-mcp/plugin/CLAUDE.md

che-ical-mcp / plugin

CLAUDE.md38 starsChanged 8 months agoMITView on GitHub

macOS Calendar & Reminders MCP server with native EventKit integration. Binary shipped as .mcpb bundle (Claude Desktop) and via wrapper auto-download (Claude Code plugin). che-ical-mcp-wrapper.sh auto-downloads the notarized binary from GitHub releases on first install. See mcpb/README.md in the source repo for .mcpb bundle installation. See CHANGELOG.md in source repo for full history. https://github.com/PsychQuant/che-ical-mcp Use calendar-management skill as the entry point — it covers tool selection, argument shapes, common workflows. Use slash commands for shortcuts (/today, /week, /quick-event, /remind).

The file

We split this CLAUDE.md into the rules it gives an agent

6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    First: read the error. If it's TCC-flavored (accessDenied / insufficientAccess / unknownAuthState / "permission denied"), apply …

    line 49
  2. Very specific:

    Second: if TCC is verified healthy and the tool still fails, then debug the tool itself per normal investigation (re-read the relevant …

    line 50
  3. Very specific:

    Use calendar-management skill as the entry point — it covers tool selection, argument shapes, common workflows.

    line 55
  4. Very specific:

    Prefer batch tools (create_events_batch, delete_events_batch, move_events_batch) over loops

    line 59
  5. Very specific:

    Always use --dry-run first for destructive ops (see delete_events_batch schema)

    line 60
  6. Very specific:

    Check find_duplicate_events before mass-creating

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

che-ical-mcp — Plugin Overview

macOS Calendar & Reminders MCP server with native EventKit integration. Binary shipped as .mcpb bundle (Claude Desktop) and via wrapper auto-download (Claude Code plugin).

Components

Skills (skills/)

  • calendar-management — Primary guide for using the 29 MCP tools (event CRUD, reminder CRUD, batch operations, search, conflict detection, duplicate finding, --cli mode). Reference for what each tool does and when to use it.
  • troubleshoot-tcc — TCC permission diagnostic walkthrough. Use when user reports calendar tools failing silently / permission denied / missing dialog after upgrade. Wraps the v1.9.0 --print-tcc-path diagnostic flag into a 6-step fix flow (covers both the binary layer and the host-app / responsible-process layer, #168).

Commands (commands/)

  • /today — Today's events + pending reminders, grouped by time
  • /week — This week's events overview
  • /quick-event — Fast event creation flow
  • /remind — Quick reminder creation
  • /check-tcc — Print current TCC state + ready-to-paste reset / re-prompt commands (v1.9.1+)

Rules (rules/)

  • eventkit-error-debugging.md — TCC-first rule: when EventKit tools return accessDenied / insufficientAccess / unknownAuthState, always suspect TCC state before code bugs. Routes Claude to troubleshoot-tcc skill rather than retry-and-hope or premature code investigation.

Hooks (hooks/)

  • check-mcp.sh — Validate MCP server availability on session start
  • verify-weekday.sh — Sanity-check weekday calculations

Binary distribution (bin/)

che-ical-mcp-wrapper.sh auto-downloads the notarized binary from GitHub releases on first install. See mcpb/README.md in the source repo for .mcpb bundle installation.

Version history (recent)

  • v1.9.0 (2026-05-11) — TCC access gate refactor (#108 Phase 2): removed hasCalendarAccess / hasReminderAccess cache anti-pattern; replaced with per-call EKEventStore.authorizationStatus(for:) check via new AuthorizationGate + AuthorizationStatusSource test seam. Bundles --print-tcc-path diagnostic flag (#109).
  • v1.8.1 (2026-05-11) — Phase 1: mcpb/README.md post-install / upgrade TCC permission setup guide.
  • v1.8.0 (2026-05-11) — Wire-format consistency wave (#101 cluster): detail_level / fields / display_timezone / limit response-shape parameters.

See CHANGELOG.md in source repo for full history.

Source

https://github.com/PsychQuant/che-ical-mcp

Working with this plugin

When user reports calendar / reminder issues

  1. First: read the error. If it's TCC-flavored (accessDenied / insufficientAccess / unknownAuthState / "permission denied"), apply rules/eventkit-error-debugging.md — invoke troubleshoot-tcc skill or suggest /check-tcc command.
  2. Second: if TCC is verified healthy and the tool still fails, then debug the tool itself per normal investigation (re-read the relevant tool's MCP schema, check arguments, look for calendarNotFound / invalidTimeRange / etc.).
  3. Never: blindly retry a TCC-flavored error or suggest reinstall as first action.

When user wants to work with calendar / reminders

Use calendar-management skill as the entry point — it covers tool selection, argument shapes, common workflows. Use slash commands for shortcuts (/today, /week, /quick-event, /remind).

When making bulk operations

  • Prefer batch tools (create_events_batch, delete_events_batch, move_events_batch) over loops
  • Always use --dry-run first for destructive ops (see delete_events_batch schema)
  • Check find_duplicate_events before mass-creating

TCC permission model (mental model)

  • TCC binds grants to binary path + Developer ID + signing requirement, NOT cdhash
  • Same Developer ID + same path = grant survives binary upgrades (verified across v1.7.x → v1.9.0)
  • v1.9.0+ checks status per-call so user-driven changes (System Settings toggle / tccutil reset / future macOS policy shifts) surface immediately
  • --mcpb install path: ~/Library/Application Support/Claude/Claude Extensions/local.mcpb.che-cheng.che-ical-mcp/server/CheICalMCP
  • tccutil reset SERVICE bundleID may silently no-op against path-keyed entries — --setup is the reliable re-prompt path
  • Two-layer authorization (#168): besides the binary's own grant, macOS TCC may attribute access to the responsible process (host app). Claude Desktop spawns .mcpb servers via Helpers/disclaimer → the .mcpb binary is its own TCC client (one layer). Claude Code spawns ~/bin/CheICalMCP directly, no disclaim → attribution follows the host context, whose System Settings entry shows as a bare version number (e.g. 2.1.202 = ~/.local/share/claude/versions/<version>). Operative rule: keep BOTH the CheICalMCP entry AND the host-layer entry ON for the host you use — both-ON is a sufficient condition; whether the binary layer is also strictly necessary (AND-gated vs. only the responsible-process layer mattering) is not conclusively established (#168), so this says "keep both ON", not "both are required"
  • EKEventStore.authorizationStatus(for:) is context-dependent (#168): it reports the attribution of the calling context, not an absolute property of the binary — two different binaries return identical status from the same Claude Code shell. Diagnose a host's tool calls from that host's own context (Claude Code → its Bash tool; Desktop → the startup-banner lines in its MCP log)
  • Claude Code updates rotate the versioned binary path → the host-layer grant can silently go stale after an update (#170); re-check the version-number entry when calendar tools break right after a Claude Code upgrade

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.