← Back to Leaderboard
Mopenai

openai/mcpfs

A Rust FUSE and virtio-fs adapter that turns MCP catalogs into files and shell commands

View on GitHub ↗
Engineering Health (Methodology)
A · 76/100
Maintenance Activity
● Updated 2d ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption10/25
Release Cadence11/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 150
24h Growth
+48
7d Growth
+48
Forks
10

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

openai/mcpfs Star History (2026-11-30 - 2026-12-04) DAILY STAR HISTORY (5-DAY D1 TELEMETRY) +149 in 4d · avg +37/day 158 79 0 2026-11-30: ★ 12026-12-01: ★ 352026-12-02: ★ 932026-12-03: ★ 1022026-12-04: ★ 150 ★ 150 11-30 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

mcpfs is a client-side filesystem adapter for existing MCP servers. It presents a shared read-only VFS through mcpfs-fusefs on a Linux host or mcpfs-virtiofs over vhost-user queues to a Linux guest. mcpfs-vfs owns sessions, namespace construction, caches and open handles. The common mcpfs helper and mcpfs-ioctl crate implement the invocation path shared by both adapters. The Rust 2024 workspace lists rmcp pinned to 3.6.0, plus Tokio, serde_json and sha2 among its shared dependencies.

Reading a generated Bash tool script reveals its help and schemas without calling the tool. Execution passes arguments to the helper, which builds a JSON object and opens the script read-only. The daemon identifies the tool by inode; APPEND, RUN and NEXT ioctls transfer arguments and results in fixed-size frames, with independent state for each open. Tool calls and resource fetches run outside the FUSE dispatcher, so a pending MCP request does not block directory listings, metadata lookups or reads from already-open files.

Key Capabilities & Differentiators

The adapter connects over Streamable HTTP, including request-scoped SSE, or launches a local stdio server directly from its argument vector. A multi-server mount exposes both named server roots and merged tools/, resources/ and skills/ views, prefixing colliding entries with the server name. Catalog search runs locally against advertised names and descriptions. Resources expose UTF-8 text, decoded blobs or multipart JSON. The MCP Skills extension adds paginated manifests, size and SHA-256 verification on open, and dynamic enumeration through resources/directory/read where supported.

Tools take named options or JSON from an argument or stdin. Successful calls prefer structuredContent, including explicit null; otherwise they return the content array or the verbatim body of a single unannotated text block. Tool and protocol errors produce a nonzero exit status. The content cache holds up to 256 entries and 16 MiB per server for up to 30 seconds, subject to a shorter resource TTL. Completing a tool call clears that server's content cache, while open handles keep their snapshots.

Trade-offs & Limitations

Compared with a native MCP client, mcpfs lets shell scripts and file-oriented applications use MCP without implementing the protocol. In return, deployment depends on Linux filesystem support, and every server's catalog is processed at mount time. A slow server can delay the entire mount. Search uses the resulting snapshot: content invalidation does not refresh names or tool schemas, so catalog changes require a remount. In virtio-fs guests, sendfile may see a resource's initial zero size before attributes refresh; a direct read fetches the bytes.

The read-only label applies to the filesystem, not to upstream tool behavior. A process that can execute mounted tools can act with the backend's MCP credentials. Cancellation starts after five seconds without a response, but a timed-out tool may already have changed remote state. Use only trusted MCP servers and scope mount access accordingly. The virtio-fs backend also has explicit backpressure and memory limits: up to eight deferred opens, eight tool calls, 1,024 open files, 64 MiB of open resource snapshots and a separate 64 MiB for tool input and output per connection.

Hardware & Deployment Guide

Build on Linux with cargo build --workspace --locked --release. The TLS backend requires a C compiler, pkg-config and OpenSSL development headers. Local unprivileged mounts need access to /dev/fuse and the FUSE 3 fusermount3 helper; mounted tool scripts need Bash. The FUSE mount runs in the foreground, and the bundled ./examples/fuse-single/run.sh exercises the path using a local Python fixture. The adapter is self-hosted and can connect to a local stdio process or an upstream HTTP service; it does not require a model runtime or GPU.

For a VM, install mcpfs and Bash in the Linux guest, run mcpfs-virtiofs on the host with a socket in a private runtime directory, and attach it to a vhost-user virtio-fs device. The QEMU setup uses shared memory, and the guest mounts the share read-only. Each backend daemon serves one VMM connection. Use HTTPS for HTTP bearer authentication and remount after replacing the token. The workspace is version 0.1.0, is marked publish = false, and has no listed GitHub release. Treat it as a source-built developer demo, not a production-ready dependency.

Mount adapters: One Rust VFS serves local Linux FUSE and Linux guests over vhost-user virtio-fs.
Catalog discovery: Paginated discovery builds a searchable local snapshot; merged namespaces prefix colliding names with the server name.
Skill integrity: Skill files are non-executable, and advertised SHA-256 digests and sizes are checked on open.
Shell invocation: Tools accept named options or JSON and use a framed Linux ioctl ABI to exchange input and results.
Cache semantics: Each server caches up to 256 entries and 16 MiB, with a default maximum lifetime of 30 seconds; open handles retain stable snapshots.
Guest limits: Each virtio-fs connection allows up to eight deferred opens, eight tool calls and 1,024 open files.
Best For

Linux developers testing shell or coding-agent workflows that consume trusted MCP resources, skills and tools on a host or in a VM.

Skip If

You need production support, live catalog updates, per-user upstream authorization, or a non-Linux mount.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
cargo build --workspace --locked --release

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mcpfs ★150+48RustApache-2.0A Rust FUSE and virtio-fs adapter that turns MCP catalogs into files and shell c
agent-browser55.4k+1kRustApache-2.0Rust CLI and stdio MCP for agents that read and act on live web pages
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
skills338.7k+4.4kShellMITComposable Markdown skills that bring engineering workflows to coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/openai/mcpfs.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

openai/mcpfs Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mcpfs

How do I integrate mcpfs with an existing MCP server or coding agent?

Use mcpfs as a client-side adapter to an existing MCP server. Mount an HTTP endpoint or supply the executable and arguments for a local stdio server, then discover entries with search and inspect tools with --help. Reading a tool file does not call it; executing it sends an MCP request through the mount daemon.

What hardware does the adapter need, and what drives memory use?

The adapter does not run models or require a GPU or VRAM. Size memory for the number of servers, open resource snapshots and concurrent calls. Each server's content cache is capped at 256 entries and 16 MiB; open snapshots are retained independently of cache expiry. The virtio-fs backend caps open snapshots at 64 MiB per connection and has a separate 64 MiB tool-buffer budget. Those limits are not a total process memory estimate.

Can a company self-host or redistribute mcpfs?

Yes. Apache-2.0 permits commercial use and self-hosting; if you redistribute the software, follow its license and applicable NOTICE requirements. The adapter's license does not grant rights to upstream MCP services or their data. Limit access to the mount and VM socket, since users who can run mounted tools can invoke them with the backend's MCP credentials.

When is a native MCP client a better choice?

Use a native client if your application already integrates with MCP and needs protocol-level control over sessions and authentication. Use mcpfs when shell compatibility matters more: existing processes can read resources as files and invoke tools as commands without implementing MCP. The price is a Linux-specific mount and a catalog that must be refreshed by remounting.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining openai/mcpfs? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature openai/mcpfs on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare