LMStudio-MCPServer

infinitimeless
GitHub
MCPLLMLocal Models

Loading subscription status...

💡 Description

A Model Control Protocol (MCP) server that allows Claude to communicate with locally running LLM models via LM Studio. It creates a bridge between Claude and your locally running LM Studio instance, enabling checking the health of the LM Studio API, listing available models, generating completions using local models, and more.

📝 JSON Entries

{
  "mcpServers": [
    {
      "lmstudio-mcp": {
        "args": [
          "https://github.com/infinitimeless/LMStudio-MCP"
        ],
        "command": "uvx"
      }
    },
    {
      "lmstudio-mcp": {
        "args": [
          "-c",
          "cd /path/to/LMStudio-MCP && source venv/bin/activate && python lmstudio_bridge.py"
        ],
        "command": "/bin/bash"
      }
    }
  ]
}

🛠️ Tools

MCPLM Studio

Features

  • Health check of the LM Studio API
  • List available models
  • Generate completions from local models

💬 Example Queries

  • Check the health of the LM Studio API
  • List available models in LM Studio
  • Generate text from your local model