lm-studio-mcp-server
Verified Safeby portertech
Overview
Provides AI assistants with remote control over LM Studio models, enabling management actions like listing, loading, and unloading models through the LM Studio API.
Installation
npx @portertech/lm-studio-mcp-serverEnvironment Variables
- LMSTUDIO_BASE_URL
- LMSTUDIO_HOST
- LMSTUDIO_PORT
Security Notes
The server employs robust practices including input validation via Zod schemas, consistent error handling with a `safeToolHandler` wrapper to prevent unhandled exceptions, and configurable LM Studio connection details through environment variables rather than hardcoded secrets. It utilizes established SDKs (`@lmstudio/sdk`, `@modelcontextprotocol/sdk`). Logs from the LM Studio SDK are correctly routed to stderr to maintain protocol-safe stdout. No direct `eval` or similarly dangerous patterns executing arbitrary user input were identified.
Similar Servers
unity-mcp
Enables AI assistants (LLMs) to control and automate tasks within the Unity Game Engine Editor through the Model Context Protocol (MCP).
aws-mcp-server
The AWS MCP Server allows AI assistants to execute AWS CLI commands and access AWS environment context, providing a powerful interface for cloud management and automation.
PowerBI-Desktop-MCP
Enables AI assistants to programmatically interact with Power BI Desktop models for data exploration, analysis, and modification.
agentx
A unified CLI tool for managing MCP (Model Context Protocol) servers and skills across multiple AI coding agents like Claude Code, Codex, Cursor, Gemini CLI, and OpenCode.