squish
Verified Safeby michielhdoteth
Overview
Local-first persistent memory for AI agents, providing auto-capture of interactions, context injection, and advanced memory management features including deduplication.
Installation
node dist/index.jsEnvironment Variables
- DATABASE_URL
- REDIS_URL
- SQUISH_EMBEDDINGS_PROVIDER
- SQUISH_OPENAI_API_KEY
- OPENAI_API_KEY
- SQUISH_OLLAMA_URL
- SQUISH_WEB_PORT
- SQUISH_PRIVACY_MODE
- SQUISH_LIFECYCLE_ENABLED
- SQUISH_LIFECYCLE_INTERVAL
- SQUISH_SUMMARIZATION_ENABLED
- SQUISH_INCREMENTAL_THRESHOLD
- SQUISH_ROLLING_WINDOW_SIZE
- SQUISH_AGENT_ISOLATION_ENABLED
- SQUISH_DEFAULT_VISIBILITY
- SQUISH_GOVERNANCE_ENABLED
- SQUISH_CONSOLIDATION_ENABLED
- SQUISH_CONSOLIDATION_THRESHOLD
Security Notes
The web UI (http://localhost:37777) exposes API endpoints (e.g., /api/memories, /api/observations) which currently serve mock data but, if fully implemented with real data, would require robust authentication and authorization to prevent unauthorized access to potentially sensitive project memories. Default PostgreSQL credentials in `docker-compose.yml` (`squish`/`squish_dev`) are insecure for production and must be overridden. The project effectively mitigates SQL injection risks by utilizing Drizzle ORM and parameterized queries for database interactions. Secret detection and private tag filtering are implemented to enhance privacy, and API keys are loaded via environment variables, not hardcoded. The `npx-installer.js` script uses `execSync` for installation, which is generally a risk, but it downloads from the official GitHub releases.
Similar Servers
mcp-memory-keeper
Provides persistent context management for Claude AI coding assistants, ensuring work history, decisions, and progress are preserved across sessions and context limits.
claude-memory-mcp
Provides local, persistent, and searchable memory for AI assistants like Claude Desktop, enabling them to store and recall information efficiently.
memcord
A privacy-first, self-hosted MCP server for organizing chat history, summarizing messages, and searching past conversations using AI, particularly for Claude interactions.
claude-conversation-memory-mcp
Provides long-term memory for AI coding agents by indexing conversation history, tracking decisions and mistakes, and enabling semantic search across projects.