Back to Home
yuriyo icon

mcp-fileop

Verified Safe

by yuriyo

Overview

A stateful MCP server for efficient, memory-mapped file operations, designed for VS Code integration, CLI tools, and web applications requiring streaming and progress updates.

Installation

Run Command
docker run --rm -it -p 8080:8080 --name=mcp-fileop-server -v /tmp:/mnt/tmp:ro -v $HOME/tmp:/mnt/home_tmp:ro mcp-fileop:latest

Environment Variables

  • TZ

Security Notes

The server includes critical safeguards like `allowed_paths` configuration and canonical path resolution to prevent directory traversal and restrict file access. However, for the HTTP/SSE implementations (`mcp_stream`), the server binds to `0.0.0.0:8080` and explicitly enables CORS (`Access-Control-Allow-Origin: *`) without built-in authentication or authorization. This makes it vulnerable if exposed to untrusted networks or clients without an external proxy providing security layers. For local or VS Code integration (stdio), these are lesser concerns. No obvious malicious patterns, `eval` usage, or hardcoded secrets were found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens1
Stars0
Forks0
Last Update2025-12-04

Tags

MCP ServerFile OperationsC++20Memory-mapped I/OStreaming