Skip to main content
Glama
TobiasArg

Local Files MCP Server

by TobiasArg

Local Files MCP Server

A Model Context Protocol (MCP) server for managing local files. Provides tools for reading, writing, analyzing, searching, and organizing files with built-in safety protections.

Features

  • πŸ“– Read/Write files - UTF-8 and base64 support

  • πŸ“‚ Directory operations - List, organize, search

  • πŸ” Content search - Regex pattern matching

  • πŸ”Ž Find duplicates - MD5 hash comparison

  • πŸ“Š File analysis - Size, MIME type, line counts

  • πŸ›‘οΈ Safety protections - Configurable allowed/protected paths

  • πŸ–₯️ Cross-platform - macOS, Linux, Windows

Related MCP server: filezop

Installation

NPX

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "local-files": {
      "command": "npx",
      "args": ["-y", "fsorg"]
    }
  }
}

That's it! Claude Desktop will automatically download and run the MCP server via npx.

Alternative: Install from source

git clone https://github.com/argtobias/fsorg.git
cd fsorg
pnpm install
pnpm build

Then configure Claude Desktop:

{
  "mcpServers": {
    "local-files": {
      "command": "node",
      "args": ["/path/to/fsorg/dist/index.js"]
    }
  }
}

Safety Configuration

Create a config file at:

-- macOS/Linux: ~/.config/localfiles-org/config.json

-- Windows: %LOCALAPPDATA%\localfiles-org\config.json

{
  "allowedPaths": [
    "~/projects",
    "~/Development",
    "~/workspace",
    "/tmp"
  ],
  "additionalProtectedPaths": [
    "~/my-important-folder"
  ],
  "additionalProtectedPatterns": [
    "^backup",
    "\\.bak$"
  ]
}

Configuration Options

Option

Description

Default

allowedPaths

Paths where delete operations are permitted

~/projects, ~/dev, etc.

additionalProtectedPaths

Extra paths to protect from deletion

[]

additionalProtectedPatterns

Regex patterns for protected file names

[]

Always Protected (cannot be overridden)

  • System paths: /, /etc, /usr, /bin, /System, etc.

  • User paths: ~, ~/Documents, ~/Desktop, ~/Downloads, ~/.ssh

  • Patterns: .git, .env, .ssh, credentials, secrets

Available Tools

File Operations

Tool

Description

read_file

Read file contents (UTF-8 or base64)

write_file

Write content to file (UTF-8 or base64)

delete_file

Safely delete a file with protection checks

move_file

Move file with optional empty directory cleanup

analyze_file

Get file stats (size, MIME, lines, words)

Directory Operations

Tool

Description

list_directory

List files with optional recursion and glob patterns

delete_directory

Safely delete directory (requires confirmation for recursive)

organize_by_type

Organize files into folders by extension/date/size

Search Operations

Tool

Description

search_content

Search for regex patterns in file contents

find_duplicates

Find duplicate files by MD5 hash

sort_file_content

Sort lines in a file

Batch Operations

Tool

Description

rename_files

Batch rename files using regex patterns

Usage Examples

Read a file

{
  "tool": "read_file",
  "arguments": {
    "path": "~/projects/myfile.txt"
  }
}

Find and delete duplicates

{
  "tool": "find_duplicates",
  "arguments": {
    "path": "~/projects/images",
    "recursive": true
  }
}

Safely delete with preview

{
  "tool": "delete_file",
  "arguments": {
    "path": "~/projects/temp/old-file.txt",
    "preview": true
  }
}

Organize files by extension

