Back to Home
tomoharu-hayashi icon

mcp-skills-server

Verified Safe

by tomoharu-hayashi

Overview

The MCP Brain Server acts as a long-term memory and knowledge base for AI agents, allowing them to learn from past experiences, store new knowledge, and retrieve relevant information via semantic search, mimicking human learning processes.

Installation

Run Command
uvx --from git+https://github.com/tomoharu-hayashi/mcp-server-brain.git mcp-brain

Environment Variables

  • MCP_BRAIN_DIR

Security Notes

The server primarily operates locally, interacting with the file system and Git. Input validation for knowledge names (kebab-case pattern) helps prevent directory traversal. `pyyaml.safe_load` is used for parsing knowledge files, mitigating YAML-related vulnerabilities. `pickle.load` is used for the embedding cache; while a known risk, it's mitigated here as the cache file is internally generated and its integrity is checked against a hash of the knowledge directory content. macOS-specific dialogs use AppleScript with input escaping (`_escape_applescript`) to prevent injection. Git operations (commit, push) are handled with `gitpython`, including mechanisms to prevent or resolve conflicts (rebase). The server requires a trusted Git repository and user interaction for `create`/`update` tools, making it generally safe for its intended use within a developer's environment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens300
Stars0
Forks0
Last Update2025-12-11

Tags

AIKnowledge ManagementSemantic SearchGit IntegrationDeveloper Tool