An MCP server that provides filesystem operations. It can be run locally over stdio, exposed remotely over SSE or Streamable HTTP, or used in-process from JavaScript/TypeScript.
From the registry: MCP server for filesystem access
Please install the `mcp-server-filesystem` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js 18 or newer** — Node.js version 18 or later is required to run the MCP server via npx.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["@agent-infra/mcp-server-filesystem@latest"]
Note: The README also documents remote operation by starting the server with a port and allowed directories, then connecting via either Streamable HTTP or SSE. Runtime args shown include '--allowed-directories <dir>' for restricting filesystem access and '--port <your-port>' for remote mode. Example remote endpoints are '/mcp' for Streamable HTTP and '/sse' for SSE, but the README's URL examples contain a typo with a double colon after 127.0.0.1. No environment variables are documented.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.Hash-verified file editing MCP server with token efficiency hook for AI coding agents.