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.mdx
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ In this tutorial, we'll build a simple MCP weather server and connect it to a ho
9
9
10
10
Many LLMs (including Claude) do not currently have the ability to fetch the forecast and severe weather alerts. Let's use MCP to solve that!
11
11
12
-
We'll build a server that exposes two tools: `get-alerts` and `get-forecast`. Then we'll connect the server to an MCP host (in this case, Claude Desktop):
12
+
We'll build a server that exposes two tools: `get-alerts` and `get-forecast`. Then we'll connect the server to an MCP host (in this case, Claude for Desktop):
13
13
14
14
<Frame>
15
15
<imgsrc="/images/weather-alerts.png" />
@@ -19,10 +19,10 @@ We'll build a server that exposes two tools: `get-alerts` and `get-forecast`. Th
19
19
</Frame>
20
20
21
21
<Note>
22
-
Servers can connect to any host. We've chosen Claude desktop here for simplicity, but we also have guides on [building your own client](/tutorials/building-a-client)
22
+
Servers can connect to any client. We've chosen Claude desktop here for simplicity, but we also have guides on [building your own client](/tutorials/building-a-client)
23
23
</Note>
24
24
25
-
<Accordiontitle="Why Claude Desktop and not Claude.ai?">
25
+
<Accordiontitle="Why Claude for Desktop and not Claude.ai?">
26
26
Because servers are locally run, MCP currently only supports desktop hosts. Remote hosts are in active development.
27
27
</Accordion>
28
28
@@ -398,12 +398,12 @@ Let's now test your server from an existing MCP host, Claude for Desktop.
398
398
## Testing your server with Claude for Desktop
399
399
400
400
<Note>
401
-
Unfortunately, Claude for Desktop is not yet available on Linux. Linux users can proceed to the [Building a client](/tutorials/building-a-client) tutorial for a workaround.
401
+
Claude for Desktop is not yet available on Linux. Linux users can proceed to the [Building a client](/tutorials/building-a-client) tutorial to build an MCP client that connects to the server we just built.
402
402
</Note>
403
403
404
404
First, make sure you have Claude for Desktop installed. [You can install the latest version here.](https://claude.ai/download)
405
405
406
-
Next, open your Claude Desktop App configuration at `~/Library/Application Support/Claude/claude_desktop_config.json` in a text editor.
406
+
Next, open your Claude for Desktop App configuration at `~/Library/Application Support/Claude/claude_desktop_config.json` in a text editor.
407
407
408
408
For example, if you have [VS Code](https://code.visualstudio.com/) installed:
409
409
@@ -432,7 +432,7 @@ Add this configuration (replace the parent folder path):
432
432
"command": "uv",
433
433
"args": [
434
434
"--directory",
435
-
"/PATH/TO/PARENT/FOLDER/weather",
435
+
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather",
436
436
"run",
437
437
"weather"
438
438
]
@@ -449,7 +449,7 @@ Add this configuration (replace the parent folder path):
449
449
"command": "uv",
450
450
"args": [
451
451
"--directory",
452
-
"C:\\PATH\TO\PARENT\FOLDER\weather",
452
+
"C:\\ABSOLUTE\PATH\TO\PARENT\FOLDER\weather",
453
453
"run",
454
454
"weather"
455
455
]
@@ -460,11 +460,11 @@ Add this configuration (replace the parent folder path):
460
460
</Tab>
461
461
</Tabs>
462
462
463
-
This tells Claude Desktop:
463
+
This tells Claude for Desktop:
464
464
1. There's an MCP server named "weather"
465
-
2. Launch it by running `uv --directory /PATH/TO/PARENT/FOLDER/weather run weather`
465
+
2. Launch it by running `uv --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather run weather`
466
466
467
-
Save the file, and restart **Claude Desktop**.
467
+
Save the file, and restart **Claude for Desktop**.
468
468
</Tab>
469
469
<Tabtitle="Node">
470
470
### Prerequisite knowledge
@@ -916,7 +916,7 @@ Unfortunately, Claude for Desktop is not yet available on Linux. Linux users can
916
916
917
917
First, make sure you have Claude for Desktop installed. [You can install the latest version here.](https://claude.ai/download)
918
918
919
-
Next, open your Claude Desktop App configuration at `~/Library/Application Support/Claude/claude_desktop_config.json` in a text editor.
919
+
Next, open your Claude for Desktop App configuration at `~/Library/Application Support/Claude/claude_desktop_config.json` in a text editor.
920
920
921
921
For example, if you have [VS Code](https://code.visualstudio.com/) installed:
922
922
@@ -945,7 +945,7 @@ Add this configuration (replace the parent folder path):
@@ -971,17 +971,17 @@ Add this configuration (replace the parent folder path):
971
971
</Tab>
972
972
</Tabs>
973
973
974
-
This tells Claude Desktop:
974
+
This tells Claude for Desktop:
975
975
1. There's an MCP server named "weather"
976
-
2. Launch it by running `node /PATH/TO/PARENT/FOLDER/weather/build/index.js`
976
+
2. Launch it by running `node /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js`
977
977
978
-
Save the file, and restart **Claude Desktop**.
978
+
Save the file, and restart **Claude for Desktop**.
979
979
</Tab>
980
980
</Tabs>
981
981
982
982
### Test with commands
983
983
984
-
First, make sure Claude Desktop is picking up the two tools we've exposed in our `weather` server. You can do this by looking for the hammer <imgsrc="/images/claude-desktop-mcp-hammer-icon.svg"style={{display: 'inline', margin: 0, height: '1.3em'}} /> icon:
984
+
First, make sure Claude for Desktop is picking up the two tools we've exposed in our `weather` server. You can do this by looking for the hammer <imgsrc="/images/claude-desktop-mcp-hammer-icon.svg"style={{display: 'inline', margin: 0, height: '1.3em'}} /> icon:
Copy file name to clipboardExpand all lines: tutorials/building-a-client.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -306,7 +306,7 @@ uv run client.py path/to/build/index.js # node server
306
306
```
307
307
308
308
<Note>
309
-
If you're continuing the weather tutorial from the quickstart, you might have to initialize the server with `uv --directory /PATH/TO/PARENT/weather run weather`
309
+
If you're continuing the weather tutorial from the quickstart, your command might look something like this: `python client.py .../weather/src/weather/server.py`
0 commit comments