How to install Model Context Protocol in Claude Desktop
To install Model Context Protocol in Claude Desktop, open Settings, Developer, Edit Config, paste the "model-context-protocol" block into mcpServers in claude_desktop_config.json, and restart the app.
Built from the published package · server updated yesterday
- 1
Open the config file
In Claude Desktop, go to Settings, then Developer, then Edit Config.
- 2
Add the server
Paste this into the file. If you already have servers, add the "model-context-protocol" entry inside your existing mcpServers block.
{ "mcpServers": { "model-context-protocol": { "command": "npx", "args": [ "-y", "@lotwhite/model-context-protocol" ] } } } - 3
Restart Claude Desktop
Quit the app fully and open it again. The server appears under the tools icon in a new chat.
Config file: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
MCP servers run with your permissions. If Model Context Protocol needs an API key, add it under env in the config. Check its README.
Install Model Context Protocol in another app
Similar servers
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.
Standalone Model Context Protocol client for pi and other applications
Questions
Does Model Context Protocol work in Claude Desktop?
Yes. Claude Desktop supports local mcp servers through a config file, remote servers as connectors, and Model Context Protocol installs with the steps above.
Model Context Protocol does not show up in Claude Desktop. What now?
Restart Claude Desktop fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Model Context Protocol safe?
It scores 94 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
