About Filesystem MCP Server
Filesystem MCP Server is an MCP server published by cyanheads in the Search category: a Model Context Protocol (MCP) server for platform-agnostic file capabilities, including advanced search/replace and directory tree traversal. Conduid read 10 tools from its source: copy_path, create_directory, delete_directory, delete_file, list_files, move_path and 4 more. It is published to npm as @cyanheads/filesystem-mcp-server, a package with no command-line entry point.
The repository has 54 stars and 30 forks, is licensed Apache-2.0, and its last commit was on 22 Jul 2025. The latest release is v1.0.4. It follows v1.0.3, and the 5 most recent releases go back to v1.0.0. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Tests present. Its topics include cyanheads, filesystem and llm-agents.
Install
npm install @cyanheads/filesystem-mcp-servergit clone https://github.com/cyanheads/filesystem-mcp-serverTools (10)
copy_pathCopies a file or directory to a new location. Accepts relative or absolute paths. Defaults to recursive copy for directories.create_directoryCreates a directory. Optionally creates parent directories. Accepts relative or absolute paths.delete_directoryRemoves a directory. Optionally removes recursively. Accepts relative or absolute paths.delete_fileRemoves a specific file. Accepts relative or absolute paths.list_filesLists files and directories within the specified directory. Optionally lists recursively and returns a tree-like structure. Includes an optional `maxEntries` parameter (default 50) to limit the number of items returned.move_pathMoves or renames a file or directory. Accepts relative or absolute paths for source and destination.read_fileReads the entire content of a specified file as UTF-8 text. Accepts relative or absolute paths. Relative paths are resolved against the session default set by `set_filesystem_default`.set_filesystem_defaultSets a default absolute path for the current session. Relative paths used in other filesystem tools (like readFile) will be resolved against this default. The default is cleared on server restart.update_filePerforms targeted search-and-replace operations within an existing file using an array of {search, replace} blocks. Preferred for smaller, localized changes. For large-scale updates or overwrites, consider using `write_file`. Accepts relative or absolute paths. File must exist. Supports optional `useRegex` (boolean, default false) and `replaceAll` (boolean, default false).write_fileWrites content to a specified file. Creates the file (and necessary directories) if it doesn't exist, or overwrites it if it does. Accepts relative or absolute paths (resolved like readFile).Security checks
- ✓README presentThe repository's README runs to about 1.9K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 54 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.9K words, fetched a month ago. The original in the repository is authoritative.
Read full README