Local Files MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_fileA | Read the contents of a file. Can read as UTF-8 text or base64 encoded. Optionally read only the first N lines. |
| write_fileA | Write content to a file. Supports UTF-8 or base64 encoding. Can overwrite or append. Creates parent directories if needed. |
| list_directoryB | List files and directories in a path. Supports recursive listing and glob pattern filtering. |
| analyze_fileC | Analyze a file and return statistics: size, MIME type, line/word/character counts, and dates. |
| search_contentA | Search for a pattern (regex) in file contents. Returns matches with line numbers and context. |
| find_duplicatesB | Find duplicate files by comparing MD5 hashes. Returns groups of identical files. |
| move_fileA | Move a file from source to destination. Creates parent directories if needed. Optionally cleans up empty parent directories. |
| rename_filesC | Batch rename files in a directory using regex pattern matching. Supports preview mode. |
| organize_by_typeA | Organize files into subdirectories by extension, date, or size category. Automatically cleans up empty source directory. |
| sort_file_contentB | Sort the lines of a file. Supports ascending/descending, numeric sorting, and duplicate removal. |
| delete_fileA | Safely delete a file with protection checks. Only works within allowed paths. Use preview=true to see what will be deleted first. |
| delete_directoryA | Safely delete a directory with protection checks. Only works within allowed paths. Recursive deletion requires confirmRecursive=true. Use preview=true to see what will be deleted first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose: reading, writing, deleting, moving, listing, analyzing, searching, sorting, renaming, finding duplicates, and organizing files or directories. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern (e.g., read_file, delete_directory, search_content), making it easy for an agent to predict tool names and purposes.
With 12 tools, the server provides a well-scoped set of file and directory operations. The number is appropriate for the domain, covering essential actions without being overwhelming.
The tool set covers most common file operations: CRUD, listing, searching, analysis, organization, and batch operations. A minor gap is the lack of a copy_file tool, but move_file can serve a similar role in many cases.