Skip to main content
Glama
developersorli

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つのオプションの環境変数を読み取ります:

変数

デフォルト

説明

LMSTUDIO_BASE_URL

http://localhost:1234/v1

LM StudioのOpenAI互換APIのベースURL

LMSTUDIO_MODEL

(自動)

デフォルトのモデル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

パラメータ

必須

説明

prompt

string

はい

送信するユーザーメッセージ / プロンプト

system

string

いいえ

システムメッセージとして先頭に付加されるオプションのシステム指示

model

string

いいえ

使用するモデルID(デフォルトを上書き)

temperature

number

いいえ

サンプリング温度 0〜2(デフォルト0.7)

max_tokens

number

いいえ

生成する最大トークン数

messages

array

いいえ

完全な会話履歴。prompt/systemより優先されます

lmstudio_list_models

パラメータはありません。LM Studioサーバーで利用可能なすべてのモデルのIDを返します。

ライセンス

MIT — LICENSE を参照してください。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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