MCP Directory
Back

filesystem-mcp

by abdielou · TypeScript · ★ 0

Context-safe MCP filesystem server with pagination. Fork of @modelcontextprotocol/server-filesystem with offset/limit on all list/search/read tools to prevent large directories from blowing up LLM context windows.

Install

npx -y github:abdielou/filesystem-mcp

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:abdielou/filesystem-mcp"
      ]
    }
  }
}

From the README

Node.js server implementing [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) for filesystem operations, with **pagination and limits on all list/search/read tools** to prevent large directories from blowing up LLM context windows. Forked from [@modelcontextprotocol/server-filesystem](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem). The upstream server returns unbounded output. A single call on a large project can dump megabytes of JSON into context, killing the conversation. This fork adds: | Tool | Safeguard | Default | |---|---|---| | | / pagi…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers