Skip to main content
📖 The AI Tool Bible

MCP Filesystem Server

Reference MCP server that gives Claude, Cursor, and other MCP clients scoped read/write access to your local filesystem.

Free· Free and open source (MIT). Self-hosted; no vendor cost.MCP Servers
Visit website →
Best for

Developers and agent builders wiring Claude Desktop, Cursor, VS Code, or a custom MCP client to a scoped local working directory for coding, note-taking, or repo-editing workflows.

Skip if

Teams that need remote filesystem, cloud object storage, multi-tenant access control, or a zero-install setup for non-technical users.

MCP Filesystem Server is the reference Node.js implementation of a Model Context Protocol server for local filesystem access, published by Anthropic's modelcontextprotocol project as @modelcontextprotocol/server-filesystem. It gives any MCP-compatible client (Claude Desktop, Cursor, VS Code's MCP integration, Zed, custom agents built on the MCP SDK, and so on) a well-defined set of tools for reading, writing, editing, listing, searching, and moving files within a sandbox of explicitly allowed directories.

The server exposes roughly 14 tools spanning read operations (read text/media files with optional head/tail, batch reads, directory listings with sizes, metadata lookup, recursive glob-style search, and directory tree generation) and write operations (create/overwrite files, an advanced edit tool with pattern matching and dry-run diff preview, mkdir, and move/rename). Each tool ships with MCP tool annotations flagging read-only status, idempotency, and destructiveness, which helps well-behaved clients gate destructive actions behind user confirmation.

Access control is the load-bearing feature: directories can be pinned via CLI arguments at launch or, preferred, negotiated dynamically through the MCP roots protocol so the client can grant and revoke folders without restarting the server. Everything outside the allowed set is refused. Typical deployment is either npx (`npx -y @modelcontextprotocol/server-filesystem /path/to/project`) or a Docker container with the target folders mounted at /projects, optionally read-only. Configuration snippets for Claude Desktop's claude_desktop_config.json and VS Code's mcp.json are in the README with one-click installers.

It is aimed at developers, prompt engineers, and agent builders who want their LLM to actually touch a repo, notes folder, or working directory without gluing together shell tools by hand, and at anyone standing up an MCP stack who needs a battle-tested reference for how a filesystem server should behave.

Editor's take

This is the server I reach for first when a new MCP client needs real disk access — it's the canonical implementation, the tool surface is generous without being sprawling, and the roots protocol support means I don't have to relaunch it every time I switch projects. Just be deliberate about which folders you expose; the agent will happily edit anything you let it see.

— The AI Tool Bible editorial team

Pros

  • Official reference implementation maintained by Anthropic's MCP team, so it tracks the spec closely and is safe to build against.
  • Rich toolset (14 tools) covering read, write, edit, search, tree, and move without needing a second server.
  • Sandbox model with allowed-directory enforcement plus MCP roots support for dynamic, restart-free scope changes.
  • Advanced edit tool provides pattern matching, whitespace/indentation preservation, and git-style diff previews with dry-run.
  • Ships as both npx package and Docker image; one-click install buttons for Claude Desktop and VS Code.
  • MIT-licensed and open source, so it can be forked or vendored into internal agent stacks.
  • Tool annotations (read-only / idempotent / destructive) let clients build safer confirmation UX.

Cons

  • ⚠️ Local-only: no built-in remote/SSH/S3 backend, so networked or cloud filesystems need a different server.
  • ⚠️ Security perimeter is only as good as the allowed-directories list; a wide root plus an over-eager agent can still delete or overwrite files.
  • ⚠️ No fine-grained per-tool ACL (e.g. read-only for one folder, read/write for another) beyond the Docker read-only mount trick.
  • ⚠️ Requires a Node.js runtime or Docker on the client machine, which is friction for non-technical users.
  • ⚠️ The `edit_file` tool's pattern-based edits can silently no-op when whitespace differs from expectations if used carelessly.
  • ⚠️ Being a reference server, feature velocity is deliberately conservative; power users often end up forking for extras like symlink policies or richer ignore rules.

Use cases

Give Claude Desktop scoped access to a code repoLet Cursor or VS Code agents edit project files via MCPRead and search a local notes vaultAutomated file refactors with dry-run diff previewBatch reading logs or configs into an LLM contextDirectory tree exploration for agent onboardingRename/move operations driven by an agentSandboxed file I/O for custom MCP clientsDocker-based read-only mount for safe browsing of a project

Explore related

Compare with similar tools

All in MCP Servers

Airtable MCP Server

MCP Servers

Model Context Protocol server that gives LLMs full read/write access to your Airtable bases.

Free· Open source (MIT) and free to run. You still need an Airtable account and personal access token; Airtable itself is Free / Team $20 per user/mo / Business $45 per user/mo / Enterprise (custom).Natural-language CRM queries against AirtableLLM-driven lead triage and enrichment

Apple Notes MCP

MCP Servers

Let Claude read your local Apple Notes over the Model Context Protocol.

Free· Free / open-source (MIT). No hosted service; runs locally on your Mac.Personal knowledge retrieval from Apple NotesSearching decade-old meeting notes during a Claude chat

AWS MCP Servers

MCP Servers

Official AWS Labs collection of Model Context Protocol servers for connecting AI coding assistants and agents to AWS services and documentation.

Free· Free and open source (Apache 2.0). AWS service usage billed at standard AWS rates. Optional AWS-hosted 'remote managed' servers included at no additional charge beyond consumed AWS services.AWS infrastructure-as-code scaffolding with CDK or CloudFormationGrounded answers from live AWS documentation

Azure MCP Server

MCP Servers

Official Microsoft MCP server that exposes 40+ Azure services to AI agents under the developer's own Entra ID credentials.

Free· Server is free and MIT-licensed. Azure resource usage is billed separately at standard Azure rates based on whatever services the agent queries or mutates.Natural-language Azure resource inventoryLog Analytics and Kusto (KQL) querying from an agent

Blender MCP

MCP Servers · Model-agnostic; commonly paired with Claude (Sonnet/Opus) via Claude Desktop, but works with any MCP-capable client

Give Claude hands inside Blender — an MCP server for natural-language 3D modeling.

Free· Free and open-source (MIT license). No hosted service, no subscription; you supply your own MCP-capable client (Claude Desktop, Cursor, VS Code, OpenCode) and pay only for whatever LLM the client uses.AI-assisted 3D scene blockingGenerative prop and mesh creation via Hyper3D Rodin

Brave Search MCP

MCP Servers

Give any MCP client web and local search powered by the Brave Search API.

Freemium· Free: $ 0 USD · Team: $ 4 USD per user/month · Enterprise: $ 21 USD per user/monthGrounded web search inside Claude DesktopAgent fact-checking and citation lookup