memory-mcp-server
Verified Safeby jasonzhangshuo
Overview
A personal memory management system that allows an AI agent to store, search, update, and summarize personal memories, goals, and decisions, with robust integration and synchronization capabilities with the Feishu (Lark) platform for data visualization and backup.
Installation
python main.pyEnvironment Variables
- FEISHU_APP_ID
- FEISHU_APP_SECRET
- FEISHU_APP_TOKEN
- FEISHU_TABLE_ID
- FEISHU_DEFAULT_FOLDER_TOKEN
- FEISHU_VERIFICATION_TOKEN
- FEISHU_ENCRYPT_KEY
- FEISHU_IM_TABLE_ID
- FEISHU_IM_DOC_TOKEN
- SYNC_INTERVAL
Security Notes
The server uses parameterized queries (`aiosqlite`) to prevent SQL injection. Sensitive credentials are read from environment variables, avoiding hardcoding. Pydantic models are used for input validation, mitigating common injection risks. The Feishu event webhook has basic token validation, and explicitly notes that encryption is not implemented, meaning it won't attempt to process encrypted payloads without the `ENCRYPT_KEY` being set, which is a safe default. File system operations are primarily on internally managed paths (`entries/`). External API calls are handled by `httpx`, a standard and secure library. No obvious `eval` or `exec` vulnerabilities in user-controlled paths were found. The primary risk would stem from misconfiguration of Feishu API permissions or the webhook exposing itself publicly without robust access controls.
Similar Servers
context-sync
Context Sync provides AI systems with persistent, queryable memory across all development tools, sessions, and projects, allowing AI to remember codebase details, architectural decisions, and conversation history.
knowns
A CLI-first knowledge layer and task/documentation management tool that provides AI agents with persistent project context.
post-cortex
Provides long-term, persistent memory and knowledge management for AI assistants, enabling them to store, semantically search, and retrieve conversation context, decisions, and code-related insights.
memory-journal-mcp
Provides persistent project memory and integrates GitHub workflows (issues, PRs, Kanban) to bridge fragmented AI sessions for developers.