Model Context Protocol (MCP) is an open standard that lets AI models call external tools during a conversation. Instead of the model being limited to what it knows from training, MCP gives it the ability to take actions — browse the web, read files from your PC, or call custom APIs — and incorporate the results into its response. LMSA integrates with MCP natively through LM Studio.Documentation Index
Fetch the complete documentation index at: https://docs.lmsa.app/llms.txt
Use this file to discover all available pages before exploring further.
How MCP works in LMSA
When you connect LMSA to an LM Studio server that has MCP enabled, LMSA reads the available tool definitions from LM Studio and makes them available to the model during chat. When the model decides to use a tool, LM Studio executes the call and returns the result, which the model then incorporates into its reply. All of this happens automatically once you have the connection configured.Requirements
MCP is currently supported with LM Studio only. Ollama and OpenRouter connections do not support MCP tool calls. Ensure LM Studio has MCP enabled and your server is running before connecting LMSA.
- LM Studio installed on your PC with at least one model loaded
- MCP enabled inside LM Studio and at least one MCP server configured
- LMSA connected to LM Studio on the same network (see Connecting LM Studio)
Enabling MCP
Configure MCP in LM Studio
Open LM Studio on your PC. Navigate to its MCP settings and enable the MCP server. LM Studio supports loading tool definitions from a
mcp.json file, which lets you define custom tools, file system access, and other integrations.Start the LM Studio server
Make sure the LM Studio API server is running and your PC and phone are on the same Wi-Fi network.
Connect LMSA to LM Studio
Open Settings in LMSA, select LM Studio as your provider, and enter your server IP and port. LMSA detects the available MCP integrations automatically when it connects.
What MCP enables
With MCP configured in LM Studio, your AI can:- Search the web and return live results
- Read and summarize files from your PC’s file system
- Execute code or scripts and return the output
- Call custom APIs you define in your
mcp.jsonconfiguration - Interact with any other tool you add to your LM Studio MCP setup
For information on setting up and configuring MCP servers in LM Studio — including
mcp.json syntax and available tool types — refer to the official LM Studio documentation.