MCP.so
登录

LMStudio-MCP

@infinitimeless

关于 LMStudio-MCP

A Model Control Protocol (MCP) server that allows Claude to communicate with locally running LLM models via LM Studio.

基本信息

分类

AI 与智能体

许可证

MIT

运行时

python

传输方式

stdio

发布者

infinitimeless

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "LMStudio-MCP": {
      "command": "python",
      "args": [
        "lmstudio_bridge.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is LMStudio-MCP?

LMStudio-MCP is a Model Context Protocol (MCP) server that bridges Claude with locally running LLM models via LM Studio. It is for developers who want to use private, offline AI models through Claude’s interface.

How to use LMStudio-MCP?

Install LMStudio-MCP via one-line script, manual Python setup, Docker, or Docker Compose. Configure it with environment variables for host/port, then add the appropriate MCP configuration to Claude. Start LM Studio with a loaded model, and Claude will be able to call the server’s tools.

Key features of LMStudio-MCP

  • Check LM Studio API health
  • List and identify loaded models
  • Generate chat and raw text completions
  • Create vector embeddings for semantic search
  • Maintain stateful multi-turn conversations
  • Start persistent sessions with a locked system prompt

Use cases of LMStudio-MCP

  • Private/offline inference without sending data to external APIs
  • Semantic search and RAG workflows via embeddings
  • Multi-turn conversational agents with persistent context
  • Local coding assistant with consistent behaviour
  • Privacy-first document analysis with accurate summarisation

FAQ from LMStudio-MCP

What are the dependencies for LMStudio-MCP?

Python 3.7+, a running LM Studio instance with a model loaded, MCP-compatible Claude client, and the requests, mcp[cli], and openai Python packages.

Where does LMStudio-MCP process data?

All inference happens locally on your machine via LM Studio; no data is sent to external services.

Are there any version requirements for certain tools?

create_response, start_conversation, and continue_conversation require LM Studio v0.3.29+. generate_embeddings requires an embedding-specific model (e.g., text-embedding-nomic-embed-text-v1.5).

评论

AI 与智能体 分类下的更多 MCP 服务器