📦 What is MCP and why does Claude need it?
MCP (Model Context Protocol) is a way for Claude to interact directly with resources on your computer.
✅ Read and edit files
✅ Automate tasks through CLI
✅ Receive data from local directories
✅ Make the interaction with Claude much deeper and more flexible
🛠 Setting up the MCP server in Claude Desktop
📁 Step 1. Find the configuration file
On macOS, the file is usually located at the path:
~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:
C:\Users\<Имя>\AppData\Roaming\Claude\claude_desktop_config.jsonIf the file does not exist, create it.
🧾 Step 2. Add the MCP configuration
Example configuration for connection file system:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"C:\\Users\\Mirage\\Desktop",
"C:\\Users\\Mirage\\Downloads"
]
}
}
}🔄 Step 3. Restart Claude
Save the file and restart Claude Desktop. When you first use it, Claude will ask for permission to use the MCP.
💬 How to use MCP in the chat
Now you can write commands directly in the chat:
Task | Team in Claude |
|---|---|
📄 Create file | Create a file "Notes.txt" in "Documents" |
🔍 Find files | Find all ".docx" in the "Work" folder |
📖 Read file | Show the contents of "To-do list.txt" |
✅ Performance check
Try:
Создай файл "test.txt" на рабочем столе с текстом "Greetings from Claude!"🧩 Where will it come in handy?
Development and testing of local projects
Interaction with code and configuration directly from Claude
Automation of routine tasks
Creating your own plugins and workspaces
🧠 Tip from Kodik
Do you want to master working with files, programming and automation? 📱 Check out the app Code - we teach programming from scratch in a convenient format!
