# Filesystem MCP Server

A reference server for controlled filesystem access\.

Canonical: https://claudelist.com/listings/filesystem-mcp

Category: MCP Servers

Source: vendor · MCP project

Source checked: 2026-10-14

Website: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem

The filesystem server demonstrates MCP resources and tools with explicit allowed directories.

## Install or set up

1. Install Node.js. Replace `/absolute/path/to/allowed-directory` with a directory this server may access; grant the smallest useful scope. Register the stdio package, then inspect it with `claude mcp get filesystem`.
2. After setup, run `claude mcp list` or `/mcp` in Claude Code to check the connection. Use the linked setup source for service-specific authentication.

```sh
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /absolute/path/to/allowed-directory
```

Installation guide: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
