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ücklmstudio_list_models— listet alle derzeit auf dem LM Studio-Server verfügbaren Modelle aufKeine API-Schlüssel erforderlich — alles läuft lokal mit Ihrer eigenen LM Studio-Instanz
Related MCP server: llmstudio-mcp
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 installKonfiguration
Der Server liest zwei optionale Umgebungsvariablen aus:
Variable | Default | Beschreibung |
|
| Basis-URL der OpenAI-kompatiblen API von LM Studio |
| (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 |
| string | ja | Die zu sendende Benutzernachricht / der zu sendende Prompt |
| string | nein | Optionale Systemanweisung, die als Systemnachricht vorangestellt wird |
| string | nein | Zu verwendende Modell-ID (überschreibt die Standardeinstellung) |
| number | nein | Sampling-Temperatur 0–2 (Standard 0.7) |
| number | nein | Maximale Anzahl zu generierender Tokens |
| array | nein | Vollständiger Konversationsverlauf; hat Vorrang vor |
lmstudio_list_models
Keine Parameter. Gibt die IDs aller auf dem LM Studio-Server verfügbaren Modelle zurück.
Lizenz
MIT — siehe LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables MCP clients to interact with local LLMs via LM Studio, supporting dynamic chat, vision, RAG, file interaction, and model orchestration.28MIT
- FlicenseAqualityDmaintenanceMCP 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-
- AlicenseNot gradedqualityBmaintenanceBridges LM Studio local models to Claude Code as MCP tools, enabling private and free AI-assisted subtasks. Includes respond and models tools with automatic model selection and structured output.MIT
- FlicenseAqualityBmaintenanceEnables MCP-compatible clients to use locally running LM Studio models as tools for sending prompts, listing available models, and checking server status. It automatically handles WSL2 networking and follows the currently loaded model without reconfiguration.3-