hn.today

OpenAI mcpfs: MCP Filesystem Tools

github.com121 points58 comments
Screenshot of OpenAI mcpfs: MCP Filesystem Tools

mcpfs exposes one or more Model Context Protocol (MCP) servers as a read-only filesystem, letting developers inspect resources and skill files with ordinary Unix tools and invoke server tools as shell commands. It supports local Linux FUSE mounts and sharing with a Linux guest through vhost-user virtio-fs. A mount discovers each server’s catalog at startup, then presents resources, skills and tools in predictable directories; merged views combine multiple servers, prefixing duplicate tool names with their server names. Resources and skill files are read as data, while tool scripts include schema-based help and accept either named command-line options or JSON. A local search command matches catalog names and descriptions without contacting the server.

The project is a developer demo, not production software, and should be used only with trusted servers: discovery happens immediately and a slow or faulty server can delay the whole mount. Bearer tokens should be sent only over HTTPS; processes able to run mounted tools can use the backend’s MCP credentials. Discovery is paginated and occurs once per server, so refreshing names requires remounting. The implementation caches resource and skill contents, verifies skill-file digests and sizes, and imposes catalog limits of 262,144 projected filesystem nodes and 64 MiB across all servers. Rust builds provide separate FUSE, virtio-fs and guest-helper binaries; the guest-side setup requires the helper and Bash to execute tools. Prompts, interactive OAuth, sampling and elicitation are not represented in the filesystem.

Read on github.com58 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.