Описание
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" }
Установка Chanfs
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/chanderlud/chanfs-mcpFAQ
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
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Chanfs with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
