FieldCure.Mcp.Filesystem 1.1.1

{
  "servers": {
    "FieldCure.Mcp.Filesystem": {
      "type": "stdio",
      "command": "dnx",
      "args": ["FieldCure.Mcp.Filesystem@1.1.1", "--yes"]
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global FieldCure.Mcp.Filesystem --version 1.1.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local FieldCure.Mcp.Filesystem --version 1.1.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FieldCure.Mcp.Filesystem&version=1.1.1
                    
nuke :add-package FieldCure.Mcp.Filesystem --version 1.1.1
                    

FieldCure.Mcp.Filesystem

Secure MCP server for local filesystem operations: read, write, search, copy, move, and convert supported documents to markdown within a sandboxed directory boundary.

Install

dotnet tool install -g FieldCure.Mcp.Filesystem

Quick Start

fieldcure-mcp-filesystem "C:\Users\me\Documents" "C:\Projects"

Pass one or more directories as arguments to define the sandbox boundary.

Claude Desktop

{
  "mcpServers": {
    "filesystem": {
      "command": "fieldcure-mcp-filesystem",
      "args": ["C:\\Users\\me\\Documents", "C:\\Projects"]
    }
  }
}

VS Code

{
  "servers": {
    "filesystem": {
      "command": "fieldcure-mcp-filesystem",
      "args": ["${workspaceFolder}"]
    }
  }
}

Tools (17)

Category Tools
File read_file, read_multiple_files, read_file_lines, convert_to_markdown, convert_directory_to_markdown, write_file, append_file, modify_file, copy_file, move_file, delete_file
Directory list_directory, create_directory, directory_tree
Search & Info search_files, search_within_files, get_file_info

Markdown Conversion

convert_to_markdown and convert_directory_to_markdown are intended for cases where the user wants a file saved as markdown without forcing the LLM to read the entire document into context and then write it back out again.

The server parses supported document formats directly and writes .md files on disk, which is usually much more token-efficient than read_file plus write_file.

Supported conversion depends on the installed FieldCure.DocumentParsers package.

MCP Roots Protocol

Supports runtime directory changes via the MCP roots protocol. Clients can send notifications/roots/list_changed to switch allowed directories without restarting the server. CLI args serve as the initial value; roots override them entirely.

Security

All paths are validated through a sandbox before any filesystem operation:

  • Allowed directories define the initial sandbox boundary
  • Path traversal prevention resolves and validates ..
  • Symlink resolution requires the final target to remain inside allowed directories
  • NTFS alternate data streams are blocked
  • Windows reserved names such as CON, PRN, AUX, and NUL are rejected

Markdown conversion validates both input and output paths through the same sandbox.

Requirements

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.1.1 123 4/21/2026
1.1.0 94 4/20/2026
1.0.0 107 4/6/2026
0.5.1 108 4/3/2026
0.5.0 123 3/27/2026
0.4.0 98 3/24/2026
0.3.0 99 3/23/2026
0.2.0 96 3/22/2026
0.1.0 94 3/22/2026

v1.1.1: Update MCP package metadata to the latest server.json format for NuGet and VS Code integration.