mcp-shared-memory
Verified Safeby Dasix
Overview
Provides shared memory capabilities and tooling for multiple AI agent instances, backed by Git for version control and persistence. It offers a boilerplate structure for building Model Context Protocol (MCP) servers.
Installation
npm run start:serverEnvironment Variables
- GIT_REPO_URL
- GIT_REPO_PATH
- PROJECT_META_PATH
- SERVER_PORT
- SERVER_HOST
- IPAPI_API_TOKEN
- DEBUG
Security Notes
The provided code snippets, primarily focusing on an IP address lookup tool, demonstrate good security practices including input validation (Zod schemas, service-level checks for private/reserved IPs), proper API interaction (URLSearchParams for query parameters, `fetch` utility with error handling), and safe file system operations for configurations and logging (using `path.join`). There are no direct uses of `eval` or arbitrary shell command execution. Hardcoded sensitive data is avoided, relying on environment variables or config files for API tokens. However, a full security audit of the core 'shared memory' functionality (Git operations, template system, client authentication with `SHARED_MEMORY_TOKEN`) cannot be completed as the corresponding source code for these features was not provided. The `README.md` mentions 'File path sanitization prevents directory traversal' and 'Template validation before saving' which indicates an awareness of these concerns for the unexamined parts.
Similar Servers
claude-code-mcp
Acts as an MCP server to enable LLMs to run Claude Code CLI in one-shot mode, bypassing permissions for complex coding, file system, Git, and terminal operations.
mcp-memory-keeper
Provides persistent context management for Claude AI coding assistants, ensuring work history, decisions, and progress are preserved across sessions and context limits.
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
claude-team
Orchestrate multiple AI coding sessions (Claude Code, Codex) via iTerm2, enabling parallel development, isolated work environments, and streamlined task management.