mcp-memory-server
Verified Safeby QianJue-CN
Overview
An intelligent memory management server for AI models, providing persistent memory storage with CRUD operations, semantic vector search, and folder organization via the Model Context Protocol (MCP).
Installation
npx @qianjue/mcp-memory-serverEnvironment Variables
- MCP_MEMORY_STORAGE_PATH
- LOG_LEVEL
- MCP_EMBEDDING_PROVIDER
- MCP_EMBEDDING_API_KEY
- MCP_EMBEDDING_MODEL
- MCP_EMBEDDING_BASE_URL
- MCP_EMBEDDING_DIMENSIONS
- MCP_EMBEDDING_TIMEOUT
- MCP_EMBEDDING_MAX_RETRIES
Security Notes
The server operates as an IPC server via standard I/O, which inherently limits direct network attack surface. It employs robust input validation using Zod schemas for all tool inputs, and file operations leverage `proper-lockfile` to prevent race conditions, enhancing data integrity. API keys for external embedding providers (OpenAI, Gemini) are expected from environment variables, which is good practice. However, the `MCP_EMBEDDING_BASE_URL` for embedding providers is configurable, introducing a potential risk if an attacker can manipulate environment variables to point to a malicious endpoint, or if a user inadvertently misconfigures it. The default base URLs for known providers are safe. No direct 'eval' or obfuscation found.
Similar Servers
mcp-memory-service
A Model Context Protocol (MCP) server providing persistent, semantic memory storage and retrieval capabilities for AI agents. It supports lightweight semantic reasoning (contradiction, causal inference), content chunking, multi-backend storage (SQLite-vec, Cloudflare, Hybrid), autonomous memory consolidation (decay, association, clustering, compression, forgetting), and real-time updates via SSE. It's designed for token-efficient interaction with LLMs.
memory-graph
A graph-based MCP server that provides intelligent memory capabilities for Claude Code, enabling persistent knowledge tracking, relationship mapping, and contextual development assistance.
memorizer-v1
A .NET-based service for AI agents to store, retrieve, and search through memories using vector embeddings, featuring asynchronous chunking, version control, and relationship management.
simple-memory-mcp
A Model Context Protocol (MCP) server for persistent memory storage, providing intelligent tagging and full-text search for AI assistants to remember context across conversations.