Filesystem MCP in LM Studio

Install + handshake last tested 2026-12-02 UTC · 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 UTC. 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.

Token-cost estimates

Method: token_cost estimate (tiktoken cl100k_base). Cost for the allowlist subset alone: the figure is pending.

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)

Related: Best MCP servers for small local models · All local-model guides and results.

FAQ

Does Filesystem (reference) work with local models?

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

How many tools does it expose?

Filesystem (reference): 16 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.