LM Studio MCP Server
by portertech
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LMSTUDIO_HOST | No | LM Studio host | 127.0.0.1 |
| LMSTUDIO_PORT | No | LM Studio port | 1234 |
| LMSTUDIO_BASE_URL | No | Full WebSocket URL for LM Studio (used if set, otherwise derived from HOST and PORT) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| health_checkA | Check connectivity to LM Studio server |
| list_modelsA | List all downloaded LLM models available in LM Studio |
| list_loaded_modelsA | List all currently loaded LLM models in LM Studio |
| load_modelB | Load a model into memory in LM Studio |
| unload_modelB | Unload a model from memory in LM Studio |
| get_model_infoA | Get detailed information about a specific loaded model in LM Studio |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/portertech/lm-studio-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server