MCPServers
File System - Gestión de Archivos server banner image
File System - MCP server logo (Official)

File System

0
0

Summary

The Filesystem MCP Server is a Node.js server that implements the Model Context Protocol (MCP) for performing various filesystem operations. It provides a robust API for reading, writing, and editing files, as well as managing directories. The server supports advanced file editing with features like pattern matching, whitespace normalization, and fuzzy matching, making it ideal for complex file manipulations. It also offers functionalities to move files, search directories, and retrieve file metadata. The server is restricted to operate within specified directories to ensure security. This project is useful for developers who need to automate or manage filesystem tasks programmatically within a controlled environment.

Available Actions(10)

read_file

Read complete contents of a file. Input: `path` (string). Reads complete file contents with UTF-8 encoding.

read_multiple_files

Read multiple files simultaneously. Input: `paths` (string[]). Failed reads won't stop the entire operation.

write_file

Create new file or overwrite existing. Inputs: `path` (string): File location, `content` (string): File content.

edit_file

Make selective edits using advanced pattern matching and formatting. Inputs: `path` (string): File to edit, `edits` (array): List of edit operations, `dryRun` (boolean): Preview changes without applying (default: false), `options` (object): Optional formatting settings.

create_directory

Create new directory or ensure it exists. Input: `path` (string). Creates parent directories if needed.

list_directory

List directory contents with [FILE] or [DIR] prefixes. Input: `path` (string).

move_file

Move or rename files and directories. Inputs: `source` (string), `destination` (string). Fails if destination exists.

search_files

Recursively search for files/directories. Inputs: `path` (string): Starting directory, `pattern` (string): Search pattern, `excludePatterns` (string[]): Exclude any patterns.

get_file_info

Get detailed file/directory metadata. Input: `path` (string). Returns size, creation time, modified time, access time, type, and permissions.

list_allowed_directories

List all directories the server is allowed to access. No input required. Returns directories that this server can read/write from.

Last Updated: April 8, 2025

Reseñas de la Comunidad

0.0
0 reseñas
5
0
4
0
3
0
2
0
1
0

Aún no hay reseñas. ¡Sé el primero en reseñar!

Inicia sesión para unirte a la conversación

Coming soon to
HighlightHighlight AI

Lenguaje

TypeScript

Categorías