mcp-file-system-lmstudio
mcp-file-system-lmstudio
Un servidor Model Context Protocol (MCP) que expone un modelo local de LM Studio como herramientas. Se comunica con la API compatible con OpenAI de LM Studio, por lo que cualquier modelo cargado en LM Studio puede ser consultado desde un cliente MCP.
Características
lmstudio_chat— envía un prompt (o un historial completo de mensajes de varios turnos) al modelo local y obtén su respuestalmstudio_list_models— lista todos los modelos actualmente disponibles en el servidor de LM StudioNo se requieren claves API — todo se ejecuta localmente contra tu propia instancia de LM Studio
Related MCP server: llmstudio-mcp
Requisitos
Node.js >= 18 (usa
fetchintegrado)Un servidor LM Studio en ejecución con al menos un modelo cargado
Inicia el servidor de LM Studio desde su interfaz (pestaña Developer → Start Server). Por defecto escucha en http://localhost:1234.
Instalación
git clone https://github.com/developersorli/mcp-file-system-lmstudio.git
cd mcp-file-system-lmstudio
npm installConfiguración
El servidor lee dos variables de entorno opcionales:
Variable | Default | Descripción |
|
| URL base de la API compatible con OpenAI de LM Studio |
| (auto) | ID de modelo predeterminado. Si no se establece, se usa el primer modelo disponible |
Configuración del cliente MCP
Ejemplo para clientes estilo 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"
}
}
}
}Herramientas
lmstudio_chat
Parámetro | Tipo | Requerido | Descripción |
| string | sí | El mensaje / prompt del usuario a enviar |
| string | no | Instrucción de sistema opcional antepuesta como mensaje de sistema |
| string | no | ID de modelo a usar (anula el predeterminado) |
| number | no | Temperatura de muestreo 0–2 (por defecto 0.7) |
| number | no | Máximo de tokens a generar |
| array | no | Historial completo de la conversación; tiene prioridad sobre |
lmstudio_list_models
Sin parámetros. Devuelve los IDs de todos los modelos disponibles en el servidor de LM Studio.
Licencia
MIT — consulta 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-