# Capsid

The knowledge store, work queue and credential boundary that every other project is run through.

- Ring: Runs everything
- Address: https://mcp.dustinedwards.info
- Source: https://github.com/DrDustinEdwards/capsid

## Inside

- MCP Worker (Cloudflare Worker): Serves MCP, the operator routes, /health and the Portal's API.
- Portal (React, served by the Worker): The admin view, behind Cloudflare Access.
- Five-minute tick (Workers cron trigger): Lease sweep, auto-merge, the watcher and the daily passes.
- capsid (D1 with FTS5): Documents, jobs, agents and the audit log.
- capsid-media (R2): Media and the daily backups.
- app KV (Workers KV): Caches, rate-limit counters and computed documents.

How they connect:

- MCP Worker writes to capsid
- MCP Worker writes to capsid-media
- MCP Worker writes to app KV
- MCP Worker serves Portal
- Five-minute tick writes to capsid
- Five-minute tick writes to app KV

## Connections

- Installs [d1-dump](https://dustinedwards.info/systems/d1-dump.md)
- Installs [site-runtime](https://dustinedwards.info/systems/site-runtime.md)
- Installs [Capsomer](https://dustinedwards.info/systems/capsomer.md)
- Coordinates [Capsomer](https://dustinedwards.info/systems/capsomer.md)
- Coordinates [Carrel](https://dustinedwards.info/systems/carrel.md)
- Coordinates [dustinedwards.info](https://dustinedwards.info/systems/dustinedwards-info.md)
- Coordinates [Enarratio](https://dustinedwards.info/systems/enarratio.md)
- Coordinates [Foxhound](https://dustinedwards.info/systems/foxhound.md)
- Coordinates [Foxing](https://dustinedwards.info/systems/foxing.md)
- Coordinates [Germomics](https://dustinedwards.info/systems/germomics.md)

All systems: https://dustinedwards.info/systems.md
