Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Chanfs

БесплатноНе проверен

Rust MCP stdio server exposing guarded file reads

GitHubEmbed

Описание

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

Установка Chanfs

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/chanderlud/chanfs-mcp

FAQ

Chanfs MCP бесплатный?

Да, Chanfs MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Chanfs?

Нет, Chanfs работает без API-ключей и переменных окружения.

Chanfs — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Chanfs в Claude Desktop, Claude Code или Cursor?

Открой Chanfs на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Chanfs with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development