Skip to main content
MCP server CX Codex

Octofs — Claude Code MCP server: what it does, how to install

Gives AI coding assistants direct filesystem and remote SSH access. Enables content searching, atomic batch file editing, and command execution.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add octofs -- npx -y @muvon/octofs
Open on GitHub

What Octofs does

Octofs is a standalone Rust binary built on tokio and axum. It equips agents with tools to inspect directory trees while respecting .gitignore rules, locate snippets using context-aware search, and read files in chunks. It also handles remote targets directly via ssh:// URLs.

File modifications rely on composite N:hh line identifiers verified against hashes at write time. If external changes occur beforehand, the server rejects outdated edits and suggests relocation offsets. The tool handles atomic batch modifications and stores up to 10 undo steps per file in memory.

Building from source requires Rust 1.95 or later. In practice, you do not need the Rust compiler because pre-compiled binaries and an npm wrapper handle execution automatically.

What it helps with

  • Search codebase text with surrounding context lines
  • Modify remote files directly using ssh:// paths
  • Apply atomic multi-line batch edits to a single file
  • Block conflicting writes via line-hash validation

Example prompts for the agent

  • Find all occurrences of unwrap() in this repository and display their context
  • Generate a test.rs file with basic unit tests
  • Inspect the directory structure at ssh://user@server:22/var/www

How to install Octofs

Platform CLI

claude mcp add octofs -- npx -y @muvon/octofs

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Octofs

How to install Octofs in Claude Code?

Run claude mcp add octofs -- npx -y @muvon/octofs in your terminal. The wrapper fetches the appropriate pre-compiled binary on its first run.

What does Octofs do?

It exposes filesystem tools over MCP, allowing assistants to search code, edit files atomically, handle shell tasks, and connect over SSH.

How does Octofs prevent stale writes?

Each line edit checks composite N:hh identifiers containing hash values. If the target line changed, the update fails and returns relocation hints to the model.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor