Filesystem

14 tools. 4 can modify or destroy data without limits.

4 write tools that can modify data. Rate limits recommended.

Last updated:

4 can modify or destroy data
10 read-only
14 tools total

Verified publisher · catalogue entry checked 10/07/2026 · full schemas captured for 13 of 14 tools

How to control Filesystem ↓

What Filesystem exposes to your agents

Read (10) Write / Execute (4) Destructive / Financial (0)

What Filesystem costs in tokens

1,666 tokens of tool definitions, loaded on every request
0.8% of a 200k context window
186 heaviest tool: read_text_file
High Risk

The most dangerous Filesystem tools

4 of Filesystem's 14 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Filesystem

PolicyLayer is an MCP gateway — it sits between your AI agents and Filesystem, and nothing reaches the server without passing your rules. These are the rules we recommend:

Rate limit write operations
{
  "create_directory": {
    "limits": [
      {
        "counter": "create_directory_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "directory_tree": {
    "limits": [
      {
        "counter": "directory_tree_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Filesystem — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON FILESYSTEM →

Instant setup, no code required.

All 14 Filesystem tools

Questions about Filesystem

How do I prevent bulk modifications through Filesystem? +

The Filesystem server has 4 write tools including create_directory, edit_file, move_file. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Filesystem.

How many tools does the Filesystem MCP server expose? +

14 tools across 2 categories: Read, Write. 10 are read-only. 4 can modify, create, or delete data.

How do I enforce a policy on Filesystem? +

Register the Filesystem MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Filesystem tool call.

Deterministic rules across all 14 Filesystem tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

14 Filesystem tools catalogued and risk-classified — across an index of 46,500+ MCP servers.

// WHERE THIS COMES FROM

These policies come from Filesystem's registry record.

The record behind this page: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.