原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

FileSystem MCP Server

作者:Oncorporation版本 0.1.4i★ –i在你的电脑上运行
注册名称io.github.Oncorporation/filesystem-server

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "filesystem": {
      "command": "uvx",
      "args": [
        "vs-filesystem-mcp-server"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add filesystem -- uvx vs-filesystem-mcp-server

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "filesystem": {
      "command": "uvx",
      "args": [
        "vs-filesystem-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "filesystem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "vs-filesystem-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Oncorporation 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32655 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32655 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 32655 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

FileSystem MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.4)于24天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, SuperCollider

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

SuperCollider

作者:Tok

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

FileSystem MCP Server

Version: 0.1.4 — Last updated: 2026-10-13

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)
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:
   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/)
{

"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+):

{

"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:

{

"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:

# 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
{

"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
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):

{

"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
# 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
  1. 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
  1. 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.)
  1. read_file_binary(file_path) - Reads the content of a specified file as base64-encoded binary
  • Returns { "content_base64": , "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
  1. list_resources(directory=None, report_progress=True, batch_size=100) - Lists all resources (files and directories) in a directory (or all allowed directories) in MCP resource format
  • directory (optional): Directory to start from (defaults to all allowed_dirs)
  • report_progress (optional): If True, returns progress information and batches (default: True)
  • batch_size (optional): Number of resources per progress batch (default: 100)
  • Returns a list of resource objects if report_progress is False
  • Returns a dictionary with contents, progress_info, total_items, and processing_time if report_progress is True
  • Example resource object: json { "id": "D:/projects/example.txt", "type": "file", "name": "example.txt", "path": "D:/projects/example.txt", "metadata": { "size": 1234, "modified": "2025-08-18T12:34:56Z" }, "actions": ["read", "read_binary", "write", "write_binary"] }
  1. get_resource(path) - Gets metadata and actions for a specific file or directory
  • path: Absolute or relative path to the resource
  • Returns a resource object (id, type, name, path, metadata, actions) or an error dict
  • For files, includes size and modified time; for directories, includes type and actions
  • Does not return file content
  1. write_file(file_path, content) - Writes text content to a specified file (requires `--allow-write`)
  • file_path: Path to write to (must be within allowed dirs)
  • content: Text string to write
  • Raises ValueError if write access is disabled, path not allowed, extension not allowed, or IO error
  • Overwrites existing file
  • Disabled by default — enable with --allow-write flag or "allow_write": true in config.json
  1. write_file_binary(file_path, content_base64) - Writes binary content from base64 to file (requires `--allow-write`)
  • file_path: Path to write to (must be w

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx