Any harness via MCP¶
The minimum viable integration anywhere: append the brief to a system prompt, and connect the tool server for depth and writes.
python3 -m memcal.mcp_server # stdio MCP server
- Read
brief.mdfor the snapshot;MEMCAL_HOMEselects the store. memcal://briefexposes the same snapshot as a resource.- 23 tools on this server (see MCP server). Hermes exposes
21 tools: prefetch replaces
memcal_brief, andmemcal_nameis MCP-only. - Reads (
memcal_brief,memcal_open,memcal_search_archive,memcal_conversation, …) expand depth; typed writes (memcal_add,memcal_update,memcal_todo,memcal_answer, …) run as code, no model. MEMCAL_HARNESS/MEMCAL_SESSIONattribute turns to their conversation.
Cursor¶
Add to your MCP config (often ~/.cursor/mcp.json or project .cursor/mcp.json):
{
"mcpServers": {
"memcal": {
"command": "python3",
"args": ["-m", "memcal.mcp_server"],
"env": {
"MEMCAL_HOME": "${HOME}/.memcal"
}
}
}
}
If you run from a git checkout rather than an installed package, set "cwd" to
that checkout so -m memcal.mcp_server resolves, or use the same Python that
runs memcal after ./install.sh.
Claude Desktop¶
Add to claude_desktop_config.json (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json; Linux:
~/.config/Claude/claude_desktop_config.json):
{
"mcpServers": {
"memcal": {
"command": "python3",
"args": ["-m", "memcal.mcp_server"],
"env": {
"MEMCAL_HOME": "${HOME}/.memcal"
}
}
}
}
Restart the client after editing. Smoke: call memcal_brief.
Linux demo path (email + MCP)¶
Prefer email over macOS-only sources. Slack or GroupMe are fine token-based alternates if email ingest isn’t set up yet.
./install.sh(do not pass--nightly— the 3am launchd dream pass — on Linux) thenmemcal doctormemcal setup· configure email ingest ·memcal loginfor your mail sourcememcal ingest email --limit 20(or your mail source name)- Wire MCP with the JSON above · call
memcal_brief→memcal_open(already includes new activity) →memcal_updatewith flatsource_idswhen correcting
Nightly / daytime collect without launchd: run memcal ingest email (or
memcal schedule run) from user cron. On Linux, memcal schedule install
refuses LaunchAgents and prints a cron snippet — use that instead of launchd.
Tool tables: MCP server · Recall · Remember · Correct. Native integrations (Hermes, OpenClaw) add per-turn injection and turn archival on top of this boundary.