OpenAI's mcpfs Mounts MCP Servers as Files and Calls Itself a Demo
Software / news
OpenAI's mcpfs Mounts MCP Servers as Files and Calls Itself a Demo
The Apache-2.0 Rust project turns MCP tools into Bash scripts on Linux, and its README warns that a timed-out call may already have changed remote state.
OpenAI published mcpfs, an Apache-2.0 Rust project that mounts Model Context Protocol servers as a read-only filesystem on Linux, and its README calls it "a developer demo" that is not production ready. The repository showed 1.8k stars, 90 forks and one commit on main when it was fetched on Dec. 6.
MCP is the protocol agents use to call outside tools: a server lists tools and resources, and a client lets a model invoke them. mcpfs skips the client. It presents each server as a directory, so an agent with a shell can read and run things with ls, cat and Bash.
Four paths on the mount
The README lays the mount out as follows, according to the repository.
resources/holds MCP resources as files. Reads return cached bytes, and a multipart reply becomes a JSON array.skills/holds skill files from the MCP Skills extension, as plain non-executable data.tools/holds each MCP tool as an executable Bash script.--helpprints the schema, and arguments go in as named options or as JSON.searchruns a local, case-insensitive substring match over names and descriptions. It makes no MCP request.
The task this shortens is a familiar one: an agent wants to call a ticket-tracker tool, so it lists tools/, runs the script with --help, reads the schema and runs it again with arguments. Hacker News commenter kristo said it "Looks useful for linear", because tickets would appear as local files.
Linux is the only target. mcpfs mounts through FUSE or serves a guest over vhost-user virtio-fs, and the explainx.ai write-up by Yash Thakker found no macOS FUSE support in the README. There are no releases or packages. The build is cargo build --workspace --locked --release, and it needs a C compiler, pkg-config and OpenSSL development headers.
The limits written into the README
| Limit | Value |
|---|---|
| Time before a resource read or tool call is cancelled | 5 seconds |
| Projected filesystem nodes | 262,144 |
| Catalog budget | 64 MiB |
| Open files per virtio-fs connection | 1,024 |
| Arguments per tool call | 8 MiB |
| Resource cache | 256 entries, 16 MiB per server, 30-second TTL |
The five-second cancellation is the one with consequences. The README warns that a timed-out tool call may already have changed remote state, so a script that appears to have failed can still have created the ticket or sent the message.
What the security section asks of the user
The README says: "Only use it with MCP servers you trust." Stdio servers launch whatever argv the user supplies. In a virtio-fs guest, any process that can run the mounted tools can act with the backend's MCP credentials. A bearer token sent over http:// travels in the clear.
The MCP specification says "there SHOULD always be a human in the loop with the ability to deny tool invocations." That sentence is addressed to applications. A Bash script on a mount is run by whichever process opens it, and the README sections we read describe no confirmation step. Thakker wrote that destructive tools need human approval.
Prompts, sampling, interactive elicitation and interactive OAuth flows have no filesystem mapping yet, he wrote.
Reaction on Hacker News
The project reached 119 points and 58 comments after tosh submitted it on Dec. 5. Commenter oa335 wrote: "I perused the readme, but still don't understand the utility of this, could someone please explain?" Commenter riedel wrote: "Seems like we are rediscovering the ideas behind plan9." Commenter buremba asked why anyone would prefer mcpfs to a code-execution approach, and said FUSE would add latency.
The core is in Rust, the language at the centre of the ESLint rewrite argument we covered. The skills directory follows the same file-first idea as Matt Pocock's skills repository.
We found no OpenAI blog post announcing mcpfs. With no tagged release, the first version number is the next thing to watch.
Sources
More in Software
- 01Tinybrowser Fits a Headless Browser Into 19 MB of Rust, Without a JITThe MIT-licensed project reports passing 70.4 percent of Web Platform Tests subtests, and its README says sandboxing is not battle-tested.
- 02CleanYourTV Debloats Android TVs With an ADB Prompt for Claude CodeThe MIT-licensed project has 63.4k stars, and its own README lists package names whose removal can break Home or delete a saved Wi-Fi network.
- 03Chrome DevTools MCP Sends Usage Statistics Unless You Opt OutThe Apache-2.0 server for coding agents has 61.0k stars, and three separate settings control what it sends to Google and the npm registry.
- 04Play Integrity's Device Label Demands a Certified OS Image, and GrapheneOS Fails ItGoogle's documentation requires hardware proof of a locked bootloader and a manufacturer-certified image, while GrapheneOS asks apps to allow-list its signing keys instead.