Local Files MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TobiasArg/LocalFilesOrganizer-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server