FieldCure.Mcp.Filesystem
1.1.1
{ "servers": { "FieldCure.Mcp.Filesystem": { "type": "stdio", "command": "dnx", "args": ["FieldCure.Mcp.Filesystem@1.1.1", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global FieldCure.Mcp.Filesystem --version 1.1.1
dotnet new tool-manifest
dotnet tool install --local FieldCure.Mcp.Filesystem --version 1.1.1
#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, andNULare rejected
Markdown conversion validates both input and output paths through the same sandbox.
Requirements
- .NET 8.0 Runtime or later
Links
| Product | Versions 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. |
This package has no dependencies.
v1.1.1: Update MCP package metadata to the latest server.json format for NuGet and VS Code integration.