MCP server intelligence profile

Filesystem MCP Server

Enables comprehensive filesystem operations including reading/writing files, directory management, file searching, editing with diff preview, compression, hashing, and merging with dynamic directory access control

Local Onlyahmetshbz1
Awaiting current scanNpm · 2026.8.31

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

1Distribution channel
14Independently observed tools
0Linked remote endpoints
AvailableVersion intelligence

Detailed security scan evidence is not public for this MCP yet. Public identity, registry metadata, and independently observed protocol inventory remain available.

Install and connect

Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.

Install @modelcontextprotocol/server-filesystem from npm

Install exact version 2026.8.31. No verified executable entrypoint is available, so use the package documentation to launch it.

npm install --save-exact @modelcontextprotocol/server-filesystem@2026.8.31

Identity

Canonical slugfilesystem-mcp-server-bd1c8116DeploymentLocal Only
Canonical packagenpm:@modelcontextprotocol/server-filesystemRepositoryahmetshbz1/filesystem-mcp
First publishedLatest release
Last security verificationClassification confidence90%
PublicationDraftOfficial distributionNot verified

Distributions

ChannelIdentifierCurrent versionVersionsSource
npm@modelcontextprotocol/server-filesystem2026.8.3119Repository

Current release

PackageVersionPublished / observedInventorySecurity scan
npm@modelcontextprotocol/server-filesystem2026.8.31CurrentSep 5, 202614 toolsSucceeded · 0 resources · 0 promptsEvidence restricted
Enterprise protection

Continuously monitor this MCP for security risk

Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.

  • Independent exact-version security scans
  • Continuous release and vulnerability monitoring
  • Risk-change alerts with capability context
  • Historical evidence and API exports
Custom pricingContact salesTailored to your organization, integrations, data needs, and support requirements.

Current version evidence

No public current-version evidence is available yet.

Current protocol inventory

2025-06-18Negotiated protocol
secure-filesystem-serverServer-reported name
1Capability groups
Sep 1, 2026Observed

Tools 14

ToolCategoryAnnotationsRisk
create_directoryCreate a new directory or ensure a directory exists. Can create multiple nested directories in one operation. If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects or ensuring required paths exist. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": false,
  "idempotentHint": true,
  "destructiveHint": false,
  "openWorldHint": false
}
WritesNon-destructiveIdempotentClosed world
directory_treeGet a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "excludePatterns": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
edit_fileMake line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "edits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "oldText": {
            "type": "string",
            "description": "Text to search for - must match exactly"
          },
          "newText": {
            "type": "string",
            "description": "Text to replace with"
          }
        },
        "required": [
          "oldText",
          "newText"
        ]
      }
    },
    "dryRun": {
      "default": false,
      "description": "Preview changes using git-style diff format",
      "type": "boolean"
    }
  },
  "required": [
    "path",
    "edits"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": false,
  "idempotentHint": false,
  "destructiveHint": true,
  "openWorldHint": false
}
WritesDestructiveNon-idempotentClosed world
get_file_infoRetrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
list_allowed_directoriesReturns the list of directories that this server is allowed to access. Subdirectories within these allowed directories are also accessible. Use this to understand which directories and their nested paths are available before trying to access files.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
list_directoryGet a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
list_directory_with_sizesGet a detailed listing of all files and directories in a specified path, including sizes. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is useful for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "sortBy": {
      "default": "name",
      "description": "Sort entries by name or size",
      "type": "string",
      "enum": [
        "name",
        "size"
      ]
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
move_fileMove or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    }
  },
  "required": [
    "source",
    "destination"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": false,
  "idempotentHint": false,
  "destructiveHint": true,
  "openWorldHint": false
}
WritesDestructiveNon-idempotentClosed world
read_fileRead the complete contents of a file as text. DEPRECATED: Use read_text_file instead.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "tail": {
      "description": "If provided, returns only the last N lines of the file",
      "type": "number"
    },
    "head": {
      "description": "If provided, returns only the first N lines of the file",
      "type": "number"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
read_media_fileRead a file and return it as a base64-encoded content block with its MIME type. Image and audio files are returned as image/audio content; any other file type is returned as an embedded resource. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "image",
                  "audio"
                ]
              },
              "data": {
                "type": "string"
              },
              "mimeType": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "data",
              "mimeType"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "resource"
              },
              "resource": {
                "type": "object",
                "properties": {
                  "uri": {
                    "type": "string"
                  },
                  "mimeType": {
                    "type": "string"
                  },
                  "blob": {
                    "type": "string"
                  }
                },
                "required": [
                  "uri",
                  "blob"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "resource"
            ],
            "additionalProperties": false
          }
        ]
      }
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
read_multiple_filesRead the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "paths": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories."
    }
  },
  "required": [
    "paths"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
read_text_fileRead the complete contents of a file from the file system as text. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Use the 'head' parameter to read only the first N lines of a file, or the 'tail' parameter to read only the last N lines of a file. Operates on the file as text regardless of extension. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "tail": {
      "description": "If provided, returns only the last N lines of the file",
      "type": "number"
    },
    "head": {
      "description": "If provided, returns only the first N lines of the file",
      "type": "number"
    }
  },
  "required": [
    "path"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
search_filesRecursively search for files and directories matching a pattern. The patterns should be glob-style patterns that match paths relative to the working directory. Use pattern like '*.ext' to match files in current directory, and '**/*.ext' to match files in all subdirectories. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "pattern": {
      "type": "string"
    },
    "excludePatterns": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "path",
    "pattern"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
Read onlyClosed world
write_fileCreate a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "content": {
      "type": "string"
    }
  },
  "required": [
    "path",
    "content"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": false,
  "idempotentHint": true,
  "destructiveHint": true,
  "openWorldHint": false
}
WritesDestructiveIdempotentClosed world

Resources 0

  • None observed.

Resource templates 0

  • None observed.

Prompts 0

  • None observed.

Remote endpoints

EndpointTransportAuthenticationHealthObserved
No verified remote endpoint is linked.

Filesystem MCP Server questions

How do I install Filesystem MCP Server?

Install the selected package version with: npm install --save-exact @modelcontextprotocol/server-filesystem@2026.8.31

What tools does Filesystem MCP Server provide?

Filesystem MCP Server exposed 14 tools during independent protocol observation, including create_directory, directory_tree, edit_file, get_file_info, list_allowed_directories, list_directory, list_directory_with_sizes, move_file, and others.

Is Filesystem MCP Server secure?

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

Explore related MCP server guides

Curated product and capability guides containing this catalog record.

Filesystem MCP ServersOfficial vs Community MCP Servers

Let’s talk about MCP security.

Share your details and our security team will contact you.