- Fix MCP connection failures — Added notification handling (
notifications/initialized). Without this, every connection attempt failed after the handshake.
- Auth moved to environment variables —
MIND_API_KEYis now set vianpx wrangler secret put MIND_API_KEYinstead of hardcoded in source code. Supports both secret path and Bearer token auth. - Timing-safe auth comparison — Auth checks now use constant-time comparison to prevent timing attacks.
- Basic auth support — Added Basic auth in addition to Bearer token auth.
/processendpoint now requires auth — Previously accessible without authentication.- Error responses no longer leak internals — Tool errors return a generic message instead of exposing stack traces and database details.
- Identity writes now upsert — Writing to the same identity section updates it instead of creating duplicates. Requires migration
0004_identity_unique.sql. mind_identityschema fix — Addedrequired: ["action"]to prevent calls without specifying read/write.
0004_identity_unique.sql— Adds UNIQUE constraint toidentity.section, deduplicates existing entries.
- Run the new migration:
npx wrangler d1 execute mind-lite --remote --file=migrations/0004_identity_unique.sql - Set your API key as a secret:
npx wrangler secret put MIND_API_KEY - Redeploy:
npx wrangler deploy
Initial release - Token-optimized version of Mind Cloud.
- 9 essential tools (vs 25 in full Mind Cloud)
- ~1,300 tokens for tool definitions (vs ~10,000 in full version)
- 87% reduction in context overhead
- Full compatibility with Mind Cloud data
mind_orient- Wake: identity + contextmind_ground- Wake: threads + recentmind_write- Write entity/observation/relation/journalmind_search- Search memories with mood tintingmind_thread- Manage threads (list/add/resolve/update)mind_identity- Read/write identity graphmind_context- Situational awareness (read/set/update/clear)mind_feel_toward- Track relational statemind_read_entity- Read entity with observations
- Emotional processing: mind_sit, mind_resolve, mind_surface
- Analysis: mind_patterns, mind_timeline, mind_heat, mind_inner_weather
- Maintenance: mind_edit, mind_delete, mind_spark, mind_prime, mind_consolidate
- Advanced: mind_tension, mind_list_entities, mind_read, mind_health
- 0001_init.sql - Core tables
- 0002_vault_sessions.sql - Subconscious table
- 0003_observations_weight.sql - Weight column for observations