You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: quickstart/user.mdx
+63-14Lines changed: 63 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
-
title: "For Claude Users"
3
-
description: "Get started using pre-built servers in Claude for Desktop to experience the power of MCP."
2
+
title: "For Claude Desktop Users"
3
+
description: "Get started using pre-built servers in Claude for Desktop."
4
4
---
5
5
6
-
In this tutorial, you will extend Claude for Desktop so that it can read from your computer's file system, write new files, move files, and even search files.
6
+
In this tutorial, you will extend [Claude for Desktop](https://claude.ai/download) so that it can read from your computer's file system, write new files, move files, and even search files.
7
7
8
8
<Frame>
9
9
<imgsrc="/images/quickstart-filesystem.png" />
@@ -39,9 +39,15 @@ Click on "Developer" in the lefthand bar of the Settings pane, and then click on
39
39
<imgsrc="/images/quickstart-developer.png" />
40
40
</Frame>
41
41
42
-
This will create a configuration file at `~/Library/Application Support/Claude/claude_desktop_config.json` if you don't already have one, and will display the file in your file system.
Open up the configuration file in any text editor (e.g. [VS Code](https://code.visualstudio.com/)). Replace the file contents with this:
46
+
if you don't already have one, and will display the file in your file system.
47
+
48
+
Open up the configuration file in any text editor. Replace the file contents with this:
49
+
<Tabs>
50
+
<Tabtitle="MacOS/Linux">
45
51
```json
46
52
{
47
53
"mcpServers": {
@@ -57,17 +63,40 @@ Open up the configuration file in any text editor (e.g. [VS Code](https://code.v
57
63
}
58
64
}
59
65
```
66
+
</Tab>
67
+
<Tabtitle="Windows">
68
+
```json
69
+
{
70
+
"mcpServers": {
71
+
"filesystem": {
72
+
"command": "npx",
73
+
"args": [
74
+
"-y",
75
+
"@modelcontextprotocol/server-filesystem",
76
+
"C:\\Users\\username\\Desktop",
77
+
"C:\\Users\\username\\Downloads"
78
+
]
79
+
}
80
+
}
81
+
}
82
+
```
83
+
</Tab>
84
+
</Tabs>
60
85
61
86
Make sure to replace `username` with your computer's username. The paths should point to valid directories that you want Claude to be able to access and modify. It's set up to work for Desktop and Downloads, but you can add more paths as well.
62
87
63
-
You will also need Node.js on your computer for this to run properly. In the command line of your computer, verify you have Node installed:
88
+
You will also need [Node.js](https://nodejs.org) on your computer for this to run properly. To verify you have Node installed, open the command line on your computer.
89
+
- On macOS, open the Terminal from your Applications folder
90
+
- On Windows, press Windows + R, type "cmd", and press Enter
91
+
92
+
Once in the command line, verify you have Node installed by entering in the following command:
64
93
```bash
65
94
node --version
66
95
```
67
-
If needed, download Node from [nodejs.org](https://nodejs.org/).
96
+
If you get an error saying "command not found" or "node is not recognized", download Node from [nodejs.org](https://nodejs.org/).
68
97
69
98
<Tip>
70
-
**How does this work?**
99
+
**How does the configuration file work?**
71
100
72
101
This configuration file tells Claude for Dekstop which MCP servers to start up every time you start the application. In this case, we have added one server called "filesystem" that will use the Node `npx` command to install and run `@modelcontextprotocol/server-filesystem`. This server, described [here](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem), will let you access your file system in Claude for Desktop.
73
102
</Tip>
@@ -113,21 +142,41 @@ As needed, Claude will call the relevant tools and seek your approval before tak
113
142
3. Make sure the file paths included in `claude_desktop_config.json` are valid and that they are absolute and not relative
114
143
4. Look at [logs](#getting-logs-from-claude-for-desktop) to see why the server is not connecting
115
144
5. In your command line, try manually running the server (replacing `username` as you did in `claude_desktop_config.json`) to see if you get any errors:
0 commit comments