cognitive-memory-mcp
Verified Safeby techmad220
Overview
A Rust-based server for managing short-term and long-term memory, featuring semantic search, memory consolidation, and LLM-powered reasoning capabilities, interacting via MCP protocol.
Installation
/path/to/cognitive-memory-mcp/run-mcp.shEnvironment Variables
- DATABASE_URL
- OLLAMA_URL
- EMBEDDING_MODEL
- LLM_MODEL
- RUST_LOG
Security Notes
The server uses Rust, which provides strong memory safety. Database interactions are handled securely with sqlx's parameterized queries, preventing SQL injection. External LLM calls are made to a configurable Ollama endpoint, defaulting to localhost, and URLs are not constructed from unsanitized user input, mitigating command injection risks. No hardcoded sensitive credentials were found; configuration uses environment variables. The primary interaction is via stdio, relying on the invoking process for external network security. The overall design appears robust against common web vulnerabilities.
Similar Servers
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.
memory-mcp-server-go
A Model Context Protocol server providing knowledge graph management capabilities for LLMs to maintain memory across conversations.
org-mcp-server
A Model Context Protocol (MCP) server for org-mode knowledge management, providing search, content access, and note linking capabilities for AI agents.