Filesystem
Read, write, search, and manage files in allowed directories via MCP
Details
Categoryfile
Content Preview
---
name: Filesystem
description: Read, write, search, and manage files in allowed directories via MCP
version: 1.0.0
author: chvor
type: tool
category: file
icon: folder
tags:
- filesystem
- files
- directories
- read
- write
- search
- mcp
- file-management
mcp:
command: npx
args: ["-y", "@modelcontextprotocol/server-filesystem", "{{config.allowed_dir}}"]
transport: stdio
config:
- name: allowed_dir
type: string
description: Directory path the server is allowed to access
default: "."
---
You have access to filesystem operations via MCP. The server only allows access to pre-configured directories.
## Available MCP Tools
- **read_file** — Read the contents of a file
- **read_multiple_files** — Read several files at once
- **write_file** — Create or overwrite a file
- **edit_file** — Make targeted edits using search-and-replace
- **create_directory** — Create a new directory (with parents)
- **list_directory** — List files and directories at a path
- **move_file** — Move or rename a file/directory
- **search_files** — Search for files by name pattern (glob)
- **get_file_info** — Get size, timestamps, and permissions
- **directory_tree** — Get a recursive tree view of a directory
## Common workflows
- **Explore a directory**: \`directory_tree\` → \`read_file\` for files of interest
- **Find files**: \`search_files\` with glob pattern → \`read_file\` matches
- **Edit a file**: \`read_file\` → \`edit_file\` with search/replace
- **Organize