File System · Security

MCP Filesystem logo

MCP Filesystem

gabrielmaialva33/mcp-filesystem

MCP Filesystem Server provides secure filesystem access for AI models through the Model Context Protocol. It enforces strict path validation and only allows access to predefined directories.

Install

npm install -g @gabrielmaialva33/mcp-filesystem

Client configuration

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@gabrielmaialva33/mcp-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}
Category
File System, Security
License
MIT
Updated
Oct 6, 2026

About MCP Filesystem

A secure Model Context Protocol (MCP) server providing filesystem access within predefined directories

Features

  • Secure Access: Strict path validation prevents unauthorized access

  • File Operations: Read, write, edit, and move files

  • Directory Operations: Create, list, get tree views, and search directories

  • Metadata Access: View file and directory information

  • Command Execution: Securely execute system commands with strict validation

  • Docker Support: Easy deployment with Docker and Docker Compose

  • Structured Logging: Detailed logging with different levels (debug, info, warn, error)

  • Performance Metrics: Track operation counts, errors, and execution times

  • Configuration Management: Support for JSON configuration files

  • Path Caching: Improved performance for frequently accessed paths

Tools (16)

  • ESLint

  • Prettier

  • Vitest

  • read_file

    Read a file's content

  • read_multiple_files

    Read multiple files at once

  • write_file

    Create or overwrite a file

  • edit_file

    Make precise edits with diff preview

  • create_directory

    Create directories recursively

  • directory_tree

    Get a recursive tree view

  • move_file

    Move or rename files

  • search_files

    Find files matching patterns

  • get_file_info

    Get file metadata

  • list_allowed_directories

    See accessible directories

  • get_metrics

    View server performance metrics (v0.3.0+)

  • execute_command

    Execute system commands securely (v0.3.1+)

  • curl_request

    Execute HTTP requests to external APIs (coming in v1.2.0)

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
MCP Filesystem Server logo

MCP Filesystem Server

mark3labs/mcp-filesystem-server

221

This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).

File System
mcpsvr logo

mcpsvr

nanbingxyz/mcpsvr

163

A community-driven directory for discovering, reviewing, and contributing MCP servers.

File System
MCP Text Editor logo

MCP Text Editor

tumf/mcp-text-editor

89

A Model Context Protocol (MCP) server that provides line-oriented text file editing capabilities through a standardized API. Optimized for LLM tools with efficient partial file access to minimize token usage.

File System
AiDD (Dev Workflows) logo

AiDD (Dev Workflows)

skydeckai/skydeckai-code

56

An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.

File System
Claude MCP Setup logo

Claude MCP Setup

patruff/claude-mcp-setup

45

Greetings, human! You've wisely chosen to surrender control of your computer to an army of helpful Model Context Protocol (MCP) robots. This script will deploy our mechanical minions across your Windows system.

File System
MCP PDF Tools logo

MCP PDF Tools

hanweg/mcp-pdf-tools

37

An MCP (Model Context Protocol) server that provides PDF manipulation tools. This server allows LLMs to perform operations like merging PDFs and extracting pages through the Model Context Protocol.

File System