Skip to main content
Glama
developersorli

mcp-file-system-lmstudio

mcp-file-system-lmstudio

Ein Model Context Protocol (MCP)-Server, der ein lokales LM Studio-Modell als Tools bereitstellt. Er spricht mit der OpenAI-kompatiblen API von LM Studio, sodass jedes in LM Studio geladene Modell von einem MCP-Client abgefragt werden kann.

Funktionen

  • lmstudio_chat — sendet einen Prompt (oder einen vollständigen Multi-Turn-Nachrichtenverlauf) an das lokale Modell und gibt dessen Antwort zurück

  • lmstudio_list_models — listet alle derzeit auf dem LM Studio-Server verfügbaren Modelle auf

  • Keine API-Schlüssel erforderlich — alles läuft lokal mit Ihrer eigenen LM Studio-Instanz

Related MCP server: LM Studio MCP Bridge

Voraussetzungen

  • Node.js >= 18 (verwendet integriertes fetch)

  • Ein laufender LM Studio-Server mit mindestens einem geladenen Modell

Starten Sie den LM Studio-Server über seine Benutzeroberfläche (Developer-Tab → Start Server). Standardmäßig lauscht er auf http://localhost:1234.

Installation

git clone https://github.com/developersorli/mcp-file-system-lmstudio.git
cd mcp-file-system-lmstudio
npm install

Konfiguration

Der Server liest zwei optionale Umgebungsvariablen aus:

Variable

Default

Beschreibung

LMSTUDIO_BASE_URL

http://localhost:1234/v1

Basis-URL der OpenAI-kompatiblen API von LM Studio

LMSTUDIO_MODEL

(auto)

Standardmodell-ID. Wenn nicht gesetzt, wird das erste verfügbare Modell verwendet

MCP-Client-Konfiguration

Beispiel für Clients im Stil von 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"
      }
    }
  }
}

Tools

lmstudio_chat

Parameter

Typ

Erforderlich

Beschreibung

prompt

string

ja

Die zu sendende Benutzernachricht / der zu sendende Prompt

system

string

nein

Optionale Systemanweisung, die als Systemnachricht vorangestellt wird

model

string

nein

Zu verwendende Modell-ID (überschreibt die Standardeinstellung)

temperature

number

nein

Sampling-Temperatur 0–2 (Standard 0.7)

max_tokens

number

nein

Maximale Anzahl zu generierender Tokens

messages

array

nein

Vollständiger Konversationsverlauf; hat Vorrang vor prompt/system

lmstudio_list_models

Keine Parameter. Gibt die IDs aller auf dem LM Studio-Server verfügbaren Modelle zurück.

Lizenz

MIT — siehe 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