OpenAI mcpfs Mounts MCP Servers as Folders: We Built and Tested the Demo

OpenAI quietly released mcpfs, a demo that mounts MCP servers as a read-only folder: tools become shell scripts, resources become files. We built it, mounted OpenAI's docs server and measured what an agent sees, plus why read-only does not mean harmless.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 5 min read
Share
Abstract terminal with a folder tree branching into tool icons connected to a server, illustrating OpenAI mcpfs mounting MCP servers as a filesystem
Image: AI-generated, i10X
On this page
  1. What mcpfs is
  2. How MCP maps to files
  3. Our test: building and mounting it
  4. "Read-only" does not mean harmless
  5. One step further: Why files: the context problem behind mcpfs
  6. Who should try it
  7. i10x Perspective

OpenAI has published mcpfs, an open-source tool that mounts one or more MCP servers as a read-only folder. An MCP server’s tools appear as executable scripts, its resources as files and its skills as directories with a SKILL.md, so an agent, or a person, can work with them using ls, cat and the shell instead of JSON tool calls. OpenAI calls it “a developer demo” that “is not production ready”. We built it and mounted OpenAI’s public docs server to see how it behaves.

What mcpfs is

The repository went public with a single commit titled “Initial public release” on December 1 (23:51 CET) and reached the Hacker News front page on Saturday. It is written in Rust under the Apache 2.0 licence, version 0.1.0, with about 6,700 lines of Rust outside the tests (our count). It ships three binaries:

  • mcpfs-fusefs mounts servers locally through Linux FUSE.
  • mcpfs-virtiofs serves the same view to a Linux virtual machine over vhost-user virtio-fs, for example in QEMU.
  • mcpfs is the small helper that runs inside the guest and turns a tool call into a request to the host.

One mount can combine several servers, remote ones over Streamable HTTP or local ones over stdio. Name clashes are resolved with prefixes such as tools/docs:search.

How MCP maps to files

The layout is simple. For each server you get up to three folders plus a search script:

  • tools/ holds one Bash script per tool. Opening it as text shows the tool’s name, description and JSON schema in comments; running it with --help prints a manual; running it with named options or a JSON object calls the tool and writes the result to stdout.
  • resources/ holds the server’s resources as files, fetched when opened and cached for up to 30 seconds.
  • skills/ holds skills from the MCP Skills extension, with SHA-256 digests checked on open.
  • search looks up names and descriptions locally, without an MCP request.

Prompts, sampling, interactive elicitation and interactive OAuth have no file mapping. New tools or changed schemas only show up after a remount.

Our test: building and mounting it

We tested mcpfs on December 5 on a Debian 13 Linux machine. The first build failed: the dependency rmcp 3.6.0 needs Rust 1.88 and uuid 1.29.2 needs Rust 1.89, while Debian ships Rust 1.85.1. With the current stable toolchain (1.100.1) and OpenSSL headers in place, the release build of all three binaries took 28 seconds.

Test step (December 5, 2026)Result
Build with Debian 13 Rust 1.85.1Failed: dependencies need Rust 1.88 and 1.89
Release build with Rust 1.100.128 seconds, three binaries
Mount OpenAI docs MCP server (FUSE)5 tool scripts plus search script
search_openai_docs callAnswer in 0.19 seconds
list_api_endpoints call261 API paths
Write into the mountRejected: read-only file system
Tool list as JSON vs ls tools3,224 bytes vs 89 bytes

Source: i10X test on a Debian 13 Linux machine, December 5, 2026, mcpfs initial release (commit 48b359f).

The mount of https://developers.openai.com/mcp was ready within our eight-second wait. The folder then showed five tool scripts and the search script. A search for “Responses API streaming” came back in 0.19 seconds, list_api_endpoints returned 261 API paths, and fetching a docs page returned clean Markdown. Writing a file into the mount failed with “Read-only file system”, as intended.

The size comparison shows the idea behind the design. The full JSON tool list of this server is 3,224 bytes. The tool names an agent sees with ls tools take 89 bytes, and it only needs to open the help of the one tool it wants. With five small tools the saving is minor; on servers with dozens of tools it adds up.

“Read-only” does not mean harmless

