LogoSTMCP
Download
filesystem_server

FileSystem MCP Server

A local MCP server for Visual Studio 2022 that provides AI agents with secure, selective access to project files and directories through hybrid configuration options.

Tools

1. init

Validates accessibility of configured directories and can optionally list a directory and/or read a file.

2. list_directory

Lists files and subdirectories in a given directory, with optional progress reporting.

3. read_file

Reads the content of a specified file as text.

4. read_file_binary

Reads the content of a specified file as base64-encoded binary.

5. list_resources

Lists all resources (files and directories) in a directory (or all allowed directories) in MCP resource format.

6. get_resource

Gets metadata and actions for a specific file or directory.

Open Graph image for FileSystem MCP Server

JSON Config

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

Useful Links

Information