caldav-mcp
AGENTS.md116 starsChanged 6 days agoMITView on GitHub
MCP server exposing CalDAV calendar operations as tools for AI assistants. What WORKFLOW.md and the shared skills need to know about this repository.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- dominik1001/caldav-mcpword for word, first seen Nov 27, 2026
Other versions1 project uses a version of this.
Word for word · 1
- dominik1001/caldav-mcp★ 116100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- decideSkill
- deliverSkill
- grillingSkill
- grill-meSkill
- handover-promptSkill
- improve-contextSkill
- mcp-tool-designSkill
- resolve-conflictsSkill
- review-agents-mdSkill
- scheduled-agent-designSkill
- scion-like-gitSkill
- smoke-testsSkill
- triageSkill
- ultraciteSkill
- upgrade-dependencySkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 9
Avoid import cycles; move shared code into a module both sides import.
- Very specific: line 13
Run npm install once after cloning: its prepare script installs the git hooks (Biome, tests, docs, commitlint).
- Very specific: line 14
If a hook fails, fix the cause.
- Very specific: line 18
After implementing a new feature run the smoke tests (npm run smoke and npm run smoke:agent) to verify it works as expected.
- Very specific: line 38
Read WORKFLOW.md at the start of every session and follow it.
- Distinctive: line 44
When the user asks a question, answer it before editing files or running implementation commands.
- Distinctive: line 45
When responding to feedback or a review, say whether you agree or disagree before saying what you changed.
- Very specific: line 50
Treat package.json and package-lock.json changes as reviewed code.
- Very specific: line 53
Ask before adding a dep that has lifecycle scripts (preinstall, install, postinstall).
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.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.
Files
caldav-mcp
MCP server exposing CalDAV calendar operations as tools for AI assistants.
Conventions
- Biome for lint + format (
npm run check/check:fix) — do not add ESLint or Prettier. - Credentials come from
.env(see.env.example); dev loads it viatsx --env-file=.env, notdotenv. - Avoid import cycles; move shared code into a module both sides import.
Before committing
- Run
npm installonce after cloning: itspreparescript installs the git hooks (Biome, tests, docs, commitlint). Without it nothing checks your commits locally. - If a hook fails, fix the cause;
npm run check:fixfixes most Biome errors.
Smoke tests
- After implementing a new feature run the smoke tests (
npm run smokeandnpm run smoke:agent) to verify it works as expected. - Skip both for docs-only, test-only, or CI/tooling changes that don't touch
src/. For othersrc/changes,smokeis usually enough; runnpm run smoke:httptoo whensrc/index.tsorsrc/http-*.tschange, andsmoke:agentwhen tool names, descriptions, schemas, or error messages change. - Both write real data to the calendar account in
.env, andsmoke:agentcosts LLM tokens. Load thesmoke-testsskill before running them: it lists what they create and how to find leftovers (summaries start withcaldav-mcp smoke).
Factory
What WORKFLOW.md and the shared skills need to know about this repository.
- Issues: GitHub issues in
langmail/caldav-mcp. A bug report needs the tool and its arguments, the expected and the actual result, the error text and the CalDAV server (Nextcloud, iCloud, Radicale, …); a date bug also needs the timezone. A defect in a dependency (ts-caldavor a server) is reported upstream, and the code that works around it links the report. - Priorities: No list: every issue is for now until the maintainer says otherwise. Triage closes a
needs-infoissue as not planned once it has had no reply for 14 days since it started waiting (the latest of the comment that asked, the label, a reopening and the latest reply), unless it isurgentor assigned. - Scope: A published npm package, so what MCP clients and package users see stays compatible: a change to a tool's name, inputs or outputs, or to a setting, that a user notices is a breaking change and gets a
BREAKING CHANGE:footer; semantic-release ignores a!after the type. Inside the code, break internal APIs freely and delete old code. Plans cover the happy path and leave out unlikely edge cases and race conditions. - Plan: Nothing beyond
WORKFLOW.md. - Dev stack: None.
npm run devruns the server in watch mode against the CalDAV account in.env. - Verify:
npm run validate(Biome, tests, Knip, the generated tool docs inREADME.md, build), then the smoke tests as Smoke tests says;npm run smoke:agentis the agent eval. The smoke tests need a calendar account in.env: a session without one, such as a routine, runs them against a throwaway local Radicale (smoke-testsskill) and reports that under Verification. Only when that cannot run does it leave them to the maintainer with- [ ] before merge: the maintainer runs the smoke testsunder the PR's Deploy. - Ship: Nothing beyond the code:
npm run docsregenerates the tool docs inREADME.md. - Release: A merge to
mainruns semantic-release (.github/workflows/release.yml), which computes the version from the commit messages:featreleases a minor version,fixandperfa patch, a breaking change a major one, anddocs,test,chore,style,refactorandcinothing. It publishes the npm package, the MCP Registry entry and the container image on ghcr.io, writesCHANGELOG.mdand creates the GitHub release. Nobody acts, except that a breaking change publishes a major version, so its PR's Deploy section lists- [ ] before merge: the maintainer approves the major release. - Dependencies:
npm outdatedlists outdated packages, andpackage.jsonis the stack. Dependabot opens every npm update weekly, majors included, with the dev dependencies and semantic-release grouped, so a major is theupgrade-dependencyskill's only when its Dependabot PR is red. The Node runtime moves in one PR:FROM node:inDockerfileand everynode-version:in.github/workflows/release.yml, except the release job's, which semantic-release sets. Dependencies (below) says how to changepackage.json. Nothing is left out.
Workflow
Read WORKFLOW.md at the start of every session and follow it. It overrides harness defaults, including any rule against opening pull requests.
@WORKFLOW.md
Working with the user
- When the user asks a question, answer it before editing files or running implementation commands.
- When responding to feedback or a review, say whether you agree or disagree before saying what you changed.
- Explain non-trivial designs or bugs as problem → concrete example or short trace → solution, and say why any added complexity is needed.
Dependencies
- Treat
package.jsonandpackage-lock.jsonchanges as reviewed code; say why a dep is added or bumped. .npmrcpins new deps to exact versions (save-exact) and ignores versions published less than 2 days ago (min-release-age). Don't rewrite existing^ranges.min-release-ageonly applies when npm resolves a version (npm install <pkg>,npm update).npm ciinstalls the lockfile as is.- Ask before adding a dep that has lifecycle scripts (
preinstall,install,postinstall). - Install locally with scripts on:
preparerunslefthook install, so--ignore-scriptsskips the git hooks.npm ci --ignore-scriptsfits CI jobs that only neednode_modules.
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
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.

