LLM exposed as a 9P filesystem
MCPpedia last refreshed this data
Llm9p is an MCP server that LLM exposed as a 9P filesystem. Its tool list has not been published yet over stdio, requires no API key, and scores 35/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"llm9p": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
llm9p enables users, scripts, and AI agents to interact with Large Language Models through standard filesystem operations. Write a prompt to a file, read the response from the same file. Supports multiple backends including Anthropic API, Claude Code CLI, and local LLMs (planned).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml
A cross-platform desktop application for managing AI Agents and MCP Servers. 一款用于管理AI智能体与MCP服务器的跨平台桌面应用程序。
An open-source AI agent that brings the power of Gemini directly into your terminal.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
MCP Security Weekly
Get CVE alerts and security updates for Llm9p and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
LLM access via the 9P filesystem protocol.
llm9p enables users, scripts, and AI agents to interact with Large Language Models through standard filesystem operations. Write a prompt to a file, read the response from the same file. Supports multiple backends including Anthropic API, Claude Code CLI, and local LLMs (planned).
| Backend | Status | Description |
|---|---|---|
| Anthropic API | Available | Direct API access with your API key |
| Claude Code CLI | Available | Uses Claude Max subscription via claude command |
| Local LLMs (Ollama) | Planned | Run models locally without cloud dependencies |
The pluggable backend architecture makes it easy to add new LLM providers.
9P is a simple, lightweight network filesystem protocol originally developed for Plan 9 from Bell Labs. It lets you access remote resources as if they were local files. This means you can interact with LLMs using basic file operations (cat, echo, >, <) instead of SDKs or HTTP APIs.
Why use 9P for LLM access?
go install github.com/NERVsystems/llm9p/cmd/llm9p@latest
Or build from source:
git clone https://github.com/NERVsystems/llm9p
cd llm9p
go build -o llm9p ./cmd/llm9p
Option A: Using Anthropic API (requires API key)
export ANTHROPIC_API_KEY=sk-ant-...
./llm9p -addr :5640
Option B: Using Claude Max Subscription (via Claude Code CLI)
If you have a Claude Max subscription and the Claude Code CLI installed:
./llm9p -addr :5640 -backend cli
This uses your Claude Max subscription instead of API tokens. No API key required.
Requirements for CLI backend:
claude command available)There are several ways to mount the filesystem depending on your environment.
plan9port provides Plan 9 tools for Unix systems.
# Install on macOS
brew install plan9port
# Install on Debian/Ubuntu
sudo apt-get install 9base
# Mount using 9pfuse
mkdir -p /mnt/llm
9pfuse localhost:5640 /mnt/llm
# Or use the 9p tool directly (no mount needed)
9p -a localhost:5640 ls llm
9p -a localhost:5640 read llm/model
9p -a localhost:5640 write llm/ask "What is 2+2?"
9p -a localhost:5640 read llm/ask
Infernode is a hosted Inferno OS environment with native 9P support. This is an excellent way to explore 9P filesystems.
# Start infernode
cd /path/to/infernode
./emu
# Inside infernode shell, mount llm9p
# Note: Use IP address 127.0.0.1, not "localhost"
mkdir /n/llm
mount -A tcp!127.0.0.1!5640 /n/llm
# List available files
ls -l /n/llm
# Check current model
cat /n/llm/model
# Ask a question
echo 'What is the capital of France?' > /n/llm/ask
cat /n/llm/ask
# View conversation history
cat /n/llm/context
# Reset conversation
echo reset > /n/llm/new
Infernode Tips:
127.0.0.1 instead of localhost for the server addressmkdir /n/llm before mounting-A flag to mount enables anonymous authentication (no auth required)Linux has built-in 9P filesystem support via the 9p kernel module.
# Mount via kernel 9p module
sudo mount -t 9p -o port=5640,version=9p2000 localhost /mnt/llm
# Ask a question
echo "What is 2+2?" >
... [View full README on GitHub](https://github.com/NERVsystems/llm9p#readme)