Skip to main content
Glama
portertech

LM Studio MCP Server

by portertech

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LMSTUDIO_HOSTNoLM Studio host127.0.0.1
LMSTUDIO_PORTNoLM Studio port1234
LMSTUDIO_BASE_URLNoFull WebSocket URL for LM Studio (used if set, otherwise derived from HOST and PORT)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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