Back to Home
EarthTan icon

local-file-operating

Verified Safe

by EarthTan

Overview

A simplified local file system MCP server designed for managing Obsidian note libraries and Markdown files, enabling AI assistants to securely interact with and manipulate knowledge bases.

Installation

Run Command
python local_filesystem_mcp_simple.py

Environment Variables

  • MCP_FILESYSTEM_ROOT

Security Notes

The server implements strong security measures for file operations, including root directory restriction via `resolve_path`, a file type whitelist (e.g., '.md', '.json', '.txt', '.canvas') via `_has_allowed_extension`, and file size limits (10MB) for reads. All file paths provided to tools are rigorously validated against these constraints. The `open_file_with_obsidian` tool uses `subprocess.run` to open files, which is controlled by the validated file paths, mitigating direct command injection risks. The `mcp` SDK's HTTP transports include DNS rebinding protection, enhancing network security if HTTP is enabled. No 'eval' or obvious hardcoded secrets were found.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2025-11-25

Tags

ObsidianMarkdownLocal File SystemMCPAI AssistantKnowledge BaseFile Management