Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ“‚ File Systems
  3. FileSystem MCP Server
FileSystem MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/22/2026, 9:16:31 PM

FileSystem MCP Server

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository5 GitHub StarsTotal stargazers on GitHub for the source repository (5 stars).Visit Website

Secure filesystem access for AI agents with configurable directory and file type restrictions

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "filesystem-mcp-server": {
      "command": "uvx",
      "args": [
        "vs-filesystem-mcp-server"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (5) Directory Badge Claim listing AlternativesπŸ“‚ More in File Systems

Capabilities & Tool Schemas (5) ~65 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by FileSystem MCP Server.

directory

The absolute or relative path to the directory (supports both / and \\ separators)

path

Absolute or relative path to the resource

file_path

Path to write to (must be within allowed dirs)

content

Text string to write

content_base64

Base64-encoded binary data

Documentation Overview

FileSystem MCP Server

Local MCP server for Visual Studio 2022+ that provides code-workspace functionality by giving AI agents selective access to project folders and files

Table of Contents

  • 🎯 Target Environment
  • Features
  • Installation
  • Quick Start
  • Configuration Options
    • Option 1: Config.json File (Simplest - Recommended for Beginners)
    • Option 2: Command-Line Arguments (Advanced - For MCP Clients)
    • Option 3: Hybrid Approach (Best of Both Worlds)
  • Usage
    • Command Line Examples
    • Available Tools
  • Why This Hybrid Approach is Perfect
  • Visual Studio 2022+ Debugging
  • Visual Studio 2022+ Usage Examples
  • Editing Your mcp.json File via GitHub Copilot Chat
  • Security
  • Error Handling
  • Troubleshooting
    • MCP Configuration Issues
    • Visual Studio 2022+ Debugging
    • Common Issues
  • Command Line Reference
  • Cross-Platform Path Support
  • Advanced & Real-World MCP Configuration Examples

🎯 Target Environment

This MCP server is optimized for:

  • Visual Studio 2022+ development workflows
  • Local development environments without complex workspace setups
  • Direct folder access scenarios where you need filesystem operations
  • Development environments that don't use .code-workspace files
  • Individual project directories rather than multi-root workspaces

Features

  • Directory Traversal: List contents of allowed directories
  • File Reading: Read contents of files with allowed extensions
  • File Writing: Write text/binary content to files β€” opt-in via --allow-write (disabled by default)
  • Directory Validation: Check accessibility of configured directories
  • Hybrid Configuration: Command-line arguments (MCP) + config.json fallback (debugging)
  • Visual Studio 2022+ Debugging: No-argument startup support
  • Cross-Platform Path Support: Automatically handles both Windows (\) and Unix (/) path separators
  • Security: Access restricted to explicitly specified directories and file types
  • Local Development Focus: Perfect for Visual Studio 2022+ and similar environments

Installation

From PyPI (Recommended for Users)

Terminal
pip install vs-filesystem-mcp-server

From Source (For Development)

  1. Ensure you have Python 3.10+ installed

  2. Clone the repository

  3. Navigate to the project directory

  4. Install dependencies using uv:

    bash
    uv sync
    

Quick Start

  1. For MCP usage: Add the corrected configuration to your .mcp.json
  2. For debugging: Just press F5 in Visual Studio 2022+ - uses config.json automatically
  3. Test your configuration by calling the init() tool first
  4. If init() returns errors, check your directory paths and permissions

Configuration Options

Option 1: Config.json File (Simplest - Recommended for Beginners)

The easiest way to get started! Create a config.json file:

For MCP server usage:

  • Place config.json in the same folder as your .mcp.json file (usually C:\Users\YourUsername\)

For debugging from source (Visual Studio 2022+):

  • Place config.json in the same directory as app.py (D:/Projects/filesystem_server/)
config.json
{
  "allowed_dirs": [
    "C:/Users/YourUsername/Documents/projects",
    "D:/projects",
    "D:/Webs"
  ],
  "allowed_extensions": [
    ".py", ".js", ".ts", ".json", ".md", ".txt",
    ".yml", ".yaml", ".toml", ".cfg", ".ini", ".cs",
    ".css", ".scss", ".htm", ".html", ".xml", ".xaml"
  ],
  "allow_write": false
}

Note: Set "allow_write": true to enable write_file and write_file_binary tools.

MCP Configuration (Installed via pip)

Add this to your .mcp.json file (usually C:\Users\YourUsername\ in VS 2022+):

config.json
{
  "servers": {
    "filesystem-server": {
      "command": "vs-filesystem-mcp-server"
    }
  }
}

Note: When installed via pip, the command is just vs-filesystem-mcp-server - no path to app.py needed!

MCP Configuration (Running from Source)

If you're developing and running from source code:

config.json
{
  "servers": {
    "filesystem-server": {
      "command": "python",
      "args": [
        "/absolute/path/to/your/project/filesystem_server/app.py"
      ],
      "cwd": "/absolute/path/to/your/project/filesystem_server"
    }
  }
}

Benefits:

  • βœ… No command-line arguments needed
  • βœ… Perfect for Visual Studio 2022 debugging (just press F5)
  • βœ… Works with MCP clients when placed in correct location
  • βœ… Easy to edit and modify
  • βœ… Great for testing and development

Usage:

bash
# For debugging in Visual Studio 2022:
python app.py  # Uses config.json from same directory as app.py

# For MCP server usage:
# The MCP client automatically finds config.json in the .mcp.json directory

Important Location Notes:

  • πŸ”§ Debugging: config.json goes next to app.py
  • 🌐 MCP Server: config.json goes next to .mcp.json
  • πŸ“ Different locations for different use cases!

Option 2: Command-Line Arguments (Advanced - For MCP Clients)

Best for production MCP client configurations where you want everything in one place:

When Installed via pip

config.json
{
  "servers": {
    "filesystem-server": {
      "command": "vs-filesystem-mcp-server",
      "args": [
        "--allowed-dirs", "D:/projects", "D:/Webs",
        "--allowed-extensions", ".py", ".js", ".ts", ".json", ".md", ".txt"
      ]
    }
  }
}

When Running from Source

bash
python app.py --allowed-dirs "D:/projects" "D:/Webs" --allowed-extensions ".py" ".js" ".md"

# With write access enabled:
python app.py --allowed-dirs "D:/projects" "D:/Webs" --allowed-extensions ".py" ".js" ".md" --allow-write true

MCP Client Configuration (.mcp.json):

config.json
{
  "servers": {
    "filesystem-server": {
      "command": "python",
      "args": [
        "/absolute/path/to/your/project/filesystem_server/app.py",
        "--allowed-dirs", "D:/projects", "D:/Webs",
        "--allowed-extensions", ".py", ".js", ".ts", ".json", ".md", ".txt"
      ],
      "cwd": "/absolute/path/to/your/project/filesystem_server"
    }
  }
}

Benefits:

  • βœ… Self-contained configuration
  • βœ… No external config files needed
  • βœ… Version control friendly
  • βœ… Explicit and visible in MCP setup

Option 3: Hybrid Approach (Best of Both Worlds)

The server automatically uses command-line arguments first, then falls back to config.json if no arguments provided.

How it works:

  • MCP clients: Use command-line arguments (Option 2)
  • Visual Studio debugging: Automatically uses config.json (Option 1)
  • Priority: Command-line args override config.json when present

Benefits:

  • βœ… Works for both MCP clients and debugging
  • βœ… No conflicts between different usage scenarios
  • βœ… Flexible and developer-friendly
  • βœ… Choose the best option for each situation

Usage

Command Line Examples

bash
# With command line arguments (MCP clients):
python app.py --allowed-dirs "D:/projects" "D:/Webs" --allowed-extensions ".py" ".js" ".md"

# Using config.json fallback (Visual Studio 2022+ debugging):
python app.py

# Show MCP configuration help:
python app.py --help-mcp

Available Tools

  1. init(directory, file_path) - Validates accessibility of configured directories and can optionally list a directory and/or read a file

    • directory (optional): Directory path to list contents (can be None)
    • file_path (optional): File path to read content (can be None)
    • Returns { "message": "OK", "isError": false, ... } if all directories accessible
    • Returns error details if any directories are inaccessible
    • Shows configuration source (command-line args vs config file)
    • Use this to verify your configuration before using other tools
  2. list_directory(directory, report_progress=True, batch_size=100) - Lists files and subdirectories in a given directory, with optional progress reporting

    • directory: The absolute or relative path to the directory (supports both / and \ separators)
    • report_progress (optional): If True, returns progress information and batch details (default: True)
    • batch_size (optional): Number of items to process before reporting progress (default: 100)
    • Returns a list of file and directory names if report_progress is False
    • Returns a dictionary with contents, progress_info, total_items, and processing_time if report_progress is True
    • If an error occurs, returns a dictionary with "error" and "error_message" keys
    • No exceptions are raised - all errors are returned as part of the result
  3. read_file(file_path) - Reads the content of a specified file as text

    • Returns the file content as a string (for text files only)
    • Not suitable for binary files (images, audio, etc.)
  4. read_file_binary(file_path) - Reads the content of a specified file as base64-encoded binary

    • Returns { "content_base64": <base64 string>, "encoding": "base64", "error": False } on success
    • Returns an error dict if the file is not allowed or not found
    • Suitable for images, audio, and other binary files

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in File Systems View all alternatives
  • MCP Filesystem Server logoMCP Filesystem Server

    Golang implementation for local file system access.

    πŸ“‚ File Systems4 views
    Compare vs MCP Filesystem Server β†’
  • MCP Text Editor logoMCP Text Editor

    A line-oriented text file editor. Optimized for LLM tools with efficient partial file access to minimize token usage.

    πŸ“‚ File Systems1 views
    Compare vs MCP Text Editor β†’
  • Google Drive MCP logoGoogle Drive MCP

    Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.

    πŸ“‚ File Systems1 views
    Compare vs Google Drive MCP β†’
  • Markitdown logoMarkitdown

    MCP tool access to MarkItDown -- a library that converts many file formats (local or remote) to Markdown for LLM consumption.

    πŸ“‚ File Systems5 views
    Compare vs Markitdown β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
5
Stargazers on the source repository.
Last commit
6mo ago
Most recent push to the default branch.
Tools exposed
5
Callable tools this server registers over MCP.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about FileSystem MCP Server

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "filesystem-mcp-server": { "command": "uvx", "args": ["vs-filesystem-mcp-server"] } }

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>

Technical Specs & Signals

CategoryπŸ“‚File Systems
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimePython
Last updatedMar 5, 2026
11/15 checks healthy over the last 45d
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars5
GitHub Star CountTotal stargazers on GitHub representing community popularity (5 stars).
Last commit6mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Mar 5, 2026
48Quality signal: Fair Β· 48/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

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

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ“‚ File Systems β†’Best MCP servers for File Systems β†’Alternatives to FileSystem MCP Server β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients