mcp-file-system-lmstudio
mcp-file-system-lmstudio
ローカルのLM Studioモデルをツールとして公開するModel Context Protocol (MCP)サーバーです。LM StudioのOpenAI互換APIと通信するため、LM Studioに読み込まれた任意のモデルをMCPクライアントからクエリできます。
特徴
lmstudio_chat— プロンプト(または完全なマルチターン会話履歴)をローカルモデルに送信し、その応答を取得しますlmstudio_list_models— LM Studioサーバーで現在利用可能なすべてのモデルを一覧表示しますAPIキーは不要です — すべてがお使いのLM Studioインスタンスに対してローカルで実行されます
Related MCP server: LM Studio MCP Bridge
要件
Node.js >= 18(組み込みの
fetchを使用)少なくとも1つのモデルが読み込まれた状態で実行中のLM Studioサーバー
LM StudioサーバーはUI(Developerタブ→ Start Server)から起動します。デフォルトではhttp://localhost:1234で待ち受けます。
インストール
git clone https://github.com/developersorli/mcp-file-system-lmstudio.git
cd mcp-file-system-lmstudio
npm install設定
サーバーは2つのオプションの環境変数を読み取ります:
変数 | デフォルト | 説明 |
|
| LM StudioのOpenAI互換APIのベースURL |
| (自動) | デフォルトのモデルID。未設定の場合は、利用可能な最初のモデルが使用されます |
MCPクライアント設定
Cline / Claude Desktopスタイルのクライアントの例:
{
"mcpServers": {
"mcp-file-system-lmstudio": {
"command": "node",
"args": ["/absolute/path/to/mcp-file-system-lmstudio/index.mjs"],
"env": {
"LMSTUDIO_BASE_URL": "http://localhost:1234/v1",
"LMSTUDIO_MODEL": "my-model-id"
}
}
}
}ツール
lmstudio_chat
パラメータ | 型 | 必須 | 説明 |
| string | はい | 送信するユーザーメッセージ / プロンプト |
| string | いいえ | システムメッセージとして先頭に付加されるオプションのシステム指示 |
| string | いいえ | 使用するモデルID(デフォルトを上書き) |
| number | いいえ | サンプリング温度 0〜2(デフォルト0.7) |
| number | いいえ | 生成する最大トークン数 |
| array | いいえ | 完全な会話履歴。 |
lmstudio_list_models
パラメータはありません。LM Studioサーバーで利用可能なすべてのモデルのIDを返します。
ライセンス
MIT — LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables listing, loading, unloading, and configuring models in LM Studio via MCP tools, with support for TTL and draft model settings.5MIT
- FlicenseCqualityDmaintenanceEnables MCP clients to interact with local LLMs via LM Studio, supporting dynamic chat, vision, RAG, file interaction, and model orchestration.28
- AlicenseAqualityBmaintenanceExposes local Flowise chatflows as MCP tools, enabling listing and running chatflows from any MCP client.237MIT
- FlicenseAqualityCmaintenanceMCP server that connects LLM agents to a local LM Studio instance, enabling model management, OpenAI-compatible chat completions, text completions, and embeddings through a set of tools.91
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Free OpenAI-compatible inference with signed provenance receipts and 3 focused MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/developersorli/mcp-file-system-lmstudio'
If you have feedback or need assistance with the MCP directory API, please join our Discord server