The filesystem is read-only, the tools are not. Running a script executes the real tool on the server, with the credentials of the process that mounted it. The README warns that “a process that can execute the mounted tools can act with the backend’s MCP credentials”. Three more details matter for anyone who wants to try it:

  • Timeouts: mcpfs starts cancelling a tool call after five seconds without a response, and “a timed-out tool may already have changed remote state”.
  • Tokens: bearer tokens come from an environment variable. Over plain http://, mcpfs sends them unencrypted, so OpenAI recommends an https:// endpoint whenever a token is used.
  • Startup: mounting reads the full catalog of every server right away, so one slow server delays the whole mount.

In the virtual machine setup, the token stays with the host process, but anything inside the guest that can run the scripts can still use it. OpenAI’s advice is to mount only servers you trust, which fits our earlier coverage of MCP clients exposed to hostile servers.

One step further: Why files: the context problem behind mcpfs

mcpfs is the latest answer to a known cost of MCP: every tool definition loaded into an agent’s context costs tokens before any work is done. On September 26, 2025, Cloudflare tackled it with Code Mode, turning MCP tools into a TypeScript API that the model writes code against. Anthropic followed on November 4, 2025, with code execution with MCP, presenting tools as files the agent explores on demand; in its example, token use fell from 150,000 to 2,000, a saving of 98.7 %.

mcpfs goes one step lower. There is no generated code layer, just Unix files, --help pages and exit codes, which models already know from countless shell sessions. Any agent that can run shell commands can in principle use it without an MCP client of its own. Our own measurement on the docs server (89 bytes for the tool list versus 3,224 bytes of schemas) shows the same mechanism on a small scale. Anthropic took a related route on the server side with Skills over MCP. Whether OpenAI uses mcpfs in its own products, such as Codex, is not disclosed: the repository does not say, and there is no announcement.

Who should try it

  • Agent and sandbox builders on Linux who want to give a VM or container access to MCP tools without putting an MCP client and tokens inside it.
  • Developers debugging MCP servers, who get a quick way to browse tools, schemas and resources with standard Unix tools.
  • Not for production: it is a demo, Linux only, and the first release needs a newer Rust than many distributions ship.

How we checked

Checked on 5 December 2026, 22:50 CET.

  • The mcpfs repository, README and Cargo files at the initial commit of December 1, 2026
  • Our own build on Debian 13 (Rust 1.85.1 failed, Rust 1.100.1 succeeded) and a FUSE mount of OpenAI’s public docs MCP server, including search, tool calls and a write attempt
  • A direct tools/list request to the same server for the byte comparison
  • Cloudflare’s Code Mode post and Anthropic’s code execution post for the background figures

i10x Perspective

mcpfs is small, but it points somewhere interesting. If MCP servers can look like folders, the agent’s most basic skill, using a shell, becomes the universal client. That lowers context costs and makes sandboxes easier to wire up. The flip side is that a harmless-looking ls now sits next to scripts that can send email or change data with your credentials. OpenAI is right to call it a demo. Builders should treat the read-only label as a statement about files, not about consequences.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Timeline

What happened before

  1. Release

    GPT-6.2 Sol

    1.05M context · $2 / $10 per 1M tokens

    developers.openai.com (source, opens in a new tab)
  2. Release

    GPT-6.2 Astra

    1.05M context · $8 / $40 per 1M tokens

    developers.openai.com (source, opens in a new tab)
  3. Release

    GPT-6 Cyber

    1.05M context · $20 / $100 per 1M tokens

    developers.openai.com (source, opens in a new tab)
  4. Release

    GPT-6 Rosalind

    $10 / $50 per 1M tokens

    developers.openai.com (source, opens in a new tab)
  5. Release

    GPT-6.1 Terra

    1.05M context · $1 / $5 per 1M tokens

    openai.com (source, opens in a new tab)
Full OpenAI timeline ›

Editor's picks

  1. OpenAI mcpfs Mounts MCP Servers as Folders: We Built and Tested the Demo
  2. Irish DPC Rules Out AI Training on Private Messages: What 4 Assistants Promise
  3. Copilot Code Review Max Tier: Eight AI Reviewers From Two Labs, $10 a Review
  4. OpenSSH Drops Ed25519 as Default Key for P-384 and Post-Quantum Hybrids
  5. Grok Bot Apple Health Connector: What It Reads and What Its Privacy Policy Says