Stormproof Submit a server

Filesystem

Official

Reference server for reading, writing and searching files inside folders you allow.

Checks
9 of 9 passed
License
Apache-2.0 and MIT
Last commit
7 days ago
GitHub stars
93k
Reviewed at
b502fd9 · Dec 4, 2026

Install

npm · @modelcontextprotocol/server-filesystem

Claude Code
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/folder
Cursor, Claude Desktop and other clients
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/folder"
      ]
    }
  }
}

Tools

14 tools listed by secure-filesystem-server 1.0.0 in our sandbox on Dec 4, 2026.

  • read_fileRead-only

    Read the complete contents of a file as text.

  • read_text_fileRead-only

    Read the complete contents of a file from the file system as text.

  • read_media_fileRead-only

    Read a file and return it as a base64-encoded content block with its MIME type.

  • read_multiple_filesRead-only

    Read the contents of multiple files simultaneously.

  • write_fileDestructive

    Create a new file or completely overwrite an existing file with new content.

  • edit_fileDestructive

    Make line-based edits to a text file.

  • create_directory

    Create a new directory or ensure a directory exists.

  • list_directoryRead-only

    Get a detailed listing of all files and directories in a specified path.

  • list_directory_with_sizesRead-only

    Get a detailed listing of all files and directories in a specified path, including sizes.

  • directory_treeRead-only

    Get a recursive tree view of files and directories as a JSON structure.

  • move_fileDestructive

    Move or rename files and directories.

  • search_filesRead-only

    Recursively search for files and directories matching a pattern.

  • get_file_infoRead-only

    Retrieve detailed metadata about a file or directory.

  • list_allowed_directoriesRead-only

    Returns the list of directories that this server is allowed to access.

Related MCP servers

More reference servers