mcp-server-brain
Verified Safeby tomoharu-hayashi
Overview
Provides a 'long-term memory' knowledge base for AI agents, enabling them to learn from experience and avoid repeating past failures by storing, retrieving, and updating knowledge.
Installation
uvx --from git+https://github.com/tomoharu-hayashi/mcp-server-brain.git mcp-brainEnvironment Variables
- MCP_BRAIN_DIR
Security Notes
The server uses `pickle.load` for caching embeddings, which can be a security risk if the cache file (`.index_cache.pkl`) is tampered with by an attacker. However, the cache is stored locally within a Git-managed knowledge directory, reducing external exposure, and its validity is checked via a content hash of source files. Input validation for knowledge names (`kebab-case`) prevents path traversal. `subprocess` calls for UI/CLI tools (e.g., `osascript`, `git`, `code`) are handled with input escaping or controlled paths.
Similar Servers
MaxKB
MaxKB (Max Knowledge Brain) is an enterprise-grade intelligent agent platform designed to lower the technical barrier and deployment costs of AI implementation, helping businesses quickly integrate mainstream large language models, build proprietary knowledge bases, and offer a progressive upgrade path from RAG to complex workflow automation and advanced agents for various application scenarios like smart customer service and office assistants.
pluggedin-app
A testing environment for MCP (Model Control Protocol) servers, allowing interaction through a chat interface powered by LLMs and an AI agent using the LangChain ReAct framework.
nocturne_memory
Provides a persistent, structured long-term memory and dynamic knowledge graph system for AI agents, designed for human-AI collaboration.
amp
Provides a persistent, structured memory (Short-Term, Long-Term, and Graph) for AI agents, mimicking a hippocampus for continuous learning and recall.