This page contains no affiliate links.

Filesystem MCP in LM Studio

Install + handshake last tested 2026-10-22 · Local-model tests: Not yet tested

Client: LM Studio (MCP host since 0.3.17). Client versions and features come from vendor docs, checked 2026-10-22. We haven't run this setup end-to-end yet.

Prerequisites

Steps

  1. Open LM Studio > Program > Install > Edit mcp.json.
  2. Paste the config below (Cursor-style mcpServers notation) and replace /tmp with your folder.
  3. Enable only the tools you need; start read-only.

Config

{
  "mcpServers": {
    "filesystem-reference": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/tmp"
      ]
    }
  }
}

Suggested tool allowlist

Picked from the real tool names in our test; whether a small model succeeds with them is not yet tested.

Measured context cost

Method: tiktoken cl100k_base over compact JSON of name+description+inputSchema (approximate). Cost for the allowlist subset alone: not yet measured.

Success rates on small models

These were our own task runs, with all tools exposed. The setup on this page (client, model, allowlist) hasn't been run end-to-end.

Known failure modes (community-reported, not measured by us)

FAQ

Does Filesystem (reference) work with local models?

In our small-model runs (not this exact setup): Filesystem (reference): qwen2.5-3b-instruct-q4km completed 100% of 3 runs; qwen2.5-1.5b-instruct-q4km completed 100% of 3 runs.

How many tools does it expose?

Filesystem (reference): 14 tools in our tools/list test.

Why limit the tools?

Community reports say small models choose the wrong tool or emit malformed arguments when shown many tools. We haven't measured this yet.

Are there affiliate links on this page?

No.