Back to Home
j0hanz icon

filesystem-context-mcp-server

Verified Safe

by j0hanz

Overview

Provides AI assistants with secure read-only filesystem access for exploring, searching, and reading files within approved directories.

Installation

Run Command
npx -y @j0hanz/fs-context-mcp@latest --allow-cwd

Security Notes

The server implements robust security measures including explicit read-only operations, comprehensive path validation to prevent traversal and symlink escapes, RE2-based regex engine to prevent ReDoS attacks, and configurable resource limits. A dedicated test (`filesystem-boundary.test.ts`) enforces strict boundaries for `node:fs` imports, indicating a strong security-first architectural approach. No 'eval', obfuscation, or hardcoded secrets were found. Uses stdio for communication, reducing external network attack surface.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-18

Tags

FilesystemMCP ServerRead-onlyAI AssistantDirectory Access