MCP Filesystem Server

MCP server for sandboxed read/write local filesystem access by AI agents

Visit MCP Filesystem Server →

An official Anthropic-published Node.js/TypeScript MCP server that exposes local filesystem operations—reading, writing, moving, searching, and editing files—to AI agents via the Model Context Protocol. It enforces a configurable allowlist of directories, ensuring agents can only access explicitly permitted paths. It serves as the reference implementation for MCP server development and integrates with Claude Desktop, VS Code, Cursor, Cline, and other MCP-compatible clients.

Install & run

npxnpx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
npmnpm i @modelcontextprotocol/server-filesystem

Source & docs

At a glance

Company
Anthropic
Pricing
free
API available
No
Self-hostable
Yes
Launched
2024-11
Last verified
2026-08-22

Capabilities

sandboxed-file-accessread-write-filesdirectory-listingfile-searchmulti-file-editaccess-control

Categories

Alternatives

For AI agents: machine-readable markdown version of this page at /tools/anthropic-mcp-filesystem.md, or send Accept: text/markdown.