{"slug": "give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio", "title": "Give your AI agent a real local drive — MeshDrive 2.0 + MCP (stdio)", "summary": "Vistrix Labs released MeshDrive 2.0, a local-first Linux storage layer built on JuiceFS and SQLite metadata that ships a free MCP server letting AI agents list, read, and write files only within an isolated root directory. The release supports Cursor, Claude Code, and Hermes via stdio transport, with a terminal UI, loopback Filebrowser interface, and no cloud requirement for the free tier. The company says \"MeshDrive MCP works today with Cursor, Claude Code, and Hermes via stdio.", "body_md": "_ Local-first JuiceFS storage for Linux, with MCP tools for Cursor, Claude Code, and Hermes.\n\n_\n\nMost AI agents can read files — but only if you point them at random folders on your laptop. That’s fragile, hard to isolate, and useless when you want **durable storage** (multi-volume, quotas, web UI) that agents can use safely.\n\n**MeshDrive** is a local-first Linux storage layer (JuiceFS + SQLite metadata) with a terminal UI, loopback Filebrowser, and a **free MCP server** so agents can list, read, and write files **only inside an isolated root** (/opt/meshdrive by default).\n\nNo cloud required for the free tier.. Your data stays on your disks.\n\nGitHub:[vix-gateway/MeshDrive](https://github.com/Hardik94/vix-gateway/tree/master) \n\nDocs: [MCP clients guide](https://github.com/Hardik94/vix-gateway/blob/master/meshdrive/docs/mcp-clients.md)\n\n**Requirements:** Ubuntu/Debian amd64, FUSE, Python 3.10+, outbound HTTPS on first install.\n\n`curl https://github.com/Hardik94/vix-gateway/releases/download/v2.0.0/meshdrive_2.0.0_amd64.deb`\n\n`sudo dpkg -i meshdrive_2.0.0_amd64.deb`\n\n**Verify:**\n\n```\nmeshdrive doctor\nmeshdrive status\nsudo systemctl status meshdrive-agent\n```\n\n**Create storage (one-time)**\n\n`meshdrive-tui`\n\nIn the TUI: **Storage → Add backend → Mount**. Then open Filebrowser: [http://127.0.0.1:8080](http://127.0.0.1:8080)\n\n`sudo meshdrive-addons install mcp`\n\n**Smoke test** (no LLM needed — proves MCP works):\n\n/opt/meshdrive/venv/bin/python packaging/mcp-smoke-test.py --stdio\n\nYou should see: tools (8) and health_check → PASS.\n\nRun **Cursor on the same machine** as MeshDrive (or use SSH — see below).\n\nCreate .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):\n\n```\n{\n  \"mcpServers\": {\n    \"meshdrive\": {\n      \"command\": \"/opt/meshdrive/bin/meshdrive-mcp\",\n      \"args\": [],\n      \"env\": {\n        \"MESHDRIVE_ROOT\": \"/opt/meshdrive\",\n        \"MESHDRIVE_MCP_TRANSPORT\": \"stdio\"\n      }\n    }\n  }\n}\n```\n\n**Why stdio?** Cursor’s URL mode often uses Streamable HTTP. MeshDrive’s HTTP mode is legacy SSE (GET /sse + POST /messages/). **stdio avoids that mismatch entirely.**\n\n```\n{\n  \"mcpServers\": {\n    \"meshdrive\": {\n      \"command\": \"ssh\",\n      \"args\": [\n        \"user@YOUR_SERVER_IP\",\n        \"MESHDRIVE_ROOT=/opt/meshdrive\",\n        \"MESHDRIVE_MCP_TRANSPORT=stdio\",\n        \"/opt/meshdrive/bin/meshdrive-mcp\"\n      ]\n    }\n  }\n}\n```\n\nSet up passwordless SSH first (`ssh-copy-id`).\n\nOn the MeshDrive host:\n\n```\nclaude mcp add meshdrive \\\n  --env MESHDRIVE_ROOT=/opt/meshdrive \\\n  -- /opt/meshdrive/bin/meshdrive-mcp\n\nclaude mcp list\n```\n\nIn a session: “*Call meshdrive health_check and list_storage_backends.*”\n\nProject-level config (**.mcp.json**) — same JSON as Cursor’s **mcpServers** block.\n\n**Run Hermes on the MeshDrive machine** (same host as Ollama). Do not use HTTP/SSE for local models — many never trigger tool_calls.\n\n```\n~/.hermes/config.yaml:\nmcp_servers:\n  meshdrive:\n    command: /opt/meshdrive/bin/meshdrive-mcp\n    args: []\n    env:\n      MESHDRIVE_ROOT: /opt/meshdrive\n      MESHDRIVE_MCP_TRANSPORT: stdio\n    enabled: true\n```\n\n`hermes mcp test meshdrive`\n\nUse a model with solid function-calling (e.g. Qwen2.5, Llama 3.1+). Set context ≥ 8192 so tool schemas aren’t truncated.\n\n```\n~/.hermes/config.yaml:\nmcp_servers:\n  meshdrive:\n    url: \"http://localhost:9000/sse\"\n    transport: sse\n    enabled: true\n    connect_timeout: 30\n```\n\n**Release message:** “*MeshDrive MCP works today with Cursor, Claude Code, and Hermes via stdio.*”\n\n```\n    AI client (stdio) → meshdrive-mcp → isolated paths under /opt/meshdrive → JuiceFS mounts\n```\n\nHumans use Filebrowser; agents use MCP. Same storage, different interfaces.\n\n**Try it**\n\n**Issues & feedback:** GitHub Issues on that repo.\n\nMeshDrive 2.0 — local-first storage for the agentic era. Built by Vistrix Labs.", "url": "https://wpnews.pro/news/give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio", "canonical_source": "https://dev.to/hardikprl94/give-your-ai-agent-a-real-local-drive-meshdrive-20-mcp-stdio-472a", "published_at": "2026-09-13 13:40:34+00:00", "updated_at": "2026-09-13 14:09:48.480779+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-infrastructure", "developer-tools"], "entities": ["Vistrix Labs", "MeshDrive", "JuiceFS", "Cursor", "Claude Code", "Hermes", "SQLite", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio", "markdown": "https://wpnews.pro/news/give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio.md", "text": "https://wpnews.pro/news/give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio.txt", "jsonld": "https://wpnews.pro/news/give-your-ai-agent-a-real-local-drive-meshdrive-2-0-mcp-stdio.jsonld"}}