Documentation
Running LLMs Locally
Integrations
Model Context Protocol (MCP)
API
User Interface
Running LLMs Locally
Integrations
Model Context Protocol (MCP)
API
User Interface
Add to LM Studio
Button
You can install MCP servers in LM Studio with one click using a deeplink.
Starting with version 0.3.17 (10), LM Studio can act as an MCP host. Learn more about it here.
Enter your MCP JSON entry to generate a deeplink for the Add to LM Studio
button.
Click on the button to copy the Markdown to clipboard.
Try to copy and paste the following into the link generator above.
{ "hf-mcp-server": { "url": "https://huggingface.co/mcp", "headers": { "Authorization": "Bearer <YOUR_HF_TOKEN>" } } }
lmstudio://add-mcp?name=hf-mcp-server&config=eyJ1cmwiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8WU9VUl9IRl9UT0tFTj4ifX0%3D
lmstudio:// : protocol
The protocol scheme to open LM Studio
add-mcp : path
The action to install an MCP server
name : query parameter
The name of the MCP server to install
config : query parameter
Base64 encoded JSON configuration for the MCP server
On this page
Generate your own MCP install link
Try an example
Deeplink format
- Parameters