Back to Home
techmad220 icon

cognitive-memory-mcp

Verified Safe

by 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

Run Command
/path/to/cognitive-memory-mcp/run-mcp.sh

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-14

Tags

Memory ManagementSemantic SearchReasoning EngineVector DatabaseRust