プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonの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

  • このカテゴリのほかの32602件のうち0%よりスターが多い
  • このカテゴリのほかの32602件のうち61%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32602件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

FileSystem MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.4)がレジストリに届いたのは24 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Rystic

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211一昨日更新
インストール

Rystic

作者:Rystic-Inc

Start, seed, clock, inspect and diff Rystic API simulators from your agent.

パソコンで動く今日更新
インストール

作者の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に聞く