A fast, configurable filesystem server for the Model Context Protocol (MCP), written in Rust.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"filesystem": {
"url": "https://your-public-host.example/mcp",
"transport": "http"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A fast, configurable filesystem server for the Model Context Protocol (MCP), written in Rust.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'fs-mcp-rs' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked fs-mcp-rs against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
Compact, efficient, and extensible long-term memory for LLM agents.
MCP Security Weekly
Get CVE alerts and security updates for io.github.nihmadev/fs-mcp-rs and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A fast, configurable filesystem server for the Model Context Protocol (MCP), written in Rust.
fs-mcp-rs gives an MCP client a small set of filesystem tools while keeping access inside directories selected by the operator. It has no implicit filesystem root, no built-in personal path, and no writable default. The server starts only when you provide a configuration file.
The public distribution is one crate and one executable, both named fs-mcp-rs. The protocol, policy, filesystem, search, and settings components remain separate Rust modules inside that crate. This keeps installation simple:
cargo install fs-mcp-rs
Users do not need to install or understand a graph of internal crates. The benchmark runner remains a development-only workspace member and is not included in the crates.io package.
npx fs-mcp-rs..gitignore support and configurable hidden-file handling.[OK] / [WARN]).npx execution, or Rust 1.85+ when building from source.The easiest way to run fs-mcp-rs with any MCP client (such as Claude Desktop or Cursor) is using npx:
npx fs-mcp-rs /path/to/project
The npm package automatically downloads the appropriate precompiled binary for your operating system and architecture (Windows x64, Linux x64, macOS x64/arm64).
cargo install fs-mcp-rs
fs-mcp-rs --version
git clone https://github.com/nihmadev/fs-mcp-rs.git
cd fs-mcp-rs
cargo build --release
The executable will be at target/release/fs-mcp-rs on Unix-like systems or target\release\fs-mcp-rs.exe on Windows.
Copy configs/example.toml somewhere appropriate and edit it. The server intentionally has no default config path:
cp configs/example.toml fs-mcp-rs.toml
Windows PowerShell:
Copy-Item configs\example.toml fs-mcp-rs.toml
Minimal read-only configuration:
[server]
host = "127.0.0.1"
port = 8000
max_concurrency = 32
max_io_concurrency = 16
[filesystem]
roots = ["/home/alice/projects"]
read_only = true
max_read_bytes = 8388608
max_write_bytes = 8388608
follow_links = false
[search]
max
... [View full README on GitHub](https://github.com/nihmadev/fs-mcp-rs#readme)