Skip to content

Inside Capsid

Its 9 parts, what each runs on, and how they connect, plus the 2 outside systems it works with.

The parts of Capsid
PartKindRuns onWhat it does
MCP WorkerworkerCloudflare WorkerServes MCP, the operator routes, /health and the Portal's API.
PortalsiteReact, served by the WorkerThe admin view, behind Cloudflare Access.
Five-minute tickcronWorkers cron triggerAuto-merge, the watcher and the daily passes.
capsiddatabaseD1 with FTS5Documents, jobs, agents and the audit log.
capsid-mediabucketR2Media and the daily backups.
capsid-mcp-tool-callsbucketR2Copies of the tool-call log, kept a year under a lock rule after the log prunes them.
app KVkvWorkers KVCaches, rate-limit counters and computed documents.
OAuth KVkvWorkers KVThe OAuth provider's grants and tokens, kept apart from the app KV.

Outside it

How they connect

Flows through it