MCP.so
登录

LMStudio MCP Server

@infinitimeless

基本信息

分类

AI 与智能体

许可证

MIT

传输方式

stdio

作者

infinitimeless

关于 LMStudio MCP Server

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

LMStudio MCP Server 配置

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

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

LMStudio MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

Where does LMStudio-MCP process data?

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

3

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 服务器