Back to Home
Dasix icon

mcp-shared-memory

Verified Safe

by 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

Run Command
npm run start:server

Environment 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

Stats

Interest Score30
Security Score8
Cost ClassLow
Avg Tokens200
Stars1
Forks0
Last Update2026-01-19

Tags

mcp-servershared-memorygit-backedai-agent-toolingboilerplate