MCPServers
Filesystem - MCP server logo

Filesystem

1
0

Summary

Filesystem MCP Server provides a secure interface for AI agents to interact with local filesystems through standardized tools. Developed by Casey Hand (@cyanheads), this TypeScript implementation offers essential file operations including reading, writing, updating, and managing directories with robust path resolution, error handling, and logging. The server maintains session state for relative path resolution and implements comprehensive security measures like path sanitization and validation. It's particularly useful for AI workflows requiring file manipulation, code generation, or document analysis while maintaining a clean separation between AI agents and the underlying filesystem.

Available Actions(10)

set_filesystem_default

Sets a default absolute path for the current session. Relative paths used in subsequent tool calls will be resolved against this default. Resets on server restart.

read_file

Reads the entire content of a specified file as UTF-8 text. Accepts relative (resolved against default) or absolute paths.

write_file

Writes content to a specified file. Creates the file (and necessary parent directories) if it doesn't exist, or overwrites it if it does. Accepts relative or absolute paths.

update_file

Performs targeted search-and-replace operations within an existing file using an array of {search, replace} blocks. Supports plain text or regex search and replacing all occurrences. Accepts relative or absolute paths.

list_files

Lists files and directories within a specified path. Options include recursive listing and limiting the number of entries. Returns a formatted tree structure. Accepts relative or absolute paths.

delete_file

Permanently removes a specific file. Accepts relative or absolute paths.

delete_directory

Permanently removes a directory. Use recursive option to remove non-empty directories and their contents. Accepts relative or absolute paths.

create_directory

Creates a new directory at the specified path. By default, it also creates any necessary parent directories. Accepts relative or absolute paths.

move_path

Moves or renames a file or directory from a source path to a destination path. Accepts relative or absolute paths for both.

copy_path

Copies a file or directory from a source path to a destination path. For directories, it copies recursively by default. Accepts relative or absolute paths.

Last Updated: April 22, 2025

커뮤니티 리뷰

0.0
0 리뷰
5
0
4
0
3
0
2
0
1
0

아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!

대화에 참여하려면 로그인하세요

Coming soon to
HighlightHighlight AI

언어

TypeScript

카테고리

태그