Back to Home
QianJue-CN icon

mcp-memory-server

Verified Safe

by 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

Run Command
npx @qianjue/mcp-memory-server

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens250
Stars0
Forks0
Last Update2025-11-20

Tags

memory managementvector searchAI backendModel Context ProtocolNode.js