filesystem

Level BLocal

实现用于文件系统操作的模型上下文协议(MCP)的 Node.js 服务器。

⭐ 228Development Toolszh_CNRepo ↗Updated 2026-11-01

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "modelcontextprotocol-servers-src-filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "modelcontextprotocol-servers-src-filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers