FileSystem MCP Server logo

FileSystem MCP Server

Restricts local project file access by directory and extension, with optional text and binary writes.

Install FileSystem MCP Server

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "filesystem-mcp-server": {
      "command": "uvx",
      "args": [
        "vs-filesystem-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 8 tools correctly ().

Overview

FileSystem MCP Server MCP server provides local project and folder access for AI agents through MCP tools. It validates configured directories, lists contents, reads permitted files, and can write text or binary data when explicitly enabled. Configuration supports command-line arguments or a config.json fallback, with command-line settings taking precedence. Reach for it when an agent needs controlled access to Visual Studio projects or other local development directories.

Use cases

  • Inspect source files in selected project directories
  • List files and subdirectories for an AI coding workflow
  • Validate local workspace directory access
  • Enable controlled text or binary file updates

Key features

  • Allowlisted directory access
  • Configurable file extension restrictions
  • Directory listing with progress and batching
  • Text and binary file reading and writing
  • Command-line and config.json settings
  • Windows and Unix path separator support

Tools8

What FileSystem MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/28 checks healthy over the last 112d

What it can do

From the 8 tools this server returned when we ran it.

Writes files · 2Read-only tools · 6
Network at startup2 connections
Files written at startup10

Observed 2026-11-15 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · vs-filesystem-mcp-server (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed8Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How FileSystem MCP Server works

What FileSystem MCP Server does

FileSystem MCP Server MCP server exposes selected local directories and files to an AI agent through MCP. It is intended for Visual Studio 2022+ workflows, local development, and individual project folders that do not use .code-workspace files. Access is limited by an allowlist of directories and permitted file extensions.

The server can inspect directory contents, read approved files, validate configured paths, and optionally write text or binary content. Writing is disabled unless explicitly enabled, so a read-only setup is the default. This makes the server suitable when an agent needs project context without unrestricted access to the host filesystem.

How it works

At startup, the server loads its allowed directories and extensions from command-line arguments when they are provided. If no arguments are present, it reads config.json. This hybrid behavior supports one configuration for an MCP client and another convenient fallback for local debugging. Command-line values override the configuration file.

Call init first to check that configured directories are accessible. It can also list a directory or read a file during that validation request. Successful initialization reports an OK result and the configuration source; failures include error details for inaccessible directories.

Paths may be absolute or relative, and both Windows backslashes and Unix-style forward slashes are supported. File operations remain constrained to the configured directories and extensions.

Setup and configuration

Install the packaged server with Python 3.10 or newer:

Terminal
pip install vs-filesystem-mcp-server

For source development, clone the repository and run uv sync. An MCP client can launch the installed vs-filesystem-mcp-server command. When running from source, configure Python with the absolute path to app.py and set the working directory to the project directory.

A config.json file contains allowed_dirs, allowed_extensions, and allow_write. For MCP use, place it beside .mcp.json; for Visual Studio debugging, place it beside app.py. Alternatively, pass --allowed-dirs and --allowed-extensions in the MCP command configuration. Enable writes with --allow-write true or "allow_write": true.

Tools and capabilities

FileSystem MCP Server MCP server provides these documented operations:

  • init: Validates configured directories and can optionally list a directory or read a file.
  • list_directory: Lists files and subdirectories, with optional progress reporting and batching.
  • File reading: Reads content from files whose paths and extensions are allowed.
  • write_file: Writes text to a permitted path when write access is enabled.
  • write_file_binary: Writes Base64-encoded binary data when write access is enabled.

Directory and file parameters accept absolute or relative paths. Write paths must remain within an allowed directory. The available file types are determined by the configured extension list, such as Python, JavaScript, TypeScript, JSON, Markdown, C#, CSS, HTML, XML, and XAML files.

Limitations and notes

The server is local rather than a remote storage or collaboration service. It only exposes directories explicitly configured by the operator, and file access is further restricted by allowed extensions. Write operations are opt-in and disabled by default.

The README focuses on Visual Studio 2022+ and similar local development environments. It does not describe support for multi-root workspaces, remote filesystems, or client-specific features beyond MCP configuration and Visual Studio debugging. Ensure paths and permissions are valid, then use init before relying on other operations.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about FileSystem MCP Server

FileSystem MCP Server is an MCP server that connects AI agents to selected local project directories and files. Its main tools validate access with init, list directory contents, read permitted files, and optionally write text or Base64-encoded binary data when write access is enabled.

Install it with `pip install vs-filesystem-mcp-server` using Python 3.10 or newer. For source development, clone the repository and run `uv sync`, then configure the MCP client to launch the installed command or `app.py`.

Set `allowed_dirs` and `allowed_extensions` in `config.json`, or pass `--allowed-dirs` and `--allowed-extensions` as command-line arguments. The server restricts operations to those directories and file types.

Set `allow_write` to `true` in `config.json` or pass `--allow-write true`. Writing is disabled by default, and write paths must remain inside an allowed directory.

Yes. The server is optimized for Visual Studio 2022+ workflows and supports no-argument startup with a `config.json` file beside `app.py` for debugging.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFileSystem MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/filesystem-mcp-server?style=directory)](https://allmcps.com/mcp/filesystem-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/filesystem-mcp-server"><img src="https://allmcps.com/api/badge/filesystem-mcp-server?style=directory" alt="FileSystem MCP Server on AllMCPs" /></a>