{
  "tool": "organize_by_type",
  # Local Files MCP Server

  Simple MCP server for safe local file operations: read, write, search, organize and protected delete.

  ## Quick install

  Run via npx (recommended for Claude Desktop):

  ```json
  {
    "mcpServers": {
      "local-files": {
        "command": "npx",
        "args": ["-y", "fsorg"]
      }
    }
  }

From source:

git clone https://github.com/argtobias/fsorg.git
cd fsorg
pnpm install
pnpm build

Configuration

Create user config at:

  • macOS/Linux: ~/.config/localfiles-org/config.json

  • Windows: %LOCALAPPDATA%\\localfiles-org\\config.json

Minimal config example:

{
  "allowedPaths": ["~/projects", "~/Development"],
  "additionalProtectedPaths": [],
  "additionalProtectedPatterns": []
}

Safety

  • Only operations inside allowedPaths can delete files.

  • System and user-critical paths are always protected.

  • Pattern-based protection (e.g. .git, .env) is enforced.

Usage examples

Read a file:

{ "tool": "read_file", "arguments": { "path": "~/projects/myfile.txt" } }

Find duplicates:

{ "tool": "find_duplicates", "arguments": { "path": "~/projects/images", "recursive": true } }

Delete with preview (safe):

{ "tool": "delete_file", "arguments": { "path": "~/projects/temp/old.txt", "preview": true } }

Development

pnpm install
pnpm build
pnpm dev

License

ISC

Available Tools

12 tools
analyze_fileC

Analyze a file and return statistics: size, MIME type, line/word/character counts, and dates.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to analyze

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided. The description does not disclose whether the tool is read-only, any side effects, or performance implications for large files. The behavior is implied as analysis but not explicitly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, no waste. Front-loads the action and lists statistics efficiently. Could be slightly improved with better structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity (1 param, no output schema), the description covers purpose and output types. However, it lacks details on file size limits, encoding handling, or error scenarios, leaving gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a single 'path' parameter. The description adds no additional meaning beyond the schema, merely listing the output statistics. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'analyze' and resource 'file', and lists specific statistics returned. However, it does not differentiate from sibling tools like 'read_file' or 'list_directory', which could also inspect files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives (e.g., 'read_file' for content, 'list_directory' for listing). No mention of limitations or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the directory to delete
previewNoPreview what will be deleted without actually deleting
recursiveNoDelete directory and all its contents recursively (REQUIRES CONFIRMATION)
confirmRecursiveNoExplicit confirmation required when recursive=true

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses safety features, allowed path restriction, and recursive confirmation requirement. Does not mention potential error conditions (e.g., deleting non-empty directory without recursive), permissions, or side effects beyond deletion.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences, each providing distinct value. Front-loaded with purpose and safety, followed by key usage instructions. No redundant or unnecessary content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of output schema, the description adequately explains the tool's core behavior and safety features. However, it omits what the return value indicates (e.g., success feedback) and does not cover edge cases like invalid paths or permission errors.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers all 4 parameters with descriptions (100% coverage), so baseline is 3. The description adds limited extra meaning, e.g., 'Use preview=true to see what will be deleted first' adds context but does not significantly deepen understanding beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly specifies the verb 'delete' and resource 'directory'. Distinguishes from sibling 'delete_file' by focusing on directories, and adds safety context like 'protection checks' and 'allowed paths'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear guidance on when to use preview and require recursive confirmation. However, it does not explicitly state when to use this tool versus alternatives like 'delete_file' or 'list_directory' for assessment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

delete_fileA

Safely delete a file with protection checks. Only works within allowed paths. Use preview=true to see what will be deleted first.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to delete
previewNoPreview what will be deleted without actually deleting
cleanupEmptyNoRemove empty parent directories after deleting

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description mentions safety checks and allowed path constraints, adding behavioral context beyond the schema. However, it does not disclose whether deletion is permanent or reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and safety, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, and the description does not explain return behavior (e.g., success/error). Adequate but incomplete for a delete operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the description adds minimal valueβ€”only emphasizing preview usage. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it deletes files with protection checks and path restrictions, distinguishing it from siblings like 'delete_directory' and 'move_file'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It advises using preview=true to preview deletion, but does not explicitly compare to alternatives like delete_directory or move_file.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_duplicatesB

Find duplicate files by comparing MD5 hashes. Returns groups of identical files.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesDirectory path to search for duplicates
recursiveNoSearch recursively

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so the description must carry the full burden. It discloses the hashing method and return format (groups of identical files), but omits potential performance impact, permission requirements, or error handling for missing paths.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no redundancy. Front-loaded with the core action and method, efficiently conveying purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description covers the main functionality for a simple tool. Missing a note that working with large directories may be resource-intensive. Otherwise complete given no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema already describes both parameters (path and recursive) with clear descriptions. The description adds the context of MD5 hashing but no additional parameter-specific details. With 100% schema coverage, baseline is 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'find', resource 'duplicate files', and method 'comparing MD5 hashes'. It distinguishes from siblings like list_directory, search_content, and analyze_file, which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. For example, it doesn't mention that find_duplicates is ideal for locating redundant files across a directory tree, while list_directory or search_content would be used for other purposes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_directoryB

List files and directories in a path. Supports recursive listing and glob pattern filtering.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesDirectory path to list
recursiveNoList recursively
patternNoGlob pattern to filter files

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description lacks behavioral details beyond the schema. It does not disclose permissions needed, limits, response format, or edge cases (e.g., broken symlinks). The tool's behavior is minimally described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at one sentence, front-loading the core purpose with no unnecessary words. It is well-structured and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of an output schema, the description fails to explain the return format (e.g., full paths, metadata). It also does not address how to navigate the output, which is important for a list operation. The tool's role among many siblings is unclear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds no new meaning beyond the schema’s own parameter descriptions. It merely rephrases the schema (e.g., 'glob pattern filtering' vs. 'Glob pattern to filter files').

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists files and directories in a path, which is distinct from siblings like analyze_file or delete_directory. It uses a specific verb and resource, making its purpose immediately clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus its siblings (e.g., search_content, find_duplicates). There is no mention of alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

move_fileA

Move a file from source to destination. Creates parent directories if needed. Optionally cleans up empty parent directories.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesSource file path
destinationYesDestination file path
cleanupEmptyNoRemove empty parent directories after moving

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden and discloses key behaviors: parent directories are created if needed, and optionally empty parent directories are removed. It does not mention overwrite behavior or error handling, but adds significant context beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the main action, and contains no unnecessary words. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and 3 fully documented parameters, the description explains core functionality and two behavioral details. However, it omits whether overwriting occurs if destination exists, which is a common concern. Still, it is mostly complete for a simple file move.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning for the 'destination' parameter by explaining that parent directories are created if needed. For 'cleanupEmpty', it largely repeats the schema definition, but overall the description enriches understanding of parameter effects.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Move', the resource 'file', and distinguishes it from siblings like delete_file or rename_files by specifying the core action and side effects (creating parent directories, optional cleanup).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for moving files but does not explicitly state when to use this over alternatives like rename_files or copy operations. No exclusions or when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

organize_by_typeA

Organize files into subdirectories by extension, date, or size category. Automatically cleans up empty source directory.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesSource directory
destinationYesDestination directory
criteriaYesCriteria for organizing files
cleanupEmptyNoRemove source directory if empty after organizing

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses automatic cleanup of empty source directory but omits details about side effects, permissions requirements, or what happens (e.g., overriding existing files). With no annotations, the description carries the full burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with a second sentence about cleanup, but could be slightly more structured to immediately clarify use cases.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and four parameters, the description lacks information about return values, error conditions, and confirmation that files are moved (not copied). It is adequate but incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds no additional meaning beyond the schema's parameter descriptions and enum values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool organizes files into subdirectories by extension, date, or size category, which distinguishes it from siblings like move_file or rename_files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for batch organization but does not explicitly state when to use it versus alternatives like move_file for single files or rename_files for renaming.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_fileA

Read the contents of a file. Can read as UTF-8 text or base64 encoded. Optionally read only the first N lines.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to read
encodingNoEncoding to use when reading the fileutf8
linesNoRead only the first N lines

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It describes the core behavior but omits details like output format, error handling, or file size limitations, leaving the agent with minimal behavioral context beyond the obvious.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no extraneous words. Key information is front-loaded, making it easy for an agent to quickly understand the tool's purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read operation with no output schema, the description should at least hint at what is returned (file contents) or mention potential errors (e.g., file not found). It lacks these details, making it only partially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, meaning the schema already documents all three parameters. The description adds no new semantic information beyond what the schema provides, so it meets the baseline without extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Read'), the resource ('file'), and distinguishes from sibling tools by specifying encoding options and line count feature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it implies usage for reading files, it provides no explicit guidance on when to use this tool versus siblings like analyze_file or search_content, nor does it mention prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

rename_filesC

Batch rename files in a directory using regex pattern matching. Supports preview mode.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesDirectory path containing files to rename
patternYesPattern to search for (regex)
replacementYesReplacement string
previewNoPreview changes without applying

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavioral traits. While it mentions 'preview mode', it does not explain what that implies (e.g., no changes applied) or other behaviors like overwriting, reversibility, or error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff. The main action and key feature are front-loaded. Every word is meaningful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch operation with 4 parameters and no output schema, the description lacks important context such as what the tool returns (e.g., renamed file list), error behavior, and whether it operates recursively. This is insufficient for a destructive tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for all 4 parameters. The description adds minimal value beyond the schema, only summarizing the regex and preview aspects. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool does batch renaming using regex pattern matching, which is a specific action on files. It distinguishes from siblings by focusing solely on renaming, but could be more explicit about the batch aspect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like move_file or organize_by_type. There is no mention of preconditions or exclusions, leaving the agent without context for appropriate usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_contentA

Search for a pattern (regex) in file contents. Returns matches with line numbers and context.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesFile or directory path to search
patternYesPattern to search for (regex)
recursiveNoSearch recursively in directories

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided. Description discloses return format (matches with line numbers and context) but lacks details on performance, binary file handling, or limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no redundant words. Front-loaded with action and result.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Basic purpose clear but lacks detail on output format (e.g., what constitutes 'context') and edge cases. No output schema to compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear parameter descriptions. The description adds no extra meaning beyond the schema (e.g., 'regex' already in pattern description).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb 'search' and resource 'file contents' with specifics: regex pattern, returns matches with line numbers and context. Distinguishes from sibling tools like list_directory or read_file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implied usage from description (searching content) but no explicit when to use vs alternatives or when not to use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sort_file_contentB

Sort the lines of a file. Supports ascending/descending, numeric sorting, and duplicate removal.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to sort
orderNoSort orderasc
numericNoSort numerically instead of alphabetically
uniqueNoRemove duplicate lines

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided. Description does not disclose whether sorting modifies the file in-place or returns sorted content, nor any side effects or permissions needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence that efficiently conveys core functionality and features with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a simple tool with full schema coverage, but lacks clarity on whether the operation is destructive (overwrites file) or produces output. No output schema to fill the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema provides full parameter coverage (100%). Description adds helpful summary of key features (ascending/descending, numeric, duplicate removal) beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it sorts file lines and lists supported features (ordering, numeric, duplicates), but does not explicitly differentiate from sibling file manipulation tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like analyze_file or search_content. Does not mention prerequisites or context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

write_fileA

Write content to a file. Supports UTF-8 or base64 encoding. Can overwrite or append. Creates parent directories if needed.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file to write
contentYesContent to write to the file
encodingNoEncoding of the content: utf8 (default) or base64utf8
modeNoWrite mode: overwrite or appendoverwrite

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses key behaviors (encoding options, modes, directory creation) but omits details like default mode, permissions, or error handling. Adequate but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, zero waste. Front-loaded with the primary purpose, then details. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and lack of output schema or annotations, the description covers the essential aspects: purpose, encoding, mode, and directory creation. It misses only minor details like return value or error scenarios, which is acceptable for a straightforward write operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all four parameters with 100% coverage, so the description's value is supplementary. It adds context about parent directory creation and summarizes encodings/modes, providing meaningful clarification beyond the schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action 'Write content to a file', enumerates supported encodings (UTF-8, base64), modes (overwrite, append), and an additional behavior (creates parent directories). This distinguishes it from sibling tools like read_file or delete_file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for writing files but does not explicitly state when to use this tool over alternatives or when not to use it. No guidance on prerequisites or comparisons with siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 12 tool updatesv1.0.0
    • First observedanalyze_file
    • First observeddelete_directory
    • First observeddelete_file
    • First observedfind_duplicates
    • First observedlist_directory
    • First observedmove_file
    • First observedorganize_by_type
    • First observedread_file
    • First observedrename_files
    • First observedsearch_content
    • First observedsort_file_content
    • First observedwrite_file

TDQS

A3.7/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables file system operations such as listing, reading, and creating files within a scoped local project directory. It provides a secure way to manage local files through standardized MCP tools built with FastMCP.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes file system operations to AI clients via MCP, enabling secure read, write, and management of files and folders.
    16
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables safe, read-only browsing of allowlisted local directories through MCP, providing tools to list roots, read files, and search text.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Provides safe, allowlisted local filesystem access for MCP-compatible AI clients, enabling directory listing, file reading/writing (with byte limits), and text search while blocking paths outside approved roots and symlink escapes.
    -

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