Serverdex · client guide

MCP servers for LM Studio

LM Studio is a desktop app for running local LLMs on macOS, Windows and Linux; starting with version 0.3.17 it acts as an MCP Host so you can connect local and remote MCP servers and use them with local models.Every setup fact on this page was read from LM Studio's own documentation on 21 November 2026 (sources at the end). Server data comes from the live Serverdex index of the official MCP registry.

What LM Studio supports

from the docs, 21 November 2026
Tools
✓ documented
Resources
– not stated
Prompts
– not stated
Elicitation
– not stated

Transports: Local servers (spawned as a separate process; npx/uvx must be on PATH) and remote servers (url + headers) in Cursor's mcp.json notation; the docs do not name the wire transports and show only a remote (url) example.. Remote servers and auth: Yes — url + headers in mcp.json, or one-click via the lmstudio://add_mcp?name=...&config=<base64 JSON> deeplink ("Add to LM Studio" button).. Full matrix with every client on /mcp-clients.

Where the configuration lives

  • mcp.json lives in ~/.lmstudio/mcp.json on macOS and Linux, and in %USERPROFILE%/.lmstudio/mcp.json on Windows.
  • In the app: switch to the "Program" tab in the right-hand sidebar, then click Install > Edit mcp.json — the file opens in the in-app editor (recommended way to edit it).
  • LM Studio currently follows Cursor's mcp.json notation (top-level "mcpServers" object).
  • Always-allowed tools are managed in App Settings > Tools & Integrations.

Add a server to LM Studio

Remote server with bearer header — mcp.json (Hugging Face example from the docs)

{
  "mcpServers": {
    "hf-mcp-server": {
      "url": "https://huggingface.co/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_HF_TOKEN>"
      }
    }
  }
}

Server entry for the "Add to LM Studio" link generator (no mcpServers wrapper)

{
  "hf-mcp-server": {
    "url": "https://huggingface.co/mcp",
    "headers": {
      "Authorization": "Bearer <YOUR_HF_TOKEN>"
    }
  }
}

Deeplink format (name + base64-encoded JSON config)

lmstudio://add_mcp?name=hf-mcp-server&config=eyJ1cmwiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8WU9VUl9IRl9UT0tFTj4ifX0%3D

For a specific server, open its Serverdex page: the “Connect this server” block has the config with the real package name, arguments and environment variables from the registry. Any server, any client: MCP config generator.

Hosted (remote) servers in LM Studio

  • Open the "Program" tab in the right-hand sidebar → Install > Edit mcp.json.
  • Add an entry under "mcpServers" with "url" set to the server endpoint and, if needed, a "headers" object (e.g. "Authorization": "Bearer <TOKEN>"); when adding manually, copy only the content after "mcpServers": { and before the closing }.
  • Save the file — LM Studio automatically loads the MCP servers defined in it.
  • Alternatively click the server's "Add to LM Studio" button (lmstudio://add_mcp?name=<name>&config=<base64 JSON>), when the vendor provides one.

Hosted servers that answered the Serverdex live check with no credentials at the last pass (most-starred first; full list with check times):

Browser Use

browser-use

Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.

Search & WebLive★ 122kAdded Oct 2026

Labelhead Artist Momentum

paperclipai

Trending hip-hop artist momentum scores across four cultural dimensions.

OtherLive★ 117kAdded Apr 2026

Front-End Checklist

thedaviddias

Review frontend code and live pages against 386 quality-gated web development rules.

ProductivityLive★ 75kAdded Oct 2026

Context7

upstash

Up-to-date docs for AI agents

Documents & KnowledgeLive★ 65kAdded yesterday

Tldraw

tldraw

Draw and visually collaborate with your agents on tldraw's canvas.

OtherLive★ 52kAdded Mar 2026

Oh My Posh Validator

JanDeDobbeleer

Validate oh-my-posh configurations and segment snippets against the official schema.

Crypto & Web3Live★ 24kAdded Oct 2026

Compiler Explorer

compiler-explorer

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

Developer ToolsLive★ 19kAdded Aug 2026

GitDiagram

ahmedkhaleel2004

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

Developer ToolsLive★ 19kAdded Sep 2026

Spree Commerce developer docs for AI agents

spree

Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.

Developer ToolsLive★ 16kAdded 3 weeks ago

AIHOT

KKKKhazix

Chinese AI news: search topics, explore hot events, and read daily, weekly and monthly briefs.

Content & PublishingLive★ 11kAdded Oct 2026

Finance Database

JerBouma

Equities, ETFs, indices, currencies and cryptos, categorised.

DatabasesLive★ 9.6kAdded 1 week ago

Firecrawl MCP Server

firecrawl

Firecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.

Search & WebLive★ 7.9kAdded 6 days ago

Find servers for LM Studio by job or by product

Every server page carries the config in the LM Studio shape, the repository's last push and licence, and the live-check result.

Best MCP servers by categoryMCP servers by productComparisonsRemote servers answering now

What the docs say to watch for

  • Requires LM Studio 0.3.17 (build 10 or later); MCP has been enabled by default since build 9 of that release.
  • Each MCP server is spawned as a separate process; local servers that rely on npx or uvx (or any other program) need those tools installed and available in the system PATH.
  • When a model calls a tool, LM Studio shows a confirmation dialog where you can review and edit the arguments, then allow once or always allow that tool; always-allowed tools are managed under App Settings > Tools & Integrations.
  • Some MCP servers were designed for Claude, ChatGPT or Gemini and may use excessive amounts of tokens, which can bog down a local model and trigger frequent context overflows.
  • Security: never install MCPs from untrusted sources — some servers can run arbitrary code, access local files and use the network connection.
  • UNVERIFIED: neither lmstudio.ai/docs/app/mcp nor the launch blog post shows a local (command/args) config example; the docs only state that local servers are supported and that LM Studio follows Cursor's mcp.json notation. No local stdio snippet is included here for that reason.
  • Bugs are reported at https://github.com/lmstudio-ai/lmstudio-bug-tracker/issues.

Server not showing up or stuck on loading tools? The troubleshooting guide goes through the causes in order.

LM Studio and MCP: questions people ask

Where is the LM Studio MCP config file?
mcp.json lives in ~/.lmstudio/mcp.json on macOS and Linux, and in %USERPROFILE%/.lmstudio/mcp.json on Windows. In the app: switch to the "Program" tab in the right-hand sidebar, then click Install > Edit mcp.json — the file opens in the in-app editor (recommended way to edit it). LM Studio currently follows Cursor's mcp.json notation (top-level "mcpServers" object). Always-allowed tools are managed in App Settings > Tools & Integrations.
Does LM Studio support remote (hosted) MCP servers?
Yes. Open the "Program" tab in the right-hand sidebar → Install > Edit mcp.json. Add an entry under "mcpServers" with "url" set to the server endpoint and, if needed, a "headers" object (e.g. "Authorization": "Bearer <TOKEN>"); when adding manually, copy only the content after "mcpServers": { and before the closing }. Save the file — LM Studio automatically loads the MCP servers defined in it. Alternatively click the server's "Add to LM Studio" button (lmstudio://add_mcp?name=<name>&config=<base64 JSON>), when the vendor provides one. Transports per its docs: Local servers (spawned as a separate process; npx/uvx must be on PATH) and remote servers (url + headers) in Cursor's mcp.json notation; the docs do not name the wire transports and show only a remote (url) example.; remote and auth: Yes — url + headers in mcp.json, or one-click via the lmstudio://add_mcp?name=...&config=<base64 JSON> deeplink ("Add to LM Studio" button)..
Which MCP features does LM Studio support?
Per its own documentation (read https://lmstudio.ai/docs/app/mcp): tools documented, resources not stated, prompts not stated, elicitation not stated, roots not stated, sampling not stated. "Not stated" means the docs are silent, not that the feature is missing.
Which MCP servers should I add to LM Studio first?
Pick by the job you need done: the Serverdex guides rank servers by GitHub stars within each category, with last push, licence and live check for each, and the product pages list every server for a given tool (Postgres, Notion, Slack, GitHub…). The hosted servers on this page answered our credential-free MCP handshake at the last check. Then copy the config from the server's page in the LM Studio shape.

Sources

Other clients: Claude Desktop · Claude Code · Cursor · VS Code · Cline · Windsurf · Zed · JetBrains AI Assistant · Continue · OpenAI Codex CLI · Antigravity · OpenCode · Hermes Agent · Gemini CLI.