Octofs logo

Octofs

Rust MCP server for reading, searching, editing, and managing local or SSH/SFTP filesystems.

Install Octofs

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "octofs": {
      "command": "npx",
      "args": [
        "-y",
        "@muvon/octofs"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y @muvon/octofs

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Octofs MCP server gives AI assistants filesystem access through a standalone Rust binary. It supports file and directory viewing, content search, file creation and editing, shell commands, working-directory management, and SSH/SFTP URLs. Stdio and streamable HTTP transports support local coding assistants and other MCP clients. Reach for Octofs when an agent needs controlled access to a project checkout or remote filesystem.

Use cases

  • Inspect a project tree and read selected source files
  • Search a codebase for patterns with surrounding context
  • Apply verified batch edits to one file
  • Run build, test, or shell commands from an assistant
  • Edit files on a remote host over SSH/SFTP

Key features

  • Local and SSH/SFTP filesystem access
  • Content search with context lines
  • Atomic single-file batch editing
  • Stale-write detection with line identifiers
  • Shell execution with background handoff
  • Stdio and streamable HTTP transports

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/23 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @muvon/octofs (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars23Stargazers on the source repository.
npm downloads4.1kPackage downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Octofs works

What Octofs does

Octofs exposes filesystem and shell capabilities to AI assistants through the Model Context Protocol. It can inspect files and directories, search file contents, create files, apply text replacements, copy selected line ranges, delete files, undo edits, and execute shell commands. File tools can address local paths or remote locations using ssh://user@host:port/path URLs, allowing the same operations to work over SSH/SFTP.

The server is designed for coding workflows. An assistant can explore a project, locate matching code, read selected ranges, make targeted changes, and run commands without requiring files to be pasted into the conversation. Directory traversal respects .gitignore patterns, and large files are truncated to limit context usage.

How it works

Octofs runs as a compiled Rust binary and communicates over MCP. It supports both standard input/output and streamable HTTP transports. For local client configurations, the binary uses the mcp subcommand; a project can also be supplied with --path to establish the working checkout used by the server.

Edits use source-line identifiers in the N:hh format. Octofs checks those identifiers against the file when applying a change, so an edit based on stale content fails instead of being written to the wrong location. Batch edits combine multiple insert or replacement operations atomically within one file. Re-reading can return only changed hunks for clients that provide a context epoch.

Long-running shell commands automatically move into the background, with completion notifications. Undo history is kept in memory, with up to 10 undo levels per file.

Setup and configuration

Install Octofs through Cargo, Homebrew, the npm wrapper, a pre-built release binary, or the MCP Registry. The npm package downloads a matching pre-built binary on first use and can be invoked with npx -y @muvon/octofs mcp.

A typical stdio configuration passes the mcp subcommand:

config.json
{
  "mcpServers": {
    "octofs": {
      "command": "octofs",
      "args": ["mcp"]
    }
  }
}

When the executable is not on PATH, use its absolute path. Source builds require Rust 1.95 or newer. Pre-built binaries are available for Linux, Windows, and macOS on x86_64 and ARM64 platforms. Claude Desktop also supports the release .mcpb bundles where MCP bundles are supported.

Tools and capabilities

  • View files and directories, including glob-based directory listings.
  • Read selected line ranges, including negative indexes such as -1 for the final line.
  • Search file contents with surrounding context lines.
  • Create files and their missing parent directories.
  • Replace exact strings, with a whitespace-tolerant fallback.
  • Apply multiple edits atomically to one file.
  • Delete files and undo recent edits.
  • Copy selected lines from one file into another.
  • Run shell commands and continue long-running processes in the background.
  • Work with local paths and ssh:// SSH/SFTP paths.
  • Enforce .gitignore-aware traversal and stale-write checks.

Limitations and notes

Batch operations are atomic within a single file rather than across multiple files. Undo history is in-memory and limited to the last 10 edit levels per file. Large-file output may be truncated, and delta re-reads depend on the client reporting a context epoch. Remote access uses SSH/SFTP URL addressing, so the target host and path must be reachable through that mechanism.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Octofs

Octofs is an MCP server that connects AI assistants to local and SSH/SFTP filesystems through a standalone Rust binary. Its main tools view files and directories, search content, create and edit files, copy line ranges, run shell commands, and manage working directories, with stdio and streamable HTTP transports.

Install Octofs with Cargo, Homebrew, the npm wrapper, a pre-built release binary, or the MCP Registry. Cargo uses `cargo install octofs`; the npm route uses `npx -y @muvon/octofs mcp` and downloads a matching binary on first use.

Configure the client to run the `octofs` executable with `mcp` as its argument. If the binary is not on `PATH`, provide its full path. A project checkout can be supplied with `--path /path/to/your/project`.

Yes, Octofs works with Cursor through its MCP configuration. Add an `octofs` entry to `~/.cursor/mcp.json` with `command` set to `octofs` and `args` set to `["mcp"]`, then restart Cursor.

Yes, Octofs accepts `ssh://user@host:port/path` URLs for every file tool. This enables viewing, searching, creating, editing, and other file operations against reachable remote filesystems through SSH/SFTP.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOctofs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/octofs?style=directory)](https://allmcps.com/mcp/octofs)
HTML Embed
<a href="https://allmcps.com/mcp/octofs"><img src="https://allmcps.com/api/badge/octofs?style=directory" alt="Octofs on AllMCPs" /></a>