D
developerscompany/lmstudio-mcp
Claude Code plugin and MCP server for LM Studio: server, models and context length, sessions, background…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"developerscompany-lmstudio-mcp": {
"command": "npx",
"args": ["-y", "github:developerscompany/lmstudio-mcp#v0.1.1"]
}
}
}解析自我们于 2026-11-11 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"developerscompany-lmstudio-mcp": {
"command": "npx",
"args": ["-y", "github:developerscompany/lmstudio-mcp#v0.1.1"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio developerscompany-lmstudio-mcp -- npx -y github:developerscompany/lmstudio-mcp#v0.1.1
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · developerscompany/lmstudio-mcp · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-12 · 最近见到 2026-11-14 · 共见到 3 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 1 个来源 · repo
- 安装
npx -y github:developerscompany/lmstudio-mcp#v0.1.1
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npx -y github:developerscompany/lmstudio-mcp#v0.1.1。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
developerscompany/lmstudio-mcp;我们收录于 2026-11-12;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# LM Studio for Claude Code
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Let Claude Code run your LM Studio: start and stop the server, load and unload models with the context length they need, keep conversations with local models going, hand them long jobs in the background and follow their progress.
It is a Claude Code plugin with one small MCP server: a single file with no dependencies that needs only Node.js 20 or newer. The server also works with any other MCP client.
> Not affiliated with LM Studio or Element Labs.
## What you can ask
"Is LM Studio running? What's loaded right now?"
"Always load qwen3.8 with a 256k context."
"Will gpt-oss-120b fit in memory with a 64k context?"
"Start a session with the local model as a code reviewer, then send it these files one by one."
"Run this analysis on the local model in the background and tell me when it's done."
"How full is the context of that session? Compact it."
"Download granite-4-micro and tell me when it's done."
"Unload everything, I need the RAM."
## Install
bash
claude plugin marketplace add developerscompany/lmstudio-mcp
claude plugin install lmstudio@lmstudio-mcp
Or inside Claude Code: /plugin marketplace add developerscompany/lmstudio-mcp, then /plugin install lmstudio@lmstudio-mcp. Start a new session (or run /reload-plugins) and check /mcp.
Third-party marketplaces don't update automatically by default. Update with claude plugin update lmstudio@lmstudio-mcp, or turn on auto-update in /plugin → Marketplaces.
Requirements
LM Studio 0.4 or newer (REST API v1), or LM Studio Bionic
Node.js 20 or newer (tested on 20, 22, 24 and 26)
The lms CLI that ships with LM Studio, for starting and stopping the server, memory estimates and loads with TTL or GPU settings. Everything else works over the API alone.
## Tools
| Group | Tools | What they do |
| Server | server_status, server_start, server_stop | Reachability, URL in use, loaded models with TTL, running tasks; start or stop the API server (localhost only) |
| Models | list_models, estimate_load, load_model, unload_model | Downloaded and loaded models; memory needed before loading; load with context length, TTL, GPU offload, parallel slots, flash attention; unload one or all |
| Context | model_defaults | Per-model load settings (context length, TTL, GPU, parallel) used by every load |
| Downloads | download_model, download_status | Download from the LM Studio catalog or a Hugging Face URL and follow the progress |
| Sessions | session_start, session_send, session_get, session_compact, session_delete | Conversations with a local model that keep their history, with context use after every answer |
| Tasks | task_start, task_status, task_cancel | Run a prompt in the background, follow its progress, wait for the result or stop it |
| One-off | chat, embed | A single prompt (optionally with images) without history; embeddings with a similarity matrix |
## Sessions, context and tasks
Context control. model_defaults stores the settings a model should always be loaded with, for example context_length: 262144 for a model that only works well with its full context. load_model, chat, sessions and tasks use them whenever a call doesn't say otherwise. A session never runs on an instance with less context than it needs: if the model is loaded with a smaller context, the call stops and asks for reload: true, which unloads it and loads it again. load_model keeps a model that is already loaded unless you pass replace: true, and parallel calls for a model that isn't loaded yet wait for one load, so a second copy of a 90 GB model is never loaded by accident. A model that a session request or task is using is never unloaded or reloaded under it.
It is a Claude Code plugin with one small MCP server: a single file with no dependencies that needs only Node.js 20 or newer. The server also works with any other MCP client.
> Not affiliated with LM Studio or Element Labs.
## What you can ask
"Is LM Studio running? What's loaded right now?"
"Always load qwen3.8 with a 256k context."
"Will gpt-oss-120b fit in memory with a 64k context?"
"Start a session with the local model as a code reviewer, then send it these files one by one."
"Run this analysis on the local model in the background and tell me when it's done."
"How full is the context of that session? Compact it."
"Download granite-4-micro and tell me when it's done."
"Unload everything, I need the RAM."
## Install
bash
claude plugin marketplace add developerscompany/lmstudio-mcp
claude plugin install lmstudio@lmstudio-mcp
Or inside Claude Code: /plugin marketplace add developerscompany/lmstudio-mcp, then /plugin install lmstudio@lmstudio-mcp. Start a new session (or run /reload-plugins) and check /mcp.
Third-party marketplaces don't update automatically by default. Update with claude plugin update lmstudio@lmstudio-mcp, or turn on auto-update in /plugin → Marketplaces.
Requirements
LM Studio 0.4 or newer (REST API v1), or LM Studio Bionic
Node.js 20 or newer (tested on 20, 22, 24 and 26)
The lms CLI that ships with LM Studio, for starting and stopping the server, memory estimates and loads with TTL or GPU settings. Everything else works over the API alone.
## Tools
| Group | Tools | What they do |
| Server | server_status, server_start, server_stop | Reachability, URL in use, loaded models with TTL, running tasks; start or stop the API server (localhost only) |
| Models | list_models, estimate_load, load_model, unload_model | Downloaded and loaded models; memory needed before loading; load with context length, TTL, GPU offload, parallel slots, flash attention; unload one or all |
| Context | model_defaults | Per-model load settings (context length, TTL, GPU, parallel) used by every load |
| Downloads | download_model, download_status | Download from the LM Studio catalog or a Hugging Face URL and follow the progress |
| Sessions | session_start, session_send, session_get, session_compact, session_delete | Conversations with a local model that keep their history, with context use after every answer |
| Tasks | task_start, task_status, task_cancel | Run a prompt in the background, follow its progress, wait for the result or stop it |
| One-off | chat, embed | A single prompt (optionally with images) without history; embeddings with a similarity matrix |
## Sessions, context and tasks
Context control. model_defaults stores the settings a model should always be loaded with, for example context_length: 262144 for a model that only works well with its full context. load_model, chat, sessions and tasks use them whenever a call doesn't say otherwise. A session never runs on an instance with less context than it needs: if the model is loaded with a smaller context, the call stops and asks for reload: true, which unloads it and loads it again. load_model keeps a model that is already loaded unless you pass replace: true, and parallel calls for a model that isn't loaded yet wait for one load, so a second copy of a 90 GB model is never loaded by accident. A model that a session request or task is using is never unloaded or reloaded under it.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/developerscompany-lmstudio-mcp/)
- 来源
- github · https://github.com/developerscompany/lmstudio-mcp
- 按领域浏览
- 开源项目
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。