Back to Home
ShayYeffet icon

mcp_workspace_server

Verified Safe

by ShayYeffet

Overview

A secure, sandboxed server that gives LLMs controlled file system access to build and manage projects.

Installation

Run Command
node /ABSOLUTE/PATH/TO/mcp_workspace_server/dist/index.js

Environment Variables

  • MCP_WORKSPACE_ROOT
  • MCP_ALLOWED_COMMANDS
  • MCP_READ_ONLY
  • MCP_LOG_LEVEL
  • MCP_COMMAND_TIMEOUT

Security Notes

The server implements robust security measures including comprehensive path traversal protection, absolute path blocking, and symbolic link resolution via `pathUtils.ts`. Command execution is strictly controlled by an allowlist (`MCP_ALLOWED_COMMANDS`) and uses `child_process.spawn` with `shell: false` to prevent injection. An optional read-only mode is available. Communication is via stdio, reducing external network attack surface. No 'eval' or similar dangerous patterns were found without clear justification. Atomic file writes prevent partial corruption. Overall, security is a primary focus with well-implemented and tested safeguards.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-06

Tags

LLMAIFile SystemSandboxDevelopment