agents-calendar
CalDAV calendar feeler for AI agents. CLI and MCP. Python stdlib HTTP plus mcp. No caldav / icalendar libraries.
Cursor (MCP) and Klanker (Cordis call_job) share this CLI.
pip install -e .
python -m agents_calendar --help-json
python -m agents_calendar list --from 2026-09-13T00:00:00Z --to 2026-09-14T00:00:00Z
python -m agents_calendar sync --init
MCP: sync --init (or init) merges mcpServers.agents-calendar into installed host configs. Merge by key only; other servers stay. Manual copy of mcp.json.example still works.
Credentials
Write ~/.agents/calendar.json (mode 0600, never commit). Example: calendar.json.example.
{
"url": "https://example/dav/calendars/user/calendar/",
"username": "user",
"password": "app-password"
}
CLI and MCP both read this file, so Cursor MCP works without mcp.json env and without launching Cursor from a shell.
Load order (highest wins): process env CALDAV_URL / CALDAV_USERNAME / CALDAV_PASSWORD, else the JSON file, else ~/.agents/.env with the same CALDAV_* keys. Optional mcp.json "env" still works because process env wins. sync --init never writes secrets into mcp.json.
Where to type the three values:
- Desktop / Cursor MCP:
~/.agents/calendar.json(mode0600). File is primary so Cursor GUI works without inheriting a PowerShell session.mcp.jsonenvis optional. - VPS / Klanker serve / Coolify container: Coolify env
CALDAV_URL,CALDAV_USERNAME,CALDAV_PASSWORD. Never git, never chat. Process env wins over the host file.
Tests: python -m unittest discover tests
Release files for agents-calendar 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agents_calendar-0.0.1.tar.gz | 18.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agents_calendar-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.2 kB
Release files / agents_calendar-0.0.1.tar.gz
| Download URL | agents_calendar-0.0.1.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ed8dff20bc6b6bb4825a634fa77158467426c9dd6f29a4f530bd2a15e9ddded
|
|
BLAKE2b-256 checksum How to use checksums |
f1e7fae91e226abb876b55f96bd75dd7cc93d08431e87f2268625405c431ad61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.6
|
Release files / agents_calendar-0.0.1-py3-none-any.whl
| Download URL | agents_calendar-0.0.1-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f146b0d9cc5e16fd1ea37e6d2cd62ce4c042da5e5fdcdc159badc6689b9393c8
|
|
BLAKE2b-256 checksum How to use checksums |
857136859ab63275a7a8f2b79b265d5efb060f99980f863f77488994af1d8a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.6
|