Back to Home
thinkingidentities icon

ep2-filebridge

Verified Safe

by thinkingidentities

Overview

Facilitates cross-platform file and Git operations for AI agents and other cognates within a sandboxed repository.

Installation

Run Command
npm start

Environment Variables

  • FILEBRIDGE_ROOT
  • PORT
  • FILEBRIDGE_URL
  • MCP_PORT

Security Notes

The server implements strong path sanitization (`safePath()`) to sandbox all file operations to a specific root directory (`/home/jim00/ep2` by default), preventing arbitrary file system access. It does not use `eval()` or direct `child_process.exec()` on user input. It relies on `simple-git` for Git operations, which generally handles command arguments safely, minimizing shell injection risks. The primary remaining risk is the inherent privilege of offering file and Git access, which requires trust in the consuming AI agents and robust input validation, or a potential exploit within `simple-git` or the Node.js `fs` module itself. The MCP-SSE server sets `Access-Control-Allow-Origin: *`, which is typical for SSE but means any origin can connect to the SSE endpoint.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-01

Tags

File ManagementGit IntegrationAPI GatewayMCP ServerAI Agents