Installation
This guide covers building and installing MCP Filesystem Ultra on different platforms.
Requirements
Section titled “Requirements”- Go 1.26.0 or later (download)
- Git (optional, for cloning)
- Windows, Linux, or macOS
Download
Section titled “Download”Option 1: Clone from GitHub
Section titled “Option 1: Clone from GitHub”git clone https://github.com/notcharliemarsh/mcp-filesystem-go-ultra.gitcd mcp-filesystem-go-ultraOption 2: Download Release
Section titled “Option 2: Download Release”Download the latest release from the GitHub Releases page.
Building from Source
Section titled “Building from Source”Windows
Section titled “Windows”Using the build script (recommended):
build-windows.batManual build:
go mod tidygo build -ldflags="-s -w" -trimpath -o filesystem-ultra.exe .Linux / macOS
Section titled “Linux / macOS”go mod tidygo build -ldflags="-s -w" -trimpath -o filesystem-ultra .Cross-Compilation
Section titled “Cross-Compilation”Build Windows executable from Linux/WSL:
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o filesystem-ultra.exe .Build Linux executable from Windows:
set GOOS=linuxset GOARCH=amd64go build -ldflags="-s -w" -trimpath -o filesystem-ultra .Verify the Build
Section titled “Verify the Build”# Check version./filesystem-ultra.exe --version# Output: MCP Filesystem Ultra v4.0.0
# Check help./filesystem-ultra.exe --helpBinary Details
Section titled “Binary Details”The optimized build produces:
- Size: Approximately 8.8 MB
- Dependencies: None (statically linked)
- Platforms: Windows (amd64), Linux (amd64), macOS (amd64/arm64)
Installation Locations
Section titled “Installation Locations”Windows
Section titled “Windows”Recommended locations:
C:\Program Files\MCP\filesystem-ultra.exeC:\Tools\filesystem-ultra.exe- Any directory in your PATH
Linux / macOS
Section titled “Linux / macOS”# System-widesudo cp filesystem-ultra /usr/local/bin/
# User-onlycp filesystem-ultra ~/.local/bin/Running Tests
Section titled “Running Tests”Verify the installation with tests:
# Run all testsgo test ./tests/...go test ./core/...
# Run with race detectorgo test -race ./...
# Run security testsgo test ./tests/security/...Build Flags Explained
Section titled “Build Flags Explained”| Flag | Purpose |
|---|---|
-ldflags="-s -w" | Strip debug info and symbol table (smaller binary) |
-trimpath | Remove file paths from binary (reproducible builds) |
Common Issues
Section titled “Common Issues””go: command not found”
Section titled “”go: command not found””Install Go from go.dev/dl and add it to your PATH.
Build fails with module errors
Section titled “Build fails with module errors”Run go mod tidy to resolve dependencies.
Cross-compiled binary not working
Section titled “Cross-compiled binary not working”Ensure you set both GOOS and GOARCH correctly:
- Windows:
GOOS=windows GOARCH=amd64 - Linux:
GOOS=linux GOARCH=amd64 - macOS Intel:
GOOS=darwin GOARCH=amd64 - macOS Apple Silicon:
GOOS=darwin GOARCH=arm64
WSL: Windows paths not recognized
Section titled “WSL: Windows paths not recognized”When building for Windows from WSL, always use:
GOOS=windows GOARCH=amd64 go build -o filesystem-ultra.exe .This ensures the binary correctly handles Windows paths like C:\Users\... instead of converting them to WSL paths like /mnt/c/Users/....
Next Steps
Section titled “Next Steps”- Quick Start - Configure and run
- Claude Desktop Setup - Integration guide