Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Chanfs

FreeNot checked

Rust MCP stdio server exposing guarded file reads

GitHubEmbed

About

Rust MCP stdio server exposing guarded file reads

README

Rust MCP stdio server exposing guarded file reads.

Set CHANFS_ALLOWED_DIRS to an OS path-list of allowed root directories. Paths are canonicalized at startup and per read; symlink escapes are rejected. Unset or empty disables reads. Invalid UTF-8 returns an error.

Tool:

  • read_files: { "files": [{ "path": string, "start_line"?: number, "end_line"?: number }] }

Line numbers are 1-based; end_line is inclusive. Reads page at most 400 lines by default.

Download and validate

Download release assets from the GitHub Releases page.

  • Linux x86_64: chanfs-mcp-x86_64-unknown-linux-gnu.tar.gz
  • Linux ARM64: chanfs-mcp-aarch64-unknown-linux-gnu.tar.gz
  • Windows x86_64: chanfs-mcp-x86_64-pc-windows-msvc.zip
  • Windows ARM64: chanfs-mcp-aarch64-pc-windows-msvc.zip

Each archive has matching .sha256 checksum file. On Linux, run from directory containing both files:

sha256sum -c chanfs-mcp-x86_64-unknown-linux-gnu.tar.gz.sha256

On Windows PowerShell, compare Get-FileHash output with hash in matching .sha256 file:

$actual = (Get-FileHash .\chanfs-mcp-x86_64-pc-windows-msvc.zip -Algorithm SHA256).Hash.ToLower()
$expected = (Get-Content .\chanfs-mcp-x86_64-pc-windows-msvc.zip.sha256).Split()[0]
if ($actual -ne $expected) { throw "Checksum mismatch" }
"Checksum OK"

Verify build provenance with GitHub CLI:

gh attestation verify chanfs-mcp-x86_64-unknown-linux-gnu.tar.gz --repo chanderlud/chanfs

This requires gh CLI installed and verifies artifact was built by this repository's GitHub Actions workflow. It works independently of GitHub Releases page.

Example client config:

{"mcpServers":{"chanfs":{"command":"C:\\path\\to\\chanfs-mcp.exe","env":{"CHANFS_ALLOWED_DIRS":"C:\\Users\\chand\\RustroverProjects"}}}}

Codex (~/.codex/config.toml):

[mcp_servers.chanfs]
command = "C:\\path\\to\\chanfs-mcp.exe"
env = { CHANFS_ALLOWED_DIRS = "C:\\Users\\chand\\RustroverProjects" }

from github.com/chanderlud/chanfs-mcp

Installing Chanfs

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/chanderlud/chanfs-mcp

FAQ

Is Chanfs MCP free?

Yes, Chanfs MCP is free — one-click install via Unyly at no cost.

Does Chanfs need an API key?

No, Chanfs runs without API keys or environment variables.

Is Chanfs hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Chanfs in Claude Desktop, Claude Code or Cursor?

Open Chanfs on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Chanfs with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs