← Changelog

A Connector at mcp.kay-os.lol, Twelve Years of Meetings, and Four MCP Servers

kay-os now has its own address for Claude to reach the mail archive, learnstart's calendar history back to 2013 is queryable next to the mail, and kay-os sessions can reach Vimcal, Superhuman, and the Mac itself.

Why Care?

The archive was searchable from Cloudflare but only by code. Now it has a front door Claude can use from any device, signed in through the tree's own identity service. And the calendars that say who Michael actually met are landing next to the mail, starting with twelve years of LearnStart history.

What's New?

The connector is live at https://mcp.kay-os.lol/mcp.

  • Michael bought kay-os.lol through Cloudflare, so the connector Worker claims mcp.kay-os.lol as a custom domain; Cloudflare made the DNS and the certificate.

  • Sign-in goes through id.didi.sh. The connector checks every token against id.didi.sh's public key: issuer, audience https://mcp.kay-os.lol, expiry, and Michael's didi account. id.didi.sh registered kay-os as a resource the same night.

  • Four read-only tools, the same as the laptop's: search_mail, read_message, list_attachments, get_attachment. Files come as 15-minute signed links the Worker serves from the original email.

  • Everything an email's sender wrote comes back inside randomized untrusted-content markers, every call is logged, and the hard rule from AGENTS.md goes out to every client.

  • Built by a subagent from plan C4, 31 tests. Still to do: the first sign-in from the Claude app, which sets the one didi account allowed in.

Calendars as context.

  • A new spec, Calendars-as-Context: four sources (Google Takeout, kay-os's own Google access, Vimcal, and the invites in the mail) feeding one set of tables, calendar_events, calendar_attendees, and calendar_occurrences, with the same meeting tied together by its calendar UID.

  • calendar/import_takeout.py imports a Takeout export. learnstart's: 9,242 events across 13 calendars, 41,723 dated occurrences with every recurring series expanded, 41,482 attendee rows, in about 13 seconds.

  • People met per year at LearnStart: 670 in 2013, 918 in 2015, 892 in 2020, 379 in 2022.

  • Exports are filed by account and date, and mail/r2.sh push-calendar keeps them in R2 under calendar/, add-only like raw mail.

Four MCP servers in kay-os sessions, listed in a new README section: kaymail (the local archive), Vimcal (calendars across eight accounts), Superhuman (live mail in every mailbox linked to it, one at a time), and macos-mcp (control of the Mac). macos-mcp runs only on a Mac, through scripts/mcp-macos.sh, which serves an empty server everywhere else, and with its standard profile, because kay-os sessions read email anyone can write.

Found Along the Way

  • About 500 of learnstart's "events" are birthdays: yearly all-day series starting between 1933 and 1989. Meeting counts filter on all_day = 0.

  • id.didi.sh only issues tokens for registered resources, and its consent screen asks for an entity, so a new connector needs a line in its oauth_resources and a redeploy.

  • Claude wants the resource named exactly as typed (…/mcp), while id.didi.sh's tokens name the registered origin. The connector advertises one and checks the other.

What's Next

Sign in to the connector from the Claude app and allow Michael's didi account. Then calendar sync in the Worker (C5) and calendar tools in the connector (C6).