# Octofs

A standalone Rust MCP server that gives AI coding agents filesystem tools - viewing, editing, batch-editing and searching files, running shell commands, and transparent SSH/SFTP access - through a single binary with no separate runtime.

Octofs exposes filesystem operations to AI agents as MCP tools, compiled into a single Rust binary built on rmcp, tokio and axum, with no Python or Node runtime required. It provides content search with surrounding context lines, atomic multi-file batch editing, and composite line-address identifiers that are hash-verified at apply time, so a stale edit fails safely with a relocation hint rather than silently applying to the wrong line.

Every file tool transparently accepts ssh:// URLs, so an agent can read, search and edit files on a remote host the same way it works locally, and re-reading a file after a change returns only the changed hunks rather than the full file again. The server supports both STDIO and Streamable HTTP transports, is gitignore-aware when searching, and detects stale writes before applying them.

It installs through Cargo, Homebrew or npm, with the npm package downloading a matching pre-built binary on first run, and is also listed in the MCP Registry.

Website: https://octomind.run/product/octofs